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.
Scenario -
First step: Binding dataset to the webgrid dynamically.
Second step: moving position of columns inside the webgrid (on the UI)
Third step: clicking a button to get the webgrid.roottable.columns collection.
--
Expected result - The column collection should give me the list of columns with the new position of the columns.
result I am getting - the original column collection with the same columns position.
what should I do to get the collection of the columns with the new positions after I click a button on the webpage? Alternatively, is there any server-side event that fires when we move the columns within the webgrid?
Thanks!
Based on the provided information, a simple sample of WebGrid is created (the sample file is enclosed as attachment). The WebGrid is bind to Shippers table of Northwind dataset. The AllowColumnMove feature is enabled (Specifies whether or not to allow users move columns.).
An ASP.NET Button and three ASP.NET TextBox controls are added to the page. Clicking the Button will set the text property of each TextBox to the WebGrid1.RootTable.Columns collection respectively.
I tried to reproduce the problem in my local test by using this sample but my efforts was not successful – everything worked smoothly and the columns collection show the list of columns with new position of the columns.
A video that shows how the test was made is enclosed as attachment. Please let us hear your feedback if there are any steps that I missed during my attempt to reproduce the problematic behavior.
Hi Yudi,
Thanks for the mail and the response. Your response was useful. But I am trying to do the same thing in my project (file attached) to get the webgrid working using Update Panel. But my efforts are useless. I am not able to load the data into the webgrid. And neither I am able to save the webgrid schema to the xml.
Please advice.
-Udayan
Thank you very much for the sent sample.
A simple sample was re-created based on your sent sample in order to reproduce the problematic behavior on my local end. The simple sample page has identical structure with the test.aspx page.
Unfortunately I was unable to reproduce the issue using the simple sample page. I was able to load the data into WebGrid and save the grid’s structure to the xml file.
Could you please kindly check my simple sample and let me know if there is anything that I missed during my attempt to reproduce the issue?
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