This topic is locked

Text Box Class

3/15/2012 10:17:33 PM
ASPRunnerPro General questions
T
TechArt author

Hello,
I would like to know how to control the input text box "class" in visual editor for specific text box , as example :
<input name="Text1" class="ClassName" />
Please advise.

Sergey Kornilov admin 3/19/2012

You need to use Javascript API for this purpose. addCSS() or addStyle() functions can help you here. Take a look at this example:

http://xlinesoft.com/asprunnerpro/docs/how_to_change_font_in_edit_controls.htm