floydspring
New Member
I made it work but I want to know why it is happening) So I have my rad window:\[code\]<telerik:RadWindowManager ID="wndManager" runat="server"> <Windows> <telerik:RadWindow ID="rwShippingAddressEdit" runat="server" Modal="True" VisibleStatusbar="False" VisibleOnPageLoad="false" ShowContentDuringLoad="false"> <ContentTemplate> //content </ContentTemplate> </telerik:RadWindow> </Windows> </telerik:RadWindowManager>\[/code\]And I have my button to open it:\[code\] <telerik:RadButton ID="" Width="90" CssClass="button-next" runat="server" ID="btnOpen" OnClientClicking="windowOpen" Text="Open" /> function windowOpen(sender, args) { var oManager = GetRadWindowManager(); oManager.open(null, "rwShippingAddressEdit"); args.set_cancel(true); }\[/code\]This code shows regular default blank window but on another page the same code works perfectly fine and opens window with my content.In order to make it work I added this code to page_load event\[code\]rwShippingAddressEdit.OpenerElementID = btnOpen.ClientID;\[/code\]And now when I press \[code\]btnOpen\[/code\] it opens two windows (blank one and window with content).Both pages inherit same master page, I do not work with rad window in code behind. But somehow same code works different on pages pages. What can the problem be?It's not about validators. I tried \[code\]CausesValidation="False"\[/code\] for \[code\]btnOpen\[/code\].So, if you have any ideas I would be glad to hear)