Please do this an you will save yourself a ton of wasted time and unnecessary use of the FindControl code.
One other thing to remember is that ASP.NET is a validated language, and expects all elements to have some kind of processing. So remember that when you add your ASP.NET button to your page, you must include the following attributes for it to work. runat, id and CausesValidation.
So your new asp.net button would look like
Remember this simple rule and you should have no more button problems.
"ALWAYS ADD CAUSESVALIDATION TO YOUR ASP.NET BUTTON" even if it is set to false.
5 comments:
Its highly informative. I would be visiting your blog hereafter regularly to gather valuable information.
Great post and very well written, that will really help you to learn Web Design, web development and SEO Strategies to help businesses web design company . You can find out many useful information about web design, seo and his work by visiting his blog and I Just wanna say thanks you for the information you have shared. Web Design Company India
thanks for sharing a nice post!!!!
Newbrandmedia is unique because we organize online campaigns that transcend the web and enter the offline world so as to generate leads and sales for our clients. We value each client and ensure the best for each of them.
Thanks for sharing such huge content keep posting further....
android application development services in Chennai
Mobile Application Development Services in Chennai
Post a Comment