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 am using webgrid to display some information. in this grid i am using "hyperlink" column type and is dynamicaly changing value by the below given code in the back end
WebGrid1.RootTable.Columns(0).HyperlinkFormatString = "displaymap.aspx?id=" + "{0}"
Here i want to open the link in a lightbox kind of window. For the jquery effect i want to use src attribute and <ul> tag.
I am using this technique for lightbox effect
http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
please let me know, how can i apply the needed parameters in webgrid hyperlink column
thanks and regards
ca
From the jquery effect link that you gave me, it seems that we need to add a ‘rel’ attribute inside the anchor tag in order to use the jquery.
A simpler way to achieve this requirement is by using custom column type. We can simply define the custom column as below.
... <ISWebGrid:WebGridColumn Caption="WebPage" ColumnType="Custom" DataMember="WebPage" Name="WebPage" Width="100px"> </ISWebGrid:WebGridColumn> ...
cell.GetNamedItem("WebPage").Text = "<a href='images/fullscreen/2.jpg' rel='prettyPhoto' title='This is the description'><img src='images/thumbnails/t_2.jpg' width='60' height='60' alt='This is the title' /></a>";
Please let us know whether this helps or not.
thank you very much.
great help, exactly what i want....
Glad to hear that the ‘custom’ column type met your specific scenario.
Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.
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