HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsFAQFAQjavascript window.opener donjavascript window.opener don't work in a dnn module
Previous
 
Next
New Post
7/22/2008 8:30 AM
 

 

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 =

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsFAQFAQjavascript window.opener donjavascript window.opener don't work in a dnn module


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.