Re: complex ui in placeholder controls
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Re: complex ui in placeholder controls




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: complex ui in placeholder controls  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 03:20 PM

Hi Nikolaj,

this is normal usage and should work.
Check out the code sample here:
http://www.gotdotnet.com/community/...nagement+Server

There are several placeholder controls which use the same method.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Nikolaj" <Nikolaj@discussions.microsoft.com> wrote in message
news:DB791755-8D11-4447-A181-B4F2BB00642F@microsoft.com...
> I am extending the class BasePlaceholderControl to be able to provide the
> user with a faily complex user interface used for specifying some content.
> Here is an example of how I override CreateAuthoringChildControls():
> protected override void  CreateAuthoringChildControls(BaseModeCon
tainer
> authoringContainer)
> {
>   authoringContainer.Controls.Add(new DropDownList());
> }
>
> This works and in the authoring mode I can use the dropdown list. Instead
of
> this simple example I would like to design a web user control (ui.ascx for
> instance) and add it in the place of the dropdown list. The user control
> contains a complex ui. But I can't make it show up.
> Is the approach not possible. Do you have any suggestions or comments?
>
> (My goal is to be able to design an authoring userinterface visually and
> display it in the placeholder when it is in authoring mode. The ui should
> consist of an object which also contains a method used to extract the
> settings of the ui as an xml-string which is stored in the xml
placeholder.)







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:04 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register