private void AddSubmitEvent()
        {
            UpdatePanel updatePanel = Page.Master.FindControl("AdminUpdatePanel") as UpdatePanel;
            UpdatePanelControlTrigger trigger = new PostBackTrigger();
            trigger.ControlID = btnSubmit.UniqueID;

            updatePanel.Triggers.Add(trigger);
        }
        //change the values of the selected answer column in the datatable  [textbox]
        protected void txtAnswer_TextChanged(object sender, EventArgs e)
        {
            TextBox source = (TextBox)sender;
            GridViewRow gRow = (GridViewRow)source.NamingContainer;
            Label lblQuestionID = (Label)gRow.FindControl("lblQuestionPoolID");
            UpdateSelectedAnswers(lblQuestionID.Text, source.Text);

            PostBackTrigger trg = new PostBackTrigger();
            trg.ControlID = source.ClientID;
            UpdatePanel1.Triggers.Add(trg);
        }
Beispiel #3
0
        //-------------------------------------------------------------------------------------------
        public void GenerateMenu(RowAction currentPage, Type type)
        {
            string[] allowedRoles = GetUserRoles();
               MethodInfo[] methods = type.GetMethods();
               foreach (MethodInfo method in methods)
               {
                    foreach (object attrib in method.GetCustomAttributes(typeof(DynamicDataWebMethod), true))
                    {
                         DynamicDataWebMethod ddMethod = (DynamicDataWebMethod)attrib;
                         if (ddMethod.HasAnyRole(allowedRoles))
                         {
                              LinkButton webMethod = new LinkButton();
                              webMethod.ID = "DynamicWebMethod_" + method.Name;
                              webMethod.Text = ((DynamicDataWebMethod)attrib).MethodName;
                              webMethod.CommandName = method.Name;
                              webMethod.Click += new EventHandler(DynamicWebMethod_Click);
                              webMethod.CssClass = "attachmentLink";
                              webMethod.ToolTip = "Accessible to: " + String.Join(", ", ddMethod.Roles);

                              AvailableActions.Controls.Add(webMethod);

                              if (ddMethod.RequiresPostback)
                              {
                                   PostBackTrigger trig1 = new PostBackTrigger();
                                   trig1.ControlID = "DynamicWebMethod_" + method.Name;
                                   UpdatePanel1.Triggers.Add(trig1);
                              }
                              break;
                         }

                         //if (attrib.GetType() == typeof(CSSAttribute))
                         //{
                         //     ShowError(((CSSAttribute)attrib)._CSS);
                         //}
                    }
               }

               ICustomTypeDescriptor descriptor = FormView1.DataItem as ICustomTypeDescriptor;
               if (descriptor != null)
               {
                    EntityObject owner = (EntityObject)descriptor.GetPropertyOwner(null);
                    if (typeof(INavigationActions).IsAssignableFrom(owner.GetType()))
                    {
                         var NavActions = owner as INavigationActions;
                         List<WeavverMenuItem> items = (List<WeavverMenuItem>)NavActions.GetItemMenu();
                         if (items != null)
                         {
                              foreach (WeavverMenuItem item in items)
                              {
                                   if (item.Link.StartsWith("control://"))
                                   {
                                        string controlPath = item.Link.Substring(10);
                                        if (File.Exists(Server.MapPath(controlPath)))
                                        {
                                             WeavverUserControl customControl = (WeavverUserControl)LoadControl(controlPath);
                                             //quickAdd.DataSaved += new DataSavedHandler(QuickAdd_DataSaved);
                                             AvailableActions.Controls.Add(customControl);
                                        }
                                   }
                                   else
                                   {
                                        LinkButton webMethod = new LinkButton();
                                        webMethod.ID = "DynamicMethod_" + item.Name;
                                        webMethod.Text = item.Name;
                                        webMethod.CommandName = item.Name;
                                        webMethod.CssClass = "attachmentLink";
                                        AvailableActions.Controls.Add(webMethod);
                                   }
                              }
                         }
                    }
               }
        }
 private void SetImportPostBackButton()
 {
     var importPostBackTrigger = new PostBackTrigger();
     importPostBackTrigger.ControlID = UIControls.ImportButton.ID;
     _masterUpdatePanel.Triggers.Add(importPostBackTrigger);
 }
        //Draws the controls, only gets called for the first drawing of the page, not for each postback
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            try
            {
                _xml = new XmlDocument();
                _xml.LoadXml(_data.Value.ToString());

            }
            catch
            {
                _xml = createBaseXmlDocument();
            }

            _listboxLinks = new ListBox();
            _listboxLinks.ID = "links" + base.ID;
            _listboxLinks.Width = 400;
            _listboxLinks.Height = 140;
            foreach (XmlNode node in _xml.DocumentElement.ChildNodes)
            {
                string text = node.Attributes["title"].Value.ToString();
                string value =
                    (node.Attributes["type"].Value.ToString().Equals("internal") ? "i" : "e")
                    + (node.Attributes["newwindow"].Value.ToString().Equals("1") ? "n" : "o")
                    + (node.Attributes["repository"].Value.ToString().Equals("Shared Path") ? "s" : "l")
                    + node.Attributes["link"].Value.ToString();
                _listboxLinks.Items.Add(new ListItem(text, value));
            }

            _buttonUp = new Button();
            _buttonUp.ID = "btnUp" + base.ID;
            _buttonUp.Text = umbraco.ui.GetText("relatedlinks", "modeUp");
            _buttonUp.Width = 80;
            _buttonUp.Click += new EventHandler(this.buttonUp_Click);

            _buttonDown = new Button();
            _buttonDown.ID = "btnDown" + base.ID;
            _buttonDown.Attributes.Add("style", "margin-top: 5px;");
            _buttonDown.Text = umbraco.ui.GetText("relatedlinks", "modeDown");
            _buttonDown.Width = 80;
            _buttonDown.Click += new EventHandler(this.buttonDown_Click);

            _downloadLnk = new Button();
            _downloadLnk.ID = "btnDownload" + base.ID;
            _downloadLnk.Attributes.Add("style", "margin-top: 5px;");
            _downloadLnk.Text = umbraco.ui.GetText("relatedlinks", "modeDownload");
            _downloadLnk.Width = 80;
            _downloadLnk.Click += new EventHandler(this.downloadLnk_Click);

            _buttonDelete = new Button();
            _buttonDelete.ID = "btnDel" + base.ID;
            _buttonDelete.Text = umbraco.ui.GetText("relatedlinks", "removeLink");
            _buttonDelete.Width = 80;
            _buttonDelete.Click += new EventHandler(this.buttonDel_Click);

            _textboxLinkTitle = new TextBox();
            _textboxLinkTitle.Width = 400;
            _textboxLinkTitle.ID = "linktitle" + base.ID;

            _checkNewWindow = new CheckBox();
            _checkNewWindow.ID = "checkNewWindow" + base.ID;
            _checkNewWindow.Checked = false;
            _checkNewWindow.Text = umbraco.ui.GetText("relatedlinks", "newWindow");

            _textBoxExtUrl = new TextBox();
            _textBoxExtUrl.Width = 400;
            _textBoxExtUrl.ID = "exturl" + base.ID;

            _buttonAddExtUrl = new Button();
            _buttonAddExtUrl.ID = "btnAddExtUrl" + base.ID;
            _buttonAddExtUrl.Text = umbraco.ui.GetText("relatedlinks", "addlink");
            _buttonAddExtUrl.Width = 80;
            _buttonAddExtUrl.Click += new EventHandler(this.buttonAddExt_Click);

            _buttonAddIntUrlCP = new Button();
            _buttonAddIntUrlCP.ID = "btnAddIntUrl" + base.ID;
            _buttonAddIntUrlCP.Text = umbraco.ui.GetText("relatedlinks", "addlink");
            _buttonAddIntUrlCP.Width = 80;
            _buttonAddIntUrlCP.Click += new EventHandler(this.buttonAddIntCP_Click);

            _fileUpload = new FileUpload();
            _fileUpload.ID = "fileupload" + base.ID;

            _postBackTrigger = new PostBackTrigger();
            _postBackTrigger.ControlID = _buttonAddIntUrlCP.ID;

            _notification = new Label();
            _notification.ID = "notification" + base.ID;
            _notification.Text = "";

            _pagePickerExtractor = new PagePickerDataExtractor();
            _pagePicker = new pagePicker(_pagePickerExtractor);
            _pagePicker.ID = "pagePicker" + base.ID;

            ContentTemplateContainer.Controls.Add(new LiteralControl("<div class=\"relatedlinksdatatype\" style=\"text-align: left;  padding: 5px;\"><table><tr><td rowspan=\"2\">"));
            ContentTemplateContainer.Controls.Add(_listboxLinks);
            ContentTemplateContainer.Controls.Add(new LiteralControl("</td><td style=\"vertical-align: top\">"));
            ContentTemplateContainer.Controls.Add(_buttonUp);
            ContentTemplateContainer.Controls.Add(new LiteralControl("<br />"));
            ContentTemplateContainer.Controls.Add(_buttonDown);
            ContentTemplateContainer.Controls.Add(new LiteralControl("<br />"));
            ContentTemplateContainer.Controls.Add(_downloadLnk);
            ContentTemplateContainer.Controls.Add(new LiteralControl("</td></tr><tr><td style=\"vertical-align: bottom\">"));
            ContentTemplateContainer.Controls.Add(_buttonDelete);
            ContentTemplateContainer.Controls.Add(new LiteralControl("<br />"));
            ContentTemplateContainer.Controls.Add(new LiteralControl("</td></tr></table>"));

            // Add related links container
            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format("<a href=\"javascript:;\" onClick=\"document.getElementById('{0}_addExternalLinkPanel').style.display='none';document.getElementById('{0}_addExternalLinkButton').style.display='none';document.getElementById('{0}_addLinkContainer').style.display='block';document.getElementById('{0}_addInternalLinkPanel').style.display='block';document.getElementById('{0}_addInternalLinkButton').style.display='block';\"><strong>{1}</strong></a>", ClientID, umbraco.ui.GetText("relatedlinks", "addInternalFile"))));
            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format(" | <a href=\"javascript:;\" onClick=\"document.getElementById('{0}_addInternalLinkPanel').style.display='none';document.getElementById('{0}_addInternalLinkButton').style.display='none';document.getElementById('{0}_addLinkContainer').style.display='block';document.getElementById('{0}_addExternalLinkPanel').style.display='block';document.getElementById('{0}_addExternalLinkButton').style.display='block';\"><strong>{1}</strong></a>", ClientID, umbraco.ui.GetText("relatedlinks", "addExternalFile"))));
            ContentTemplateContainer.Controls.Add(new LiteralControl("<br />"));
            ContentTemplateContainer.Controls.Add(_notification);

            // All urls
            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format("<div id=\"{0}_addLinkContainer\" style=\"display: none; padding: 4px; border: 1px solid #ccc; margin-top: 5px;margin-right:10px;\">", ClientID)));
            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format("<a href=\"javascript:;\" onClick=\"document.getElementById('{0}_addLinkContainer').style.display='none';\" style=\"border: none;\"><img src=\"{1}/images/close.png\" style=\"float: right\" /></a>", ClientID, this.Page.ResolveUrl(SystemDirectories.Umbraco))));
            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format("{0}:<br />", umbraco.ui.GetText("relatedlinks", "caption"))));
            ContentTemplateContainer.Controls.Add(_textboxLinkTitle);

            //add postback trigger for upload postback
            this.Triggers.Add(_postBackTrigger);

            ContentTemplateContainer.Controls.Add(new LiteralControl("<br />"));
            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format("<div id=\"{0}_addExternalLinkPanel\" style=\"display: none; margin: 3px 0\">", ClientID)));
            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format("{0}:<br />", umbraco.ui.GetText("relatedlinks", "linkurl"))));

            ContentTemplateContainer.Controls.Add(_textBoxExtUrl);
            ContentTemplateContainer.Controls.Add(new LiteralControl("</div>"));

            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format("<div id=\"{0}_addInternalLinkPanel\" style=\"display: none; margin: 3px 0\">", ClientID)));
            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format("{0}:<br />", umbraco.ui.GetText("relatedlinks", "file"))));

            ContentTemplateContainer.Controls.Add(_fileUpload);

            ContentTemplateContainer.Controls.Add(new LiteralControl("</div>"));

            ContentTemplateContainer.Controls.Add(new LiteralControl("<div style=\"margin: 5px 0\">"));
            ContentTemplateContainer.Controls.Add(_checkNewWindow);
            ContentTemplateContainer.Controls.Add(new LiteralControl("</div>"));

            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format("<div id=\"{0}_addInternalLinkButton\" style=\"display: none;\">", ClientID)));
            ContentTemplateContainer.Controls.Add(_buttonAddIntUrlCP);
            ContentTemplateContainer.Controls.Add(new LiteralControl("</div>"));

            ContentTemplateContainer.Controls.Add(new LiteralControl(String.Format("<div id=\"{0}_addExternalLinkButton\" style=\"display: none;\">", ClientID)));
            ContentTemplateContainer.Controls.Add(_buttonAddExtUrl);
            ContentTemplateContainer.Controls.Add(new LiteralControl("</div>"));

            ContentTemplateContainer.Controls.Add(new LiteralControl("</div>"));

            ContentTemplateContainer.Controls.Add(new LiteralControl("</div>"));

            resetInputMedia();
        }
