|
-
Mar 18th, 2010, 03:11 AM
#2
Re: Changing Label to TextBox on Run-Time
Hey,
It should as though you are trying to provide the ability to have a ReadOnly version of the data, and then on click on a button, switch into edit mode. Does that sum it up?
Are you familiar with the FormView control? This gives you the ability to have a readonly version of content, and then a edit and insert version. This is handled through the use of Templates, namely the ItemTemplate, EditTemplate, and InsertItemTemplate.
You can find information about this here:
http://msdn.microsoft.com/en-us/libr...w_members.aspx
and an example here:
http://msdn.microsoft.com/en-us/libr...w4(VS.80).aspx
You may also want to think about the DetailsView, which offers similar functionality.
Hope that helps!!
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|