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,
We use WebGrid 9.0.7200 in our project. All columns are created dynamically at runtime based on the current setup of our application.
When no grouping is applied or when we group by a character value column, export works fine. We have a problem when we group by a numeric column and then try to export. The message we get is:
Cannot find column 'acolumn'
where acolumn is the (numeric) column the grid is grouped by. As I mentioned above, it works ok when the grouped column is not numeric.
Any help would be appreciated,
Thanks
Dimitris
Still haven't solved it. Still no response here...
I created a simple WebGrid based on your scenario. The grid columns are created dynamically at PrepareDataBinding server-side event.
string[] Profile1_Root = { "OrderID", "ProductID", "UnitPrice", "Quantity", "Discount" }; protected void WebGrid1_PrepareDataBinding(object sender, DataSourceEventArgs e) { if (!IsPostBack) CreateStructure(); } private void CreateStructure() { foreach (string col in Profile1_Root) { WebGrid1.RootTable.Columns.Add(new WebGridColumn(col, col, col)); } }
After grid rendered, the root table is grouped by OrderID column (where this column is of int type column). The reported problem is not reproducible when try to export this to html.
For your information, I'm using following configuration in my local end to test the problem.
You may modify my sample if you find that the sample is not close to your scenario/code.
The problem was found, it was in our code. The component works fine!
Many thanks for helping!
Regards,
Glad to hear that the problem has been resolved now.
Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. 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