Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Problem With PopUp WindowProblem With PopUp Window
Previous
 
Next
New Post
11/8/2010 4:38 AM
 
I have a module and I need to open popup window for one of aspx page in my module. I try the following
Code:

string url = "~/SomePage.aspx";

                string cmd = "window.open('" + url + "', '_blank', 'height=500,width=800,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,titlebar=no' );";

                ScriptManager.RegisterStartupScript(Page, this.GetType(), "newWindow", cmd, true);


But after this popup appears it open the page from where I send request, and not SomePage.aspx.
Help :(

 
New Post
11/8/2010 5:37 AM
 
I even can't access SomePage.aspx manualy. I type "http://localhost/dnn/trt/trts/ViewTrt/SomePage.aspx" and I get "Resource van't be found". SomePage.aspx is normal asp.net page have nothing with dnn but why I cant display it?
 
New Post
11/8/2010 8:07 AM
 
Ok I find one solution with one little problem. I post image bellow to say exactly what I want. I make new EDIT page and open it on user request in a popup window. But on this page I need only one DATAGRID without DNN elements menu etc. How to remove everything from page?
http://img179.imageshack.us/img179/1971/32185626.png
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Problem With PopUp WindowProblem With PopUp Window


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out