leearach2004
Technical User
Hi there I am using vs 2005 to create a mobile web application using asp.net
I have a textbox that is populated from an sql database. After it is populated i wish to check the text and assign a background colour to the texbox depending on the text within it.
The problem I have is that i canot get the textbox to change coloy at all i am using asp.net with vb language
Apparently
is the code but this does nothing as I have been told that the color and font styles are ignored by asp.net when render to adpaters. I have no idea what this means but it is on the microsoft site.
It does not say how to get round it and i know you can set texbox color on mobile devices as i see them on my phone. Anyone know how to change the background colour of a mobile textbox I would be most greatfull
any questions please ask away
lee
I have a textbox that is populated from an sql database. After it is populated i wish to check the text and assign a background colour to the texbox depending on the text within it.
The problem I have is that i canot get the textbox to change coloy at all i am using asp.net with vb language
Apparently
Code:
TextBox1.BackColor = Color.Aqua
is the code but this does nothing as I have been told that the color and font styles are ignored by asp.net when render to adpaters. I have no idea what this means but it is on the microsoft site.
It does not say how to get round it and i know you can set texbox color on mobile devices as i see them on my phone. Anyone know how to change the background colour of a mobile textbox I would be most greatfull
any questions please ask away
lee