Click here to Skip to main content
15,917,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<Rad:RadButton ID="Ok" runat="server" Text="Submit" Style="display: block;"   ValidationGroup="Name1"  OnClick="Ok_Click" CausesValidation="false"  />

                             <Rad:RadButton ID="Update" runat="server" Text="Update" Style="display: none;"  ValidationGroup="Name1" OnClick="Update_Click" />


In the above code i am having two button controls with validationgroup whenever i am clicking ok onclick button .The onclick event is not firing.
Posted
Comments
Prasad Khandekar 9-Apr-13 4:04am    
Hello Sreedhar,

Do you mean to say that the Update_Click server side handler is not getting called? Have you tried setting the AutoPostBack property to true?

Regards,
Chinmaya C 9-Apr-13 4:25am    
You have specified ValidationGroup="Name1". So please check if any client validation fails.
vaibhav10Dec1987 12-Apr-13 6:27am    
Use property autopostback="true".

1 solution

try this:


1) AutoPostback="true"
2) check whether validation is failed,
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900