asp.net button attached to dhtmlxwindow

Hi,



I have the following Div section





<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>


Nom du dossier


<asp:TextBox ID=“foldername” runat=“server”></asp:TextBox>

<asp:Button ID=“Button1” runat=“server” Text=“Ajouter” />


<asp:HiddenField ID=“nodeID” Value=“1234” runat=“server” />





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

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?

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…


>> 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.