Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Dynamically Adding User Control

Reply
Thread Tools

Dynamically Adding User Control

 
 
ravi sankar
Guest
Posts: n/a
 
      08-29-2003
Hi,
U need to use a placeholder control and add the control to
the placeholder.
http://aspnet.4guysfromrolla.com/articles/081402-1.aspx

regards,
s.ravi sankar


>-----Original Message-----
>How to add the user control dynamically to the tablecell
>at runtime.
>Thanks.
>
>.
>

 
Reply With Quote
 
 
 
 
Ram sundar
Guest
Posts: n/a
 
      08-29-2003

>-----Original Message-----
>Hi,
>U need to use a placeholder control and add the control

to
>the placeholder.
>http://aspnet.4guysfromrolla.com/articles/081402-1.aspx
>
>regards,
>s.ravi sankar
>
>
>>-----Original Message-----
>>How to add the user control dynamically to the tablecell
>>at runtime.
>>Thanks.
>>
>>.
>>

>.
>

Hi,
You could use a panel in the position where you wanna
add a control and then do the following:
panMyPanel.Controls.Add(New LiteralControl(butButton))
Bye,
CodeMachine

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load User Control Dynamically, Cast object dynamically =?Utf-8?B?UmV6YSBOYWJp?= ASP .Net 1 03-05-2005 12:04 AM
Load User Control Dynamically, Cast object dynamically =?Utf-8?B?UmV6YSBOYWJp?= ASP .Net 1 03-04-2005 07:57 PM
Dynamically Adding User Control with Child User Control Travis Pruitt ASP .Net Building Controls 0 01-13-2005 08:49 PM
Dynamically adding a web user control to a placeholder Stu ASP .Net 1 01-06-2005 03:49 PM
Re: Dynamically Adding User Control Kevin Spencer ASP .Net 0 08-29-2003 12:45 PM



Advertisments