Posted on: 12/27/2014 11:49:30 AM | Views : 576

SP--GetPreceptorGroupName

Security/Preceptor.aspx
hdnPrecepotrselectedbtn



I have aspx page and user control, I am using user control .ascx in page.
and in aspx page has one dropwdown control.
in ascx page I am check this condtion like below when I change the drop down value means it will fire.
protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack) { DropDownList ddlParent = (DropDownList)this.Parent.FindControl("ddlgroupName");
if (ddlParent != null && ddlParent.SelectedValue != "-1" && ddlParent.SelectedValue != "0") { // lstSelectedResidents.Items.Clear(); GetPreceptorTraineeslist(); //bind the dropdown list }
} }else { //some thing logic }
}
Problem is In .ascx user control has one asp.net button "ADD", I am mov ...

Go to the complete details ...