Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com
Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com
I've tried to set Gridview HyperLinkField Header text to some value using DataBinding


<%# Eval("Rating") %>

,but it caused error:

'
Gridview :Databinding expressions are only supported on objects that have a DataBinding event. System.Web.UI.WebControls.HyperLinkField does not have a DataBinding event. 

I had to assign Gridview HyperLinkField Header programmatically using RowDataBound event handler. Posted on Sunday, March 2, 2008 11:51 PM ASP.NET | Back to top


Comments on this post: Unable to set Gridview HyperLinkField Header using DataBinding

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net