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 ForumsClientAPIClientAPIHow use SectionHeadControl?How use SectionHeadControl?
Previous
 
Next
New Post
7/27/2006 8:31 AM
 
Hi,
I've version 4.3.3 installed and I'm trying to use SectionHeadControl.

I've included at the bottom of my Settings page:

STEP 1: <%@ Register TagPrefix="dnn" TagName="SectionHead" Src="~/controls/SectionHeadControl.ascx" %>

and then the control itself

STEP 2: <dnn:sectionhead id="dnnSectionAdvanced" runat="server" CssClass="Head" IncludeRule="true" IsExpanded="false" Section="sectionAdvanced" ResourceKey="SectionAdvanced" EnableViewState="true" Text="Advanced Settings" Visible="true" />

I've assigned a table like this

STEP 3: <table id="sectionAdvanced" >   

I'm stuck at this point.

The image for Minimize / Maximaze doesn't show up and the table is always visible....
I've also read the ClientAPI Min/Max PDF  but I wasn't able to go further....

Any help is really appreciated
Kind Regards
 
New Post
7/31/2006 10:09 AM
 
Any chance you can provide a URL for me to look at?

 
New Post
8/29/2006 9:19 AM
 
I'm having this same problem.  What was the solution to get the min/max icon to display?
 
New Post
8/29/2006 9:26 AM
 

Found the solution thanks to another thread....

Needed the runat="server"

<table id="sectionAdvanced" runat="server">

 
New Post
7/8/2009 4:22 AM
 

Hi,

I try t ocreate it dynamiquely, but i can't:

            TableRow ligne = new TableRow();
            TableCell Cellule = new TableCell();
            Cellule.CssClass = "SubHead";

            idGen += 1;
            string LibIdGen = idGen.ToString();
            Table tbl = new Table();
            tbl.ID = "tbl" + LibIdGen;

            SectionHeadControl sh = new SectionHeadControl();
            sh.ID = "sh" + LibIdGen;
            sh.Section = "tbl" + LibIdGen;

            //Cellule.Text = (affNb) ? titre.ToUpper() + " (" + adhs.Count.ToString() + ")" : titre.ToUpper();
            Cellule.Controls.Add(sh);
            ligne.Controls.Add(Cellule);
            Infos.Controls.Add(ligne);

            sh.CssClass = "SubHead";
            sh.IsExpanded = false;
            sh.IncludeRule = true;
            sh.Text = (affNb) ? titre.ToUpper() + " (" + adhs.Count.ToString() + ")" : titre.ToUpper();

Doesn't work... I cant set the property (CssClass , Text, IsExpanded, ...);

Could you help me ?

Regards

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIHow use SectionHeadControl?How use SectionHeadControl?


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