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
This seems very simple, How can i get the Selected Row of a Web Grid during a full post back. I have tried enumerating the rows collection and none of the rows that were selected on client side or marked as selected on the server side?
Hi Greg,
Do you want to select a row in server side? Or Do you want to get the selected row in server side?
//if you want to select a row protected void Button1_Click(object sender, EventArgs e) { WebGrid1.SetFocus(); WebGrid1.RootTable.Rows[2].Selected = true; }
//you can only get the selected row key value in server side protected void Button1_Click(object sender, EventArgs e) { TextBox1.Text = WebGrid1.SelectedRowKeyValue; }
Regards,Handy
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