Title / Description
Code eBusinessDialogAjax dlg = ControlCache["MY1"] as eBusinessDialogAjax; if (dlg == null) { eBusinessAjaxFakeItem c1 = new eBusinessAjaxFakeItem(); c1.Initialize("das", 1, 1, 2, 2, null, "das", null, UserContext); dlg = new eBusinessDialogAjax(); dlg.ID = "MY1"; dlg.ContentControl = c1; dlg.HideEffect = JQueryUIEffects.explode; dlg.ShowEffect = JQueryUIEffects.puff; dlg.Width = 500; dlg.Height = 400; dlg.Resizable = false; dlg.Draggable = false; dlg.Position = new eJqueryUiNumericPosition(700, 200); dlg.AutoOpen = false; dlg.PostbackOnClose = true; dlg.HtmlAttributes.Add("dasd", "ffsdf"); dlg.CssStyles.Add("background-color", "red"); dlg.Close += new EventHandler(dlg_Close); dlg.LoadedFromCache += new EventHandler(dlg_LoadedFromCache); dlg.InsertedIntoCache += new EventHandler(dlg_InsertedInToCache); ControlCache["MY1"] = dlg; } divMain.Controls.Add(dlg);
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code