protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { CtlExplanSubject1.BindDD(); BindSubject(); CtlExplanSubject1.SubJectID = Convert.ToInt32(ddsubject.SelectedValue); CtlExplanSubject1.BindGrid(); CtlExplanSubject1.EnableSubject = false; } }
protected void ddsubject_SelectedIndexChanged1(object sender, EventArgs e) { CtlExplanSubject1.SubJectID = Convert.ToInt32(ddsubject.SelectedValue); CtlExplanSubject1.BindGrid(); }