In the color chart webpage I have this code: "Item")The html code in the color chart webpage has this code for a repeater:
MyItem = Request.QueryString(
<tr>
<td align="left"><a href=" window.opener.aspnetform.<% =myItem %>.value = '<%#DataBinder.Eval(Container.DataItem, "Fargekode")%> '; window.close();"><%#DataBinder.Eval(Container.DataItem, "Fargenavn")%> </a></td>
<td align="left"><a href=" window.opener.aspnetform.<% =myItem %>.value = '<%#DataBinder.Eval(Container.DataItem, "Fargekode")%> '; window.close();"><%#DataBinder.Eval(Container.DataItem, "Fargekode")%> </a></td>
If I write out the clientID to the Item I can see it is the same value from the sourcecode to the DNN site.
I have tried to use " window.opener.form.." because DNN name the form "form" in default.aspx, but it did'nt had any affect.
Hi!
I'm opening a colochart in a new window from a DNN module, but the javascript window.opener method does'nt work. It works fine from a regualar asp.net webpage.
I have this code in Page_Load function in the acsx file (DNN module): "window.open('" & Request.ApplicationPath & "/fargekart.aspx?Item=" & TextBox1.ClientID.ToString() & "&Page=1','_new', 'width=350,height=300, scrollbars=yes,resizable =yes');"
btnFargeHeaderBG.OnClientClick =