Skip Navigation LinksHome > Categories > Code from a Category

Asp.net Post Zoho CRM Unsubscribe Form Dynamically in Asp.net Page



User Name: jamest85
Name: James Tang
Contact Me: www.datawebcoder.com/ContactUs.aspx
Home Page: www.datawebcoder.com
Google Apps for Work Partner, Certified Zoho CRM Consultant. 7 years experience on Zoho consulting, implementation, and programming using C#, VB, Php..., 15 years of total IT experience including prog... [More]
Viewed Times: 2936
Add Date: 11/04/2011
Since asp.net page can only allow one Form, if you want to add another form for any reason, then you will run into an error. however if you really want to add another form to submit (post) the data in that, we can generate a dynamic form to achieve that.
1. For example I have a Unsubscribe Form here, this page has a master page, we add two controls in the master page first:
Note: if you add above Literals in UnsubscribeMe page, it just won't work, because you are putting a form in another form.

2. In UnsubscribeMe.aspx form Here is the code for the function: _GetFormPostJS(String strFormId)


3. Conclusion:
This dynamic form will take in action when "unsubscribeMe" button is clicked and posts back to client side
I have used this same way for posting simple paypal order online as well.

Post a Comment

Name: (Optional)
Email: (Optional, you can get an email if somebody replys your comments)*
Email me if somebody respons my comment below:
Details**:
Enter Text
as Below:
(case insensitive, if hard to read, click the "get a new one" button)
 
    
* Your email address will not be shared with any third parties for any reason.
** Maximum 1000 charactors.