Esempio n. 1
0
        protected void btnSaveGroup_Click(object sender, EventArgs e)
        {
            SqlDataSourceGroupName.Insert();
            DropDownLisGroupName.DataBind();
            string hu = "alert('Record  Saved');$('#dvAddGroup').dialog('close');";

            ScriptManager.RegisterClientScriptBlock(UpdatePanel1, typeof(UpdatePanel), "jscript", hu, true);
        }
Esempio n. 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         DropDownLisGroupName.DataBind();
         DropDownListModuleName.DataBind();
         GridView1.DataBind();
     }
 }