C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

Aligning dynamic controls


Posted Date: 28 Jun 2008      Posted By: Elz      Member Level: Gold     Points: 1   Responses: 1



Hi all,
I'm creating controls(label,textbox like that) dynamically.How to align these controls.help me
Thanks





Responses

Author: UltimateRengan    11 Aug 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 5

Create Dynamic Controls using Dotnet

Dim txtname As TextBox
txtname = New TextBox
PlaceHolder1.Controls.Add(txtname)
Dim lblName As Label
lblName = New Label
lblName.Text = "Enter Name"
Dim ddlAge As DropDownList
ddlAge = New DropDownList
ddlAge.Items.Add("12")
ddlAge.Items.Add("45")
ddlAge.Items.Add("56")
PlaceHolder1.Controls.Add(ddlAge)

Advance Happy Diwali
SAP B1



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : how to clear the session while loging out(ASP.Net,C#)
Previous : vb to c#
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use