Okay, I am a newbie to this realm .net controls, so please be kind...
I have a page that contains a tabcontainer, inside one of the tab panels I have an update panel - and inside that i have a sortable gridview. I am trying to make the row on the gridview clickable but can't seem to catch the rowdatabound event of my GridView1. I need to trap the rowdatabound event so I can add the following code.
protected void GridView1_RowDataBound(object sender, System.Web.UI.WebControls.GridViewRowEventArgs e)
{
if ((e.Row.RowType == DataControlRowType.DataRow))
{
e.Row.Attributes["style"] += "cursor: pointer; cursor: hand;";
e.Row.Attributes["ondblclick"] = Page.ClientScript.GetPostBackEventReference(Select, String.Empty);
}
}
The overall outcome, is that I want the user to be able to select a row on the gridview which will push them to the next tab that would contain all of the relevant information from the parent record selected.
Unfortunately I can't even seem to get my hidden ButtonField to fire accordingly. Any Help would be terrific!
Thanks In Advance.