Hello
I have a radajaxmanager that I set a button to do an ajax update on a panel. The button is located in the panel (it needs to be since the enabled property changes during a certain state. The ajax is working for the button I specified, but is also working for all the controls in the panel. Here is an example:
and the panels code is:
When I click the btnRefreshGenerationStatus button, it will do a ajax update on all the controls. When I click the lnkDownloadPackage button, it also does an ajax update which I don't want. I don't want the other buttons in that panel to do a ajax update.
Where am I doing wrong here?
Thanks
Kevin
I have a radajaxmanager that I set a button to do an ajax update on a panel. The button is located in the panel (it needs to be since the enabled property changes during a certain state. The ajax is working for the button I specified, but is also working for all the controls in the panel. Here is an example:
| <rad:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| <AjaxSettings> |
| <rad:AjaxSetting AjaxControlID="btnRefreshGenerationStatus"> |
| <UpdatedControls> |
| <rad:AjaxUpdatedControl ControlID="pnlGeneratePackage" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| </UpdatedControls> |
| </rad:AjaxSetting> |
| </AjaxSettings> |
| </rad:RadAjaxManager> |
| <rad:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" style="margin-top: 57px;" Transparency="30"> |
| <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border:0;" /> |
| </rad:RadAjaxLoadingPanel> |
and the panels code is:
| <asp:Panel ID="pnlGeneratePackage" runat="server"> |
| <asp:Button ID="btnGeneratePackage" runat="server" Text="Generate Package" SkinID="ButtonLarge" /> |
| <asp:CheckBox ID="chkGenerateIndex" runat="server" Text="Generate Index" /> |
| <br /> |
| <asp:Literal ID="litGeneratePackageStatus" runat="server" Text="Status: " /> |
| <asp:Label ID="lblGeneratePackageStatus" runat="server" /> |
| <asp:Button ID="btnRefreshGenerationStatus" runat="server" Text="Refresh Package Generation" SkinID="ButtonLarge" /> |
| <br /> |
| <br /> |
| <asp:Button ID="lnkDownloadPackage" runat="server" Text="Download Package" Visible="false" /> |
| </asp:Panel> |
When I click the btnRefreshGenerationStatus button, it will do a ajax update on all the controls. When I click the lnkDownloadPackage button, it also does an ajax update which I don't want. I don't want the other buttons in that panel to do a ajax update.
Where am I doing wrong here?
Thanks
Kevin