Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  How to pass the value form main page to popup window?
Previous Previous
 
Next Next
New Post 9/8/2008 12:21 PM
User is offline Qi
10 posts
10th Ranked


How to pass the value form main page to popup window? 

I have two pages, main page and popup page.  On main page, users can either manually entering the start date and end date or selecting the date form popup calendar, then click the search button, it pops up a page which displays a report. The problem is if the users re-select the date form calendar, it doesn’t display the new selected date range on the report until clicking the search button twice.  It works fine for manually entering the date range. I noticed it calls popup page load first, then back to main page load, it happens every time except the first time clicking the search button. Anyone can help? Many thanks!

 
If Not Page.IsPostBack Then
                    ButtonSearch.Attributes.Add("onClick", " MM_openBrWindow('DesktopModules/test/testreport.aspx?alias=" & PortalSettings.PortalAlias.ToString & "','triggers','toolbar=no,directories=no,status=no,linemenubar=no,scrollbars=yes,menubar=no, location=No,resizable=yes,titlebar=no, width=800,height=545')")
 
End If
 
New Post 10/26/2008 12:20 AM
User is offline suwandy
60 posts
10th Ranked


Re: How to pass the value form main page to popup window? 

Hi Qi,

Dont use if condition because you are adding the javascript attribute dynamically, try to remove the if condition and you will see the different.


Andy
Free DNN Modules at www.dnnpages.com

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  How to pass the value form main page to popup window?
 


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.

 


Overlook Technology
Website Development, DotNetNuke Consulting, Module Development, Portal Management
OverlookTechnology.com
DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de
The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP