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
how to: Clear Grid on Server Side?
Help me ~
Hello,
If you only want to remove WebGrid from your page, I think you only need to remove the controls from your container.
e.g You placed WebGrid inside a div. Please set div id as "div1" and set runat="server".
Then, to remove WebGrid from div, simply use the code below at server.
div1.Controls.Remove(WebGrid1);
If you want to clear all record and structure in WebGrid, simply use the code below.
WebGrid1.DataSourceID = null; WebGrid1.RootTable.Columns.Clear();
Regards,
Handy
What do you mean by clearing the grid? Do you want WebGrid to become invisible. If that so, you can use WebGrid1.Visible=false;
Regards,Handy
clean the data of grid```not set grid Visible=false;
thank you!
now i want to ask another question:how to: get the value of my selectedCell on Server Side?????
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