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
Hello,
I need to change font color of the webinput using the server side using the following line
txtVisitCustomerBy_A.ForeColor = System.Drawing.Color.Red;
txtVisitCustomerBy_A is a WebInput control type v 4.0.7200
but it does not work. I'm able to change background. Is there a way to do it for forecolor ?
Thank you in advance for any help
The fix is still being analyze as the issue is still open. In the meantime, as a workaround you could try invoking a client script event in order to modify the input forecolor on the server side.
Here is the snippet of the client side function, setting the forecolor is done by adding a new css class which has the style you wish to add:
<style type="text/css">.RedText{ color: Red !important;}</style><script type="text/javascript" language="javascript"> function SetColor() { var input = ISGetObject('WebInput1'); input.GetControlElement().className += " RedText"; }</script>
The server side function to invoke the SetColor function:
Page.ClientScript.RegisterStartupScript(this.GetType(), "SetColor", "<script>SetColor();</script>");
Hi Mark,
I am able to replicate the issue and I have forwarded this to our developer team. I will let you know if it is solved and ready on our latest hotfix. Thank you.
Best Regards,
Andi Santoso
Hi Andi,
Was this ever fixed?
I have never got an update from you on this issue.
Please let me know
Mark
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