I have a single radwindow. It is all time not visible and I open it for delete confirm via javascript:
Issue is: If I close radwindow via javascript all runs fine, but, if I close window via 'post' CSS is lost.
Also CSS is lost when I postback on close:
<telerik:RadButton ID="rbConfirm_Cancel" Text="Cancel" runat="server" Skin="Web20" OnClientClicked="CloseDialog" AutoPostBack="true" />
What is wrong?
function OpenDialog(button) {var RadWindow = $find("<%=RadWindowConfirmDelete.ClientID%>");RadWindow.show();}Issue is: If I close radwindow via javascript all runs fine, but, if I close window via 'post' CSS is lost.
<telerik:radwindow runat="server" id="RadWindowConfirmDelete" Behaviors="None" Skin="Web20" EnableViewState="False" VisibleOnPageLoad="false" > <ContentTemplate> <div style="float: left; margin: 10px 0px 0px 30px;" > <div > <telerik:RadBinaryImage ID="RadBinaryImageDelete24" runat="server" ImageUrl="~/Images/delete24.png" Height="24px" style="vertical-align:bottom;"> </telerik:RadBinaryImage> <asp:Label Font-Bold="true" ID="lbl_confirmar" Text="Confirma esborrat de línia de conciliació" runat="server" /> </div> <br /> <asp:Label Font-Italic="true" Id="lbl_confirm_item_text" Text="" runat="server" /> <br /> <telerik:RadButton ID="rbConfirm_OK" Text="Delete" runat="server" Skin="Web20" OnClick="rbConfirm_OK_Click" /> <asp:Label runat="server" ID="sep_butons_confirm_delete" Text ="" Width ="20px"></asp:Label> <telerik:RadButton ID="rbConfirm_Cancel" Text="Cancel" runat="server" Skin="Web20" OnClientClicked="CloseDialog" AutoPostBack="false" /> </div> </ContentTemplate></telerik:radwindow>Also CSS is lost when I postback on close:
<telerik:RadButton ID="rbConfirm_Cancel" Text="Cancel" runat="server" Skin="Web20" OnClientClicked="CloseDialog" AutoPostBack="true" />
What is wrong?