Button Click Event Dosen't work inside TabContainer
-
Hi, I have a TabContainer on my page that has 4 TabPanel, i've placed in each TabPanel a button with a click event, but only in the first TabPanel the event is fired. Note, also if i placed a button outside the TabPanel the event isn't working. Can someone please help me? 10x
-
Hi, I have a TabContainer on my page that has 4 TabPanel, i've placed in each TabPanel a button with a click event, but only in the first TabPanel the event is fired. Note, also if i placed a button outside the TabPanel the event isn't working. Can someone please help me? 10x
-
Solved!!! I had a RequiredFieldValidator at the first tab and when i pressed a button inside a diffrent tab the code-
if (!Page.IsValid)
return;stopped the event. To solved it i needed to give a validationGroup to the button in the first tab. :doh:
You can also view one of my Article Exploring ASP.NET Validators on ASP.NET validators. Hope you will like it.
Cheers!! Brij My Blog:http://brijbhushan.wordpress.com
Check my latest Article :ViewState - Various ways to reduce performance overhead