protected void ddlProjectCode1_OnSelectedIndexChanged(object sender, EventArgs e) { DropDownList ddlthis = (DropDownList)sender; GridViewRow gvrow = (GridViewRow)ddlthis.Parent.Parent; Button cmdButton1 = (Button)gvrow.FindControl("cmdButton1"); }
protected void ddlProjectCode1_OnSelectedIndexChanged(object sender, EventArgs e) { DropDownList ddlthis = (DropDownList)sender; GridViewRow gvrow = (GridViewRow)ddlthis.Parent.Parent; //Call the command button event cmdButton1_OnSelectedIndexChanged(object sender, EventArgs e) }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)