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
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Creating Pane at runtime
Previous Previous
 
Next Next
New Post 9/5/2007 5:42 AM
User is offline Bassel Issa
55 posts
10th Ranked


Creating Pane at runtime 

Hi,

can a skinObject groups collection of panes. so if we registered this skinObject in a skin. it would insert a group of panes in one time. or maybe dynamilcly generate new panes to the main skin.

<DNN:NewSkinObject runat="server" id="mySkinObject" />     and that rendered as 3 Panes in the skin that are ables to be insert modules in them.

???

any input in this subject ???

 

 
New Post 9/8/2007 4:34 AM
User is offline Wes Tatters
410 posts
8th Ranked




Re: Creating Pane at runtime 

The process that handles the binding of MODULES to PANES happens in the Page_init event of the SKIN object.

And more over the Code that breaks down the HTML tags to locate the PANE elements is the first step in teh process.

Since the Page_init event cycle occurs BEFORE the various objects in the skin are rendered to HTML there would be no way
that the HTML in yrou skinobject would be rendered down to HTML in time to participate in the PANE selection process.

Westa

 
New Post 9/8/2007 5:55 AM
User is offline Sebastian Leupold
13761 posts
www.deutschnetnuke.de
1st Ranked












Re: Creating Pane at runtime 

you can either provide panes in collapsible columns, that will have 0 width if no module is placed inside or use a 3rd party "Module Aggregator" modules, that can hold multiple modules side by side or in any other arragement.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 9/8/2007 11:03 AM
User is offline Bassel Issa
55 posts
10th Ranked


Re: Creating Pane at runtime 

from the way that page skin writen. i see that the proccess should render all skin objects before start looking inside the html for panes. so the proccess should go as the following

 1 - checking the current page skin html and looking for registered SkinObject (excute them and load thier render output into response object, memory stream)

in this prorccess the Response object can contain some dynamiclly generated panes (came from excuting some special skinObjects)

2 - checking for declared "runat server" html elements that should be loaded as panes.  (here the collection of panes will be fillled by this proccess and procces 1)

3 - injecting modules in panes

 

please correct me if i am wrong. !! i still need to review the code of page_init of the core. !!

 

 
New Post 9/11/2007 9:48 PM
User is offline Wes Tatters
410 posts
8th Ranked




Re: Creating Pane at runtime 

DNN does not use the skin html at RUNTIME.  Instead whenever you import a skin it converts the html to an ascx object.
This asxc object is declared as being based on the DotNetNuke.UI.Skins.Skin class as defined in skin.vb in the dotnetnuke library.

To load the skin Default.aspx.vb instantiates a instance of the object and adds it to the current page in its PAGE_INIT processing.

The first thing that happens when the SKIN object Page_Init fires is that it ITERATES the HTML control list looking for PANES.

So I guess then it really comes down to when ASP.NET renders the contents of any objects down to HTML.  
And unless thats changed in recent times it happens after the PAGE_INIT. PAGE_LOAD and PRE_RENDER events.

Westa

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Creating Pane at runtime
 


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.

 


Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au
Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com

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