Beispiel #6
0
        public void CreateChildControls()
        {
            #region Create Child Controls
            WebMultiViewCaptions webMultiViewCaptions = new WebMultiViewCaptions();
            webMultiViewCaptions.ID = "webMultiViewCaptions";
            webMultiViewCaptions.MultiViewID = MULTIVIEW;
            webMultiViewCaptions.TableStyle = WebMultiViewCaptionStyle.Style3;
            webMultiViewCaptions.CssClass = "eReport_multiViewCaption";
            string[] caption = new string[] { "Header", "Field", "Footer", "Setting" };
            foreach (string str in caption)
            {
                WebMultiViewCaption viewcaption = new WebMultiViewCaption();
                viewcaption.Caption = str;
                webMultiViewCaptions.Captions.Add(viewcaption);
            }
            this.report.Controls.Add(webMultiViewCaptions);

            MultiView multiview = new MultiView();
            multiview.ID = MULTIVIEW;
            //multiview
            multiview.Views.Add(CreateItemView(HEADER));
            multiview.Views.Add(CreateFieldView());
            multiview.Views.Add(CreateItemView(FOOTER));
            multiview.Views.Add(CreateSettingView());
            this.report.Controls.Add(multiview);
            multiview.ActiveViewIndex = ViewNum.HeaderItemView;

            Table tableButtons = CreateTable(1, 4, null, null);

            Button buttonLoad = new Button();
            buttonLoad.CssClass = "eReport_button eReport_normal_button";
            buttonLoad.Text = ERptMultiLanguage.GetLanValue("MenuReadTemplate");
            buttonLoad.ID = BUTTON_TEMPLATE_LOAD;
            buttonLoad.Click += new EventHandler(buttonLoad_Click);
            //this.report.Controls.Add(buttonLoad);
            tableButtons.Rows[0].Cells[0].Controls.Add(buttonLoad);

            Button buttonSave = new Button();
            buttonSave.CssClass = "eReport_button eReport_normal_button";
            buttonSave.Text = ERptMultiLanguage.GetLanValue("MenuSaveTemplate");
            buttonSave.Click += new EventHandler(buttonSave_Click);
            //this.report.Controls.Add(buttonSave);
            tableButtons.Rows[0].Cells[1].Controls.Add(buttonSave);

            //Button buttonSaveAs = new Button();
            //buttonSaveAs.CssClass = "eReport_button eReport_normal_button";
            //buttonSaveAs.Text = ERptMultiLanguage.GetLanValue("MenuSaveAsTemplate");
            //buttonSaveAs.Click += new EventHandler(buttonSaveAs_Click);
            //buttonSaveAs.Visible = false;
            //this.report.Controls.Add(buttonSaveAs);

            Button buttonExport = new Button();
            buttonExport.ID = "buttonExport";
            buttonExport.CssClass = "eReport_button eReport_normal_button";
            buttonExport.Text = ERptMultiLanguage.GetLanValue("btExport");
            buttonExport.Click += new EventHandler(buttonExport_Click);
            //this.report.Controls.Add(buttonExport);
            tableButtons.Rows[0].Cells[2].Controls.Add(buttonExport);

            Button buttonClose = new Button();
            buttonClose.ID = "buttonClose";
            buttonClose.CssClass = "eReport_button eReport_normal_button";
            buttonClose.Text = ERptMultiLanguage.GetLanValue("btClose");
            buttonClose.Click += new EventHandler(buttonClose_Click);
            //this.report.Controls.Add(buttonClose);
            tableButtons.Rows[0].Cells[3].Controls.Add(buttonClose);
            this.report.Controls.Add(tableButtons);

            UpdatePanel panel = AspNetScriptsProvider.GetUpdatePanel(this.report) as UpdatePanel;
            if (panel != null)
            {
                string buttonID = GetUpdatePanelControlID(buttonExport);
                PostBackTrigger triger = null;
                foreach (UpdatePanelTrigger trig in panel.Triggers)
                {
                    if (trig is PostBackTrigger && (trig as PostBackTrigger).ControlID == buttonID)
                    {
                        triger = trig as PostBackTrigger;
                        break;
                    }
                }
                if (triger == null)
                {
                    triger = new PostBackTrigger();
                    triger.ControlID = buttonID;
                    panel.Triggers.Add(triger);
                }
            }
            #endregion

            #region Template View
            Panel templatePanel = new Panel();
            templatePanel.ID = PANEL_DATABASE;
            templatePanel.Style.Add(HtmlTextWriterStyle.Display, "none");
            templatePanel.Controls.Add(CreateDataBaseView());

            Button popupButton = new Button();
            popupButton.ID = BUTTON_POPUP_TEMPLATE;
            popupButton.Style.Add(HtmlTextWriterStyle.Display, "none");
            this.report.Controls.Add(popupButton);
            this.report.Controls.Add(templatePanel);
            ModalPopupExtender modelPopupExtender = new ModalPopupExtender();
            modelPopupExtender.ID = MODEL_POPUP_EXTENDER_TEMPLATE_LOAD;
            modelPopupExtender.TargetControlID = BUTTON_POPUP_TEMPLATE;
            modelPopupExtender.PopupControlID = templatePanel.ID;
            modelPopupExtender.CancelControlID = BUTTON_TEMPLATE_CANCEL;
            //modelPopupExtender.OkControlID = BUTTON_TEMPLATE_OK;
            modelPopupExtender.BackgroundCssClass = WebEasilyReportCSS.ModelBackground;
            //  modelPopupExtender.Drag = WebEasilyReportConfig.ModelPanelDrag;
            //modelPopupExtender.Hide();
            this.report.Controls.Add(modelPopupExtender);
            #endregion

            #region Font View
            Panel fontPanel = new Panel();
            fontPanel.ID = PANEL_FONT;
            fontPanel.Style.Add(HtmlTextWriterStyle.Display, "none");
            fontPanel.Controls.Add(CreateFontView());

            Button popupFontButton = new Button();
            popupFontButton.ID = BUTTON_POPUP_FONTVIEW;
            popupFontButton.Style.Add(HtmlTextWriterStyle.Display, "none");
            this.report.Controls.Add(popupFontButton);
            this.report.Controls.Add(fontPanel);
            ModalPopupExtender modelPopupExtenderFontView = new ModalPopupExtender();
            modelPopupExtenderFontView.ID = MODEL_POPUP_EXTENDER_FONTVIEW;
            modelPopupExtenderFontView.TargetControlID = BUTTON_POPUP_FONTVIEW;
            modelPopupExtenderFontView.PopupControlID = fontPanel.ID;
            modelPopupExtenderFontView.CancelControlID = BUTTON_FONT_CANCEL;
            modelPopupExtenderFontView.BackgroundCssClass = WebEasilyReportCSS.ModelBackground;
            //  modelPopupExtenderFontView.Drag = WebEasilyReportConfig.ModelPanelDrag;
            this.report.Controls.Add(modelPopupExtenderFontView);
            #endregion

            #region Save As View
            Panel saveAsPanel = new Panel();
            saveAsPanel.ID = PANEL_SAVE_AS;
            saveAsPanel.Style.Add(HtmlTextWriterStyle.Display, "none");
            saveAsPanel.Controls.Add(CreateSaveAsView());

            Button popupSaveAsButton = new Button();
            popupSaveAsButton.ID = BUTTON_POPUP_SAVEASVIEW;
            popupSaveAsButton.Style.Add(HtmlTextWriterStyle.Display, "none");
            this.report.Controls.Add(popupSaveAsButton);
            this.report.Controls.Add(saveAsPanel);
            ModalPopupExtender modelPopupExtenderSaveAsView = new ModalPopupExtender();
            modelPopupExtenderSaveAsView.ID = MODEL_POPUP_EXTENDER_SAVEASVIEW;
            modelPopupExtenderSaveAsView.TargetControlID = BUTTON_POPUP_SAVEASVIEW;
            modelPopupExtenderSaveAsView.PopupControlID = saveAsPanel.ID;
            modelPopupExtenderSaveAsView.CancelControlID = BUTTON_SAVEAS_TEMPLATE_CANCEL;
            modelPopupExtenderSaveAsView.BackgroundCssClass = WebEasilyReportCSS.ModelBackground;
            //  modelPopupExtenderSaveAsView.Drag = WebEasilyReportConfig.ModelPanelDrag;
            this.report.Controls.Add(modelPopupExtenderSaveAsView);
            #endregion

            #region Picture View
            Panel picturePanel = new Panel();

            picturePanel.ID = PANEL_PICTURE_VIEW;
            picturePanel.Style.Add(HtmlTextWriterStyle.Display, "none");
            picturePanel.Controls.Add(CreatePicutreView());

            Button popupPictureButton = new Button();
            popupPictureButton.ID = BUTTON_POPUP_PICTUREVIEW;
            popupPictureButton.Style.Add(HtmlTextWriterStyle.Display, "none");

            this.report.Controls.Add(popupPictureButton);
            this.report.Controls.Add(picturePanel);
            ModalPopupExtender modelPopupExtenderPictureView = new ModalPopupExtender();
            modelPopupExtenderPictureView.ID = MODEL_POPUP_EXTENDER_PICTUREVIEW;
            modelPopupExtenderPictureView.TargetControlID = BUTTON_POPUP_PICTUREVIEW;
            modelPopupExtenderPictureView.PopupControlID = picturePanel.ID;
            modelPopupExtenderPictureView.CancelControlID = BUTTON_PICTURE_CANCEL;
            modelPopupExtenderPictureView.BackgroundCssClass = WebEasilyReportCSS.ModelBackground;
            // modelPopupExtenderPictureView.Drag = WebEasilyReportConfig.ModelPanelDrag;
            this.report.Controls.Add(modelPopupExtenderPictureView);
            #endregion

            #region Download View
            Panel downloadPanel = new Panel();

            downloadPanel.ID = PANEL_DOWNLOAD_VIEW;
            downloadPanel.Style.Add(HtmlTextWriterStyle.Display, "none");
            downloadPanel.Controls.Add(CreateOutputView());

            Button popupDownloadButton = new Button();
            popupDownloadButton.ID = BUTTON_POPUP_DOWNLOADVIEW;
            popupDownloadButton.Style.Add(HtmlTextWriterStyle.Display, "none");

            this.report.Controls.Add(popupDownloadButton);
            this.report.Controls.Add(downloadPanel);
            ModalPopupExtender modelPopupExtenderDownloadView = new ModalPopupExtender();
            modelPopupExtenderDownloadView.ID = MODEL_POPUP_EXTENDER_DOWNLOADVIEW;
            modelPopupExtenderDownloadView.TargetControlID = BUTTON_POPUP_DOWNLOADVIEW;
            modelPopupExtenderDownloadView.PopupControlID = downloadPanel.ID;
            //modelPopupExtenderDownloadView.CancelControlID = BUTTON_CLOSE_DOWNLOADVIEW;
            modelPopupExtenderDownloadView.BackgroundCssClass = WebEasilyReportCSS.ModelBackground;
            //  modelPopupExtenderDownloadView.Drag = WebEasilyReportConfig.ModelPanelDrag;
            this.report.Controls.Add(modelPopupExtenderDownloadView);
            #endregion
        }