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  |  

PortalWebHosting
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Pop Up window with values from Database
Previous Previous
 
Next Next
New Post 6/3/2008 8:33 AM
User is offline deepak
52 posts
10th Ranked


Pop Up window with values from Database 

 

Halo guys

In my portal  I am creating a new link button in "Links" module. On click of that link button, I need to display content retreived from database in a new pop up window.

Can anyone suggest me how to get the pop up window with the values retreived from the database?

Kindly help me in this regard

All replies are appreciated..

 
New Post 6/3/2008 9:20 AM
Online now... Chris Hammond
2953 posts
www.engagesoftware.com
5th Ranked








Re: Pop Up window with values from Database 

You'll most likely need to create an ASPX page that you can call in a popup window, inside of that ASPX page you can enter whatever data access/reporting you want to get from the database.


Chris Hammond
Engage Software
St. Louis, MO
314.966.4000


The leading provider of DotNetNuke skinning, training and custom module development.
Official DotNetNuke® Training Provider
 
New Post 6/3/2008 9:32 AM
User is offline Keith Adler
55 posts
10th Ranked


Re: Pop Up window with values from Database 

What I've done is used Highslide with an IFRAME and an ASPX page.  It doesn't get blocked by pop-up blockers and works well.

http://vikjavev.no/highslide/

In addition, you could use the ModelPopup from the ASP.NET AJAX Control Toolkit.

http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ModalPopup/ModalPopup.aspx

That covers the display of the popup.  To access the data you could use something like I do in my modules to get the data to lookup from the link's querystring:

' Get data

    Dim mySqlDataAdapter = New SqlDataAdapter("SELECT Field1, Field2 FROM TableName WHERE ParamName = @ParamName ORDER BY Name", ConfigurationManager.ConnectionStrings("DataConnectionString").ToString())
    mySqlDataAdapter.SelectCommand.Parameters.Add("@ParamName", SqlDbType.Int).Value = Request.QueryString("campground")
    Dim myDataTable As New DataTable
    mySqlDataAdapter.Fill(myDataTable)

    If myDataTable.Rows.Count > 0 Then

   ....

 
New Post 6/3/2008 5:29 PM
User is offline onesocalguy
3 posts
10th Ranked


Re: Pop Up window with values from Database 

I am trying to do this also. I am trying to display data that was entered using XMod. Does anyone know the table names for getting the data? Is it even possible to do this with XMOD? An example would be fantastic if anyone knows how... THANKS!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Pop Up window with values from Database
 


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.

 


Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com
Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com

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