When using a GridHyperlink column bound to a datasource it automatically sets the title attribute of the generated link to the value of the innerHtml of the anchor element. Is there a way to set the value to another value.
<telerik:GridHyperLinkColumn DataNavigateUrlFormatString='~/{0}?Id={1}' DataNavigateUrlFields="Url,Item.Id" NavigateUrl="" HeaderText="Subject" DataTextField="Item.LinkText" />
Which will render a link if item.LinkText is equal to "Hello World"
<a href="somelink?Id=1" title="Hello world">Hello World</a>
I don't want the title attribute to contain the link's text, but some other value instead including an empty string.
Is there some way to accomplish this?
<telerik:GridHyperLinkColumn DataNavigateUrlFormatString='~/{0}?Id={1}' DataNavigateUrlFields="Url,Item.Id" NavigateUrl="" HeaderText="Subject" DataTextField="Item.LinkText" />
Which will render a link if item.LinkText is equal to "Hello World"
<a href="somelink?Id=1" title="Hello world">Hello World</a>
I don't want the title attribute to contain the link's text, but some other value instead including an empty string.
Is there some way to accomplish this?