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 There,
Iam using Webgrid in our project. We have observed a very strange problem in naming webgrid columns.
We are populating webgrid with the data from SqlServer, of which "DiscountGiven" is a column in datasource. UI works fine except displaying column caption in "SelectColumns" list. It just displays blank caption.
We tried with naming the column with other names, changing the order of columns everything works well except for discountgiven column.
Can you please let me know why we are not able to see the caption for that particular name.
Thanks & Regards,
Durga Mohan Palika.
I tried to reproduce the reported problem in my local test by creating a simple sample page of WebGrid. WebGrid is bound to a table which has a column named “DiscountGiven” using SqlDataSource control.
The information below shows the table definition.
The column definition of WebGrid is as follow.
<ISWebGrid:WebGrid ID="WebGrid1" runat="server" DataSourceID="SqlDataSource1" Height="250px" UseDefaultStyle="True" Width="500px"> <LayoutSettings AllowSelectColumns="Yes" /> <RootTable DataKeyField="ShipperID"> <Columns> <ISWebGrid:WebGridColumn Caption="ShipperID" DataMember="ShipperID" DataType="System.Int32" Name="ShipperID" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Phone" DataMember="Phone" Name="Phone" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="DiscountGiven" DataMember="DiscountGiven" DataType="System.Single" Name="DiscountGiven" Width="100px"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> </ISWebGrid:WebGrid>
However my efforts were not successful - everything worked smoothly and the columns selection doesn't show blank caption.
For your information, I'm using WebGrid 8 build 100 and WebUI.NET Framework build 805 which available in WebUI Studio 2012 R1. Should you find anything that I miss during my attempt to reproduce the problem, please feel free to let me know.
Thanks Yudi,
Everything is fine interms of implementation, except that iam using WebGrid 7.
by the way, we decided to change the column name and it works.
Thanks,
Durga.
I’m glad to hear that changing the column caption rectify the reported problem. If you have any other clues or hints or patterns to reproduce the issue, please feel free to let us know.
Should you need further assistance or run into any problems regarding our controls, feel free to post it into our community site. We would be happy to assist you again.
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