Webform_dopostbackwithoptions vs _ dopostback

Source: Internet
Author: User

Had an issue with webform_dopostbackwithoptions vs _ dopostback. webform_dopostbackwithoptions started showing up on a page and not showing up on other. Net pages. It was a pain my butt! Because webform_dopostbackwithoptions wasn't working, all my linkbutton had this JavaScript function rendered and none of the events were firing!
So after looking around I found out that I had some panels that were hidden on the page. and in one of those panels, I have a validation control, if a validation control is "hidden" on the page (the Panel's visibility is set to false and later made visible) then. net adds webform_dopostbackwithoptions to the button controls and thus does not work.
To fix this I had to change the linkbuttons that were not hidden to cause validation to false. (causevalidation = false). Once I did that, it work! What a pain in the butt!

 

Address: http://www.timmaxey.net/archive/2009/03/01/webform_dopostbackwithoptions-vs-__dopostback.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.