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
Hi,
i am beginner of intersofts webgrid. i have one column values in the webgrid , which is a hyper link.
I would like to know, how can i perform some action when user click on the hyperlink.
that means, i would like to know, how can i get hyperlink click event. i did't find it anywhere.
thanks and regards
ismail
There is no Hyperlink click specific event on WebGrid now. But there are some ways to perform some action when user click on the hyperlink. You can use at OnCellClick event or fill value in HyperlinkFormatString property.
e.g, HyperlinkFormatString
<ISWebGrid:WebGridColumn Caption="Open" ColumnType="HyperLink" EditType="NoEdit" HyperlinkDisplayText="Open" HyperlinkFormatString="javascript: doOpen()" HyperlinkTarget="Custom" Name="Open" Width="100px"> </ISWebGrid:WebGridColumn>
function doOpen() { var grid=ISGetObject("WebGrid1"); if(grid.GetSelectedObject().ToRowObject().GetCells()[0].Text==1) { window.open("file:///C:/New Folder/handy.xls","anne","resizable=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no"); }else { window.open("andrew.JPG","andrew","resizable=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no"); } }
Hope this helps.
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