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
Question 1:
I have a webgrid, one of the column is of type hyper link (ColumnType="Hyperlink" ). For some of the rows in the grid, I need to disable hyperlink (meaning just the text no hyperlink). How do I do this?
I tried IntializeRow event of the webgrid and no success in disabling some rows hyperlink.
Question 2:
How do i disable context menu?. When the user right clicks on the gird, I do not want to display the context menu at all.
Thanks
Hello,
I attached simple sample for Question 1. Hope this helps. For Question 2, you can shut off context menu by setting 'AllowContextMenu=false' in LayoutSettings.
Regards,Handy
In order to disable the Hyperlink column you could set the ColumnType to text, however you will need to set the column type to hyperlink for the column you wish to have hyperlink style. This could be done during InitializeRow server side event. Here is the snippet to set the column type of URL column
e.Row.Cells.GetNamedItem("url").Column.ColumnType = ColumnType.Text;e.Row.Cells.GetNamedItem("url").Column.ColumnType = ColumnType.HyperLink;
In order to disable context menu, please set the property AllowContextMenu to false under the LayoutSetting.
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