Reputation: 154
In My webApplication, i have load more than 2 userControls (.ascx) using Jquery Ajax. after loading the controls when postback happen on any button event i Receive this error.
"Microsoft JScript runtime error: Unable to get value of the property 'onsubmit': object is null or undefined" Please suggest some ideas!
Upvotes: 0
Views: 225
Reputation: 1621
I think you can use web handlers instead of ajax user control, most of events in the page you can make it using web handlers to Dispense the cost of post back see here tutorial
Upvotes: 2