Hi,
We are trying to update one grid and user control by radbutton which is ajaxfied.Please find my code below.
Button :
=========
User control :This control will be called and updated in button btnResumeSuspend_Click event.
=====================================================================================
btnResumeSuspend_Click event:
================================
Ajax code:
=========
manager.AjaxSettings.AddAjaxSetting(btnResumeSuspend, lblMessageUserControl);
Here , after button click event, the lblMessageUserControl is not updated and not showing the message.
Please reply as soon as early
Thanks,
Priya
We are trying to update one grid and user control by radbutton which is ajaxfied.Please find my code below.
Button :
=========
<telerik:RadButton ID="btnResumeSuspend" runat="server" OnClick="btnResumeSuspend_Click">
</telerik:RadButton>
User control :This control will be called and updated in button btnResumeSuspend_Click event.
=====================================================================================
<
NISP:MessageControl ID="lblMessageUserControl" runat="server" EnableViewState="true" />
btnResumeSuspend_Click event:
================================
lblMessageUserControl.DisplayMessage(
false, "Test");
Ajax code:
=========
RadAjaxManager manager = RadAjaxManager.GetCurrent(Page);
manager.AjaxSettings.AddAjaxSetting(manager, btnResumeSuspend);
manager.AjaxSettings.AddAjaxSetting(btnResumeSuspend, lblMessageUserControl);
Here , after button click event, the lblMessageUserControl is not updated and not showing the message.
Please reply as soon as early
Thanks,
Priya