Click here to Skip to main content
15,897,371 members

Comments by parithi vr (Top 19 by date)

parithi vr 11-Mar-14 0:40am View    
how to use Findcontrol method the following code return null

protected void ddllistallshiftday_SelectedIndexChanged(object sender, EventArgs e)
{

try
{
GridView GVph = (GridView)this.Master.FindControl("Gvtimesheet");
DropDownList ddllistallshiftday1 = (DropDownList)GVph.FindControl("ddllistallshiftday1") as DropDownList;
TextBox txtday1 = (TextBox)GVph.FindControl("txtday1") as TextBox;

}
catch
{
}
}
parithi vr 15-Jan-14 3:54am View    
The Real thing is when i select the data in dropdownlist and when i click the Edit button The dropdown list in gridview changed to its drodownlist.selectedindex=0; how can i stop the postback
parithi vr 15-Jan-14 3:53am View    
The Real thing is when i select the data in dropdownlist and when i click the Edit button The dropdown list in gridview changed to its drodownlist.selectedindex=0; how can i stop the postback
parithi vr 4-Oct-13 2:19am View    
Thanks For the help. i modified it little
parithi vr 6-Jun-13 0:27am View    
Thanks it is really helpful.