iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I can not set the color of WebInput .Could you tell me how to set color on client side and on serverside?thank you .
Hello,
To set background color using Load Server-side event:
protected void WebInput1_Load(object sender, EventArgs e) { WebInput1.BackColor = System.Drawing.Color.Red; }
Hope this helps.
Thank you.
May I set the ForeColor of WebInput1???(Not backcolor)
When you set ForeColor, it seems that there is no changes applied. By default, BackColor property takes effect to WebInput when you change the color. Therefore, it is better to use BackColor instead.
It is very sad to hear that .Can the further WebUI version set ForeColor of webinput???
Actually, you need to decide which part of WebInput you want to set the color.
If you want to set the textboxstyle color, you can implement BackColor and ForeColor properties using the following code:
protected void WebInput1_Load(object sender, EventArgs e) { WebInput1.Value = "Testing"; WebInput1.TextBoxStyle.Normal.BackColor = System.Drawing.Color.Red; WebInput1.TextBoxStyle.Normal.ForeColor = System.Drawing.Color.Yellow; }
In this case, WebInput's background will become red and the text inside the box will become yellow.
I am sorry.If I use your way,the style of webInput will seems so strange~Have anther way????
I think that would be the best way for styling since WebInput has provided TextBoxStyle for user to customize the WebInput's element.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname