jasonwsaz
asked on
Creating custom UI for asp.net textboxes?
Was wondering how I can make asp.net textbox controls look similar to the provided screenshot. Ideally through the use of themes but I can figure that out once I find out how to just make a single textbox look this way.
Thanks,
J
screen-capture.png
Thanks,
J
screen-capture.png
ASKER
wow, I wasn't expecting someone to show me all that! only one problem... My project is in C#?
-J
-J
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
So, did this solve it for you?
/Carl.
So, did this solve it for you?
/Carl.
Hi,
No feedback from You on my provided solution, can you please close out the question and reward points if the solution was what you needed? Thx.
/Carl.
No feedback from You on my provided solution, can you please close out the question and reward points if the solution was what you needed? Thx.
/Carl.
I can't tell you how to do this with themes, but I guess You can create a usercontrol to suit your needs, please have a look at the attached code snippets and images for reference. Create a folder called "ucImg" in your web root directory (or the dir where you put the user control) and copy the images to that folder. Drag and drop the user control onto your design surface, then in your page_init event add:
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
ucStyledTextBox1.Height = 15
ucStyledTextBox1.Width = 250
ucStyledTextBox1.Text = "Trying out styled textbox..."
End Sub
That should do it!
/Carl.
Open in new window
ucImages.zip