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
I have a webgrid that contains PO information the first column has an Image button. I what to execute some server side code when the user click on the a button of one of the rows. I will need to obtain the PO number of the cell next to the button that was click. I don't see any examples of this. I found a simple client side where is showed in a dialog the key value of the row. I also don't see any events I would normally see in the asp.net gridview component. What's up?
Hello,
If you want to get the information in server side, you can do it in WebGridButtonClick server side event. In order to trigger this event you would need to set ButtonAutoPostBack as true and ButtonPostBackMode as FullPagePostBack.
<ISWebGrid:WebGridColumn ButtonAutoPostback="True" ButtonPostbackMode="FullPagePostback" ColumnType="ButtonImage" EditType="NoEdit" Name="Img" Width="100px"> </ISWebGrid:WebGridColumn>
In server side, you can get the information by using the code below.
string key = WebGrid1.SelectedRowKeyValue; WebGrid1.RootTable.Rows.GetRowByKeyValue(key).Cells.GetNamedItem("CategoryName").Text;
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