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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Pop-up Window with skin CSSPop-up Window with skin CSS
Previous
 
Next
New Post
2/14/2006 12:30 PM
 

I am building a store module for a client.  I am trying to do a pop-up window wihch displays a product image.  I need this pop-up window to use the site's skin CSS styles but I don't want all of the skin elements such as the header, footer, and navigation.  All I want the page to display is the image and a close button but I want it to use the same colors and fonts as the site.  To achieve thsi I am trying to find out how to apply the skin CSS to a custom ASPX page.  Can anyone tell me how to do this?

Thanks!

 
New Post
2/14/2006 4:57 PM
 
I suggest you copy the skin to make one that doesn't have the elements you don't want.

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post
2/15/2006 4:36 AM
 
Okieace wrote

I am building a store module for a client.  I am trying to do a pop-up window wihch displays a product image.  I need this pop-up window to use the site's skin CSS styles but I don't want all of the skin elements such as the header, footer, and navigation.  All I want the page to display is the image and a close button but I want it to use the same colors and fonts as the site.  To achieve thsi I am trying to find out how to apply the skin CSS to a custom ASPX page.  Can anyone tell me how to do this?

Thanks!

You really don't need to create a custom aspx page.  You could do the same thing with a module on a hidden tab.  Create another skin ascx file in your skin folder called PopUp or whatever you want.  Then apply this skin to your hidden tab.  Now when you call your popup you just call the hidden tab the same way you would your ASPX page.  This method will still make use of your skin.css file, or any of your other css files for that matter.

Will


Will Morgenweck
VP, Product Management
DotNetNuke Corp.
 
New Post
2/15/2006 9:29 AM
 
Since I posted some code stuff about creating a pop-up window on my site, here a link for that.  I don't know if the code is exactly what you are looking for - but I can tell you that it has been used in a table of products where the Product ID can be clicked and a picture and description of the product comes up.  I've used it for pictures (but pictures are on the drive, not in the database).

    - Doug Vogel     

 
New Post
4/9/2006 11:49 AM
 

I have had this problem in the past.

in the Default.aspx there is a function ManageStyleSheets which takes care of adding the correct stylesheets to the page.

What I have done is I have copied this (made the logic a little better and made it more generic) to a utility library we use for DNN and then in the popup make the same logic which DNN uses (a placeholder and a function in the codebehind which calls this function to get the appropriate css stylesheets added)

hope this helps

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Pop-up Window with skin CSSPop-up Window with skin CSS


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