Exemple #1
0
        protected void btnSave_Click(Object Sender, EventArgs e)
        {
            string strOrder = Request.Form[hdnOrder.UniqueID];

            oDesign.Delete(intProfile);
            int intDisplay = 0;

            while (strOrder != "")
            {
                intDisplay++;
                int intId = Int32.Parse(strOrder.Substring(0, strOrder.IndexOf("&")));
                strOrder = strOrder.Substring(strOrder.IndexOf("&") + 1);
                oDesign.Add(intProfile, intId, intDisplay, 1);
            }
            Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "reload", "<script type=\"text/javascript\">parent.navigate(parent.location);<" + "/" + "script>");
        }