Welcome Guest Search | Active Topics | Sign In | Register

Objects in a Grid Options
Michael Cleveland
Posted: Thursday, November 15, 2012 2:43:12 PM
Rank: Member
Groups: Member

Joined: 3/4/2011
Posts: 12
I have a Grid that requires two columns:
1. The first must be a link pointing to another page.
2. The second column is too narrow to show it's contents, therefore I would like to use something similar to a ToolTip so that the user can view all of that column's contents during a mouseover.

I have searched through your Help file but did not find a resolution.
eo_support
Posted: Thursday, November 15, 2012 4:26:25 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Ultimately both come down to raw HTML because you can not put a server control inside our Grid cell. However you can use GridColumn.DataFormat property to help you to format the HTML. For example, if your data is “http://www.google.com” and DataFormat is "<a href='{0}'>Click Here</a>", then the Grid will render a "Click Here" link the Grid cell and goes to Google when you click it.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.