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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNNTabStrip Confusion....DNNTabStrip Confusion....
Previous
 
Next
New Post
6/10/2009 1:21 PM
 

I have a complex set of ASP user controls (ascx)... which I have wrapped with DNNTabStrip.

These user controls/tabs are sequenced and dependant on previous tab content... there are even controls on each userControl that are dependant on previous data content for their 'items'....

My app logic requires that I support two 'modes' -> one wizard  (yellow brick road) like, and the other is more 'tab' or review like... after a certain 'state' is reached.

I would like NOT to have two different modules to present this complex business object.

I think I have reviewed all avaliable material on the DNNTabStrip rendering rules / features.   However I am unable to locate the DNNTabStripWizard code behind file.. which hopefully will provide me with 'exact' details of managing tab and strip properties...

Right now only way to get my controls to display data is to process Page_Load on each and every included control... think ALL... kinda kills the purpose of using TabStrip...

To put it another way... exactly what is the deligate for Tab Callback, when it is in 'callback' mode...  I will need to test for 'dirty needs saving' BEFORE I can move to next Tab... and init its contents...

thanks for all the good work!

Bob

 

 

 

 
New Post
6/11/2009 8:51 AM
 

You can get the entire source for what is running webcontrols.dotnetnuke.com from codeplex.  Download the source package.  Its under website\samples folder.

 


 
New Post
6/12/2009 1:49 PM
 

Thanks Jon.... that was just what I needed.. TabStrip is working perfectly...

Now I am digging through the ClientAPI with Elements examples... (of which the online sample throws a 400 error)...

The tab control proceses the 'page' fine... but when I register a child dropdown for onchange callback.. the entire list of controls are 'empty'... but then you knew that.

Is there a way of having default view_state handling for the child controls of the element during client callback?  My userControl (wrapped by the DNNTab) is comprised of many DropDowns... some of which trigger a dependant dropdown item list to refresh... of course during the DDOnChange event/callback there are no values for any of the included child controls.... sigh!  And yes the number of dropdowns and item counts makes manual registration a real chore for the dependancy of the controls (on route to the database) is seldom simple.  Orginal code simply relied on properties exposing the current selection of these.. and passed null when not set or selected.

Looks like  I might have to wire up some sort of dependancy binding on for both server and client side fo ClientAPI calls?

Thanks for you help

Bob

 

 

 
New Post
6/15/2009 9:52 AM
 

The idea of the tabstrip using callbacks to obtain the next tab's data was an exercise in how to do something more efficient than the updatepanel.  The idea is to not do any postabacks.  Therefore, marshalling view_state back and forth is not part of the design for this, as the updatepanel already does this for you. 

At this point, I think it best to make a decision on whether you want a more efficient rendering and have a little extra work to populate the dropdowns as they are rendered the first (and only) time on the client, or do the traditional postback model and just use the updatepanel.


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNNTabStrip Confusion....DNNTabStrip Confusion....


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