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.