In my master page having a one grid view and my content page having different image buttons on click on that particular image button that particular data source are bind to that master page grid view...
and at i wants to perform a edit,update and select operations on that grid view for different data sources that will bind in content page
for example ..this is a content page code
protected void ibtnOwner_Click(object sender, ImageClickEventArgs e)
{
DataSet mydata = (DataSet)Session["owner"];
Ownerbind();
ScriptManager.RegisterStartupScript(this, this.GetType(), "Pop", "openModal();", true);
}
this is a master page code
protected void grdview_RowEditing(object sender, GridViewEditEventArgs e)
{
if (Session["owner"] != null)
{
grdview.EditIndex = e.NewEditIndex;
}
i use session...but this is not work properly...