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 All,
I have set classic paging in Webgrid. I need to apply .css style for the paging commands in the status bar, for this the below code used in code behind file but the style is not applying for paging commands. But the style got applied in the "Ready" text in the status line. See the attached screen shot.
Code used:
WebGrid1.LayoutSettings.PagingMode = PagingMode.ClassicPaging; WebGrid1.LayoutSettings.PagingStyleUI = ClassicPagingStyle.SimpleDropDown;
WebGrid1.LayoutSettings.PagingStyleUI = ClassicPagingStyle.SimpleDropDown;
WebGrid1.LayoutSettings.StatusBarStyle.CssClass = "SomeStyle"; Need to set the same text style for the entire status bar. Please help. Regards, Madhavan.
Need to set the same text style for the entire status bar.
Please help.
Regards,
Madhavan.
Hi Madhavan,
Could you kindly try this block of code? I have tried them and it works nicely. For text "Page # of #" in status bar, to change them, we will need to use StatusBarCommandStyle method and set the CSS class for it.
Here is the snippet:
WebGrid1.LayoutSettings.PagingMode = PagingMode.ClassicPaging; WebGrid1.LayoutSettings.PagingStyleUI = ClassicPagingStyle.SimpleDropDown; WebGrid1.LayoutSettings.StatusBarStyle.CssClass = "WebGridStyle"; WebGrid1.LayoutSettings.StatusBarCommandStyle.Normal.CssClass = "WebGridStyle";
I hope it helps. Thank you and have a nice day.
Best Regards,
Andi Santoso
Hi Andi,
It worked. Thanks for your help.
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