I have RadWindow that opens up a popup modal dialog from a button and a button in a Radgrid on a given page. It behaves so incosistent.Sometimes one of those buttons bring up the modal. When i hit other button that brings up the same modal ,it does not show up. Then the modal popup stops functioning from any button click. I use Rad ASP Net Ajax Q2 2008. I am brand new to this. I am really bugged by this behaviour.
The code snippet on my page is
<!--Telerik Control for CreateNew.. Telerik Modal window -->
<telerik:radwindow ID="ModalPopup" runat="server" Behavior="None"
ClientCallBackFunction="RefreshList()" Height="600px" Modal="True"
Width="800px"
NavigateUrl="~/shared/PopupDialog.aspx?uc=~/Usercontrols/ProgramTypeMaint.ascx"
OpenerElementID="<%# btnAdd.ClientID %>" VisibleStatusbar="False"
VisibleTitlebar="False" KeepInScreenBounds="True" Overlay="True"
Skin="Vista"></telerik:radwindow>
This works sometimes and does not popup modal sometimes.
The grid is
<!-- List Display --->
<asp:Panel runat="server" ID="ResultPnl">
<asp:UpdatePanel runat="server" ID="ListPnl">
<ContentTemplate>
<telerik:RadGrid ID="grdProgramTypes" runat="server" AllowPaging="true"
AutoGenerateColumns="false" EnableEmbeddedSkins="false" GridLines="None"
Skin="Trizetto" ImagesPath="~/images/RadControls/Grid" Height="100%"
Width="100%" AllowSorting="true" Visible="false"
OnItemDataBound="grdProgramTypes_ItemDataBound" PageSize="10"
onneeddatasource="grdProgramTypes_NeedDataSource" >
<ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true">
<Selecting AllowRowSelect="false" />
</ClientSettings>
<MasterTableView>
<RowIndicatorColumn>
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<Columns>
<tzg:LocalizableGridBoundColumn ID="Name" HeaderText="Desc" HeaderButtonType="TextButton" DataField="Description"> </tzg:LocalizableGridBoundColumn>
<telerik:GridTemplateColumn HeaderText="Actions" HeaderButtonType="TextButton" UniqueName="Action">
<ItemTemplate>
<asp:ImageButton ID="btnModify" ImageUrl="~/images/editdoc16.gif" runat="server" ToolTip="Click here to edit this record" />
<asp:ImageButton ID="btnDelete" ImageUrl="~/images/delete.gif" runat="server" ToolTip="Click here to delete this record" />
</ItemTemplate>
<ItemStyle Width="40px" />
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
The btn modify also opens up the modal. It is also inconsistent in its behaviour. Looking for some insights asap
Thanks
Geetha