-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: shalabhsaxena
Message 5 in Discussion


Hi  
You can use PlaceHolders for creating multiple Controls at runtime depents on your 
req.  
Process is simple just add a Placeholder Control on your form 
create an object of a TextBox control add it as a LiteralControl to your Placeholder 
same way loop around and create as many controls you wan't at runtime...  
Or u can also do this way 
Dim tblParent As Table
Dim rwParent As TableRow
Dim colParent As TableCell 
rwParent = New TableRow()
colParent = New TableCell() 
‘the function CreateSubMenutable parses an XMl file to create the
table with controls in it. 
colParent.Controls.Add(CreateSubMenutable) 
rwParent.Cells.Add(colParent)
tblParent.Rows.Add(rwParent) 
Dim lblBreadCrumbText As Label 
lblBreadCrumbText = New Label()
lblBreadCrumbText.ID = "lblBreadCrumbText" 
Controls.Add(lblBreadCrumbText) 
End Sub


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to