Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
88
Can't set the statement of formview which is inside a websplitter
posted

Infragistics.Web.UI.LayoutControls.SplitterPane  SplitterPane;
            Infragistics.Web.UI.TemplateContainer TemplateContainer;
            FormView tmpFormView;
            SplitterPane = this.WebSplitter1.Panes[1];
            TemplateContainer = SplitterPane.Controls[0] as Infragistics.Web.UI.TemplateContainer;
            tmpFormView = TemplateContainer.FindControl("FormView1") as FormView;

                if (Request.Params["eviKind"] == "eviEdit")
                {

                    tmpFormView.DefaultMode = System.Web.UI.WebControls.FormViewMode.Edit;
                    this.FormView1.DefaultMode = tmpFormView.DefaultMode;

                }


Can't set the statement of formview which is inside a websplitter.Can you help me ?Thank you.