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
Hi
It is possible to define the Buttonstyle in Stylesheet?
I have found How-to: Control WebGrid's styles using external CSS definition. But the WebGrid attributes aren't identical with css attributes e.g. Font-Names --> font-family, BorderStyle --> border-styleSome attributes are missing: e.g. BackColor2, GradientType
an other way:
I can set IntegratedToDesktopManager to True and define the CommandButtonStyle in DesktopManager.This is possibly the better choice.
Sorry, this Tropic should be in WebDesktop Forum
Regards
Michael
Hello Michael,
Yes, you can define ButtonStyle using CSS class.
For example, let's say you have the stylesheet classes as in the following:
<style> .Button-Normal { border: Gray 2px solid; background-color: White; } </style>
You can assign the class to the Normal style of the WebButton through the object model, such as shown below:
button.ButtonStyle.Normal.CssClass = "Button-Normal";
Note that you can also assign it declaratively in the ASPX markup.
Hope this helps,James.
I have find out, how can I define Backcolor2 and GradienType:
ctl00ContentPlaceHolder1WebDesktopManager1-TaskBarButtonStyle-Active{background-color:WhiteSmoke; font-family:Tahoma; font-size:8pt; font-weight:normal;border:1px Gray solid;border-right: 1px White solid;border-bottom: 1px White solid;cursor:Default;filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFF5F5F5 , endColorstr=#FFD3D3D3, GradientType=0);width:150px;basestyle:Normal;}
I have read Performace Guidelines. It's recommended to use Theme architecture.
But how can I use Theme architecture? A sample would be great!
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