Hi,
Following code does not work with Q2 2008:
code behind:
inside page load -
btnUpdate.Attributes.Add("onClick", "return validate('save');")
btnLoadGrid.Attributes.Add("onClick", "return validate('loadgrid');")
txtNoOfRows.Attributes.Add("onkeyup", "return EnableDisableBttns();")
<telerik:RadAjaxManager ID="AjaxMgr" runat="server" UpdatePanelsRenderMode="inline">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnLoadGrid">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="dgrdSeed" />
<telerik:AjaxUpdatedControl ControlID="rcb" />
<telerik:AjaxUpdatedControl ControlID="btnUpdate" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="dgrdSeed">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="dgrdSeed" />
<telerik:AjaxUpdatedControl ControlID="txtNoOfRows" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnCancel">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rsb" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnUpdate">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="lblErr" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
What happens is:
1) javascript function gets called but corresponding click event on code behind of buttons is not firing on returning true which was working fine with Q2 2007. I tried using radcodeblock, radscriptblock.
2) validation controls does not fire expected.
Any help please.
Thanks,
Vaibhav
Following code does not work with Q2 2008:
code behind:
inside page load -
btnUpdate.Attributes.Add("onClick", "return validate('save');")
btnLoadGrid.Attributes.Add("onClick", "return validate('loadgrid');")
txtNoOfRows.Attributes.Add("onkeyup", "return EnableDisableBttns();")
<telerik:RadAjaxManager ID="AjaxMgr" runat="server" UpdatePanelsRenderMode="inline">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnLoadGrid">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="dgrdSeed" />
<telerik:AjaxUpdatedControl ControlID="rcb" />
<telerik:AjaxUpdatedControl ControlID="btnUpdate" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="dgrdSeed">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="dgrdSeed" />
<telerik:AjaxUpdatedControl ControlID="txtNoOfRows" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnCancel">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rsb" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnUpdate">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="lblErr" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
What happens is:
1) javascript function gets called but corresponding click event on code behind of buttons is not firing on returning true which was working fine with Q2 2007. I tried using radcodeblock, radscriptblock.
2) validation controls does not fire expected.
Any help please.
Thanks,
Vaibhav