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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to add the ability to minimze and maximize?!?!How to add the ability to minimze and maximize?!?!
Previous
 
Next
New Post
9/15/2006 4:54 PM
 
I need help on the following, if anyone knows "how to" or can point me in the right direction it will be appreciated!

Here is what I am trying to accomplish:
I have a control (.ascx) that is loaded within DNN from a link on a grid to this URL
( /Demo/tabid/53/ctl/TakeTest/mid/404/tid/11/Default.aspx ) basically I pass the name of a control to be loaded as a parameter within the URL, when it loads I programmatically add another control within that control with this code:

<code>
Dim controlToLoad As String = "../../DesktopModules/OTT1Display/OTT1Display.ascx"
     Dim objPortalModuleBase As PortalModuleBase = CType(Me.LoadControl(controlToLoad), PortalModuleBase)
        If Not (objPortalModuleBase Is Nothing) Then
           objPortalModuleBase.ModuleConfiguration = Me.ModuleConfiguration
           objPortalModuleBase.ID = System.IO.Path.GetFileNameWithoutExtension(controlToLoad)
           plhControler.Controls.Add(objPortalModuleBase) ' *** plhController is an <asp:placeholder> ****
        End If
</code>

Everything to this point works fine, here is what I am trying to add to it ...

I want to add the ability to minimize and maximize that control I programmatically add to the first control. A good example of what I am trying to do is on a Modules Settings, as a developer we can create our own settings and that settings control for our custom control is added to the setting page and we can minimize it and maximize it.

I hope all this makes sense, if not please post a question and I'll try to answer it.

Thanks in advance for any and all help,
HBenton

Wisconsins DNN User Group: www.WIDNN.com
Visit my home page: www.HerbBenton.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to add the ability to minimze and maximize?!?!How to add the ability to minimze and maximize?!?!


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