Categories | Question details Back To List | ||
asp.net button attached to dhtmlxwindow Hi, I have the following Div section <div id="form" style="width: 300px; height: 100px;" > <asp:RadioButtonList ID="RadioButtonList1" runat="server"> <asp:ListItem Value="0">Ajouter au dossier selectionné</asp:ListItem> <asp:ListItem Value="1">Ajouter comme Dossier Racine</asp:ListItem> </asp:RadioButtonList><br /> Nom du dossier<br /> <asp:TextBox ID="foldername" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Ajouter" /><br /> <asp:HiddenField ID="nodeID" Value="1234" runat="server" /> </div> While it's not attached i can click the button and it launches a function but if I attach it to a window, then if i click the button, nothing happens. Do you know what is to change? Regards, Yoann Answer posted by Support on Sep 11, 2009 05:37 >>but if I attach it to a window How is the code attached to a window? Are you using attachURL to load content in window, or any other method? Answer posted by Yoann Maingon on Sep 11, 2009 09:47 It was a simple attach() method. As a workaround i created a new asp file with the elements i wanted to attach and i used the attachURL method. So i can send data to the windows with the GET method but i don't know how i could send it back to the main page? I guess i red the answer somewhere on the KB. Should be something like top.document.+..the object name etc... Answer posted by Alex (support) on Sep 15, 2009 07:36 >> I guess i red the answer somewhere on the KB. Should be something like top.document.+..the object name etc... Yes, you're right. You can use parent.document.getElementById(...).name = "..."; approach. |