Hi,
Following is my code.
--------------------------------
Following is my code.
--------------------------------
<telerik:RadAjaxManagerProxy ID="rdAjaxMgrProxy" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnSearch">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rgvUserData" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy><asp:Button ID="btnSearch" runat="server" Text="Search" OnClientClick="return true;" />
------------------
And in code behind, I have a function which I want to run when button is clicked.
Now when I click the button, server side code doesn't run.
it runs if I
1. Remove OnClientClick event from Button control
or
2. Remove btnSearch from RadAjaxManagerProxy block.
I can't do either because I need both the things. I want to validate my page when button is clicked by client JavaScript.
And I want my grid to be updated by Ajax once validation is complete.
Regards,
John