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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


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
45 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
User is offline Chris Hammond
2885 posts
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.

 


DocuPeak Business Process Management RAD
Comprehensive enterprise and government process management. Forms, documents, indexing, workflow, views, content intelligence, capture, etc. Point and click rapid application development.
www.Webiplex.com
ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com

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