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 have a web grid which binds to a dataset from the code behing in initialise event. One of the cloumn of the web grid id hyperlink type.
The hyperlink column have some null values in few rows. I am getting the link in all the columns including the cells having NULL values in the dataset.
How to remove the link from the cell of the hyperlink column which has NULL values?
As I am new to web grid please let me know the stepd for getting it achieved.
Thanks,
Puru
Sure.
e.g
if(e.Row.Cells[0].Value == "Null") { e.Row.Cells[0].Value = " "; }
Regards,Handy
Hello Puru,
When a cell is empty, it should be not rendering hyperlink. E.g in my sample, you can see that there is no hyperlink.
Maybe your values show 'null' text. However, you can overwrite the text into " " at IntializeRow server side event.
Hi Handy,
Thanks for your quick response. Could you please send me the code snippet of the initializeRow event, so that I will get an idea how to do it.
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