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
1620
FromKeyTab: How to fix using WebDataGrid
posted

I am converting Infragistics 2010 v2 CLR3.5 to Infragistics 2014 v2 using 4.5 CLR using Visual Studio 2013 Professional Update 4. I am getting following error while building the project. Please reply immediately..........

Error 333 'Infragistics.Web.UI.LayoutControls.TabItemCollection' does not contain a definition for 'FromKeyTab' and no extension method 'FromKeyTab' accepting a first argument of type 'Infragistics.Web.UI.LayoutControls.TabItemCollection' could be found (are you missing a using directive or an assembly reference?)

Below error is there while fixing the code:

uGrid.DisplayLayout.Bands[0].Columns[colCount].FieldLen = Int32.Parse(dr[3].ToString());
      switch (dr[4].ToString())
     {
      case "DATE":
      uGrid.DisplayLayout.Bands[0].Columns[colCount].DataType = "System.DateTime";
      WebDateTimeEditor editor_dtOnly = (WebDateTimeEditor)
      contentTab.Tabs.FromKeyTab(tabIndex.ToString()).ContentPane.FindControl("WebDateTimeEditor_DateOnly" + tabIndex);
      editor_dtOnly.Visible = true;
      uGrid.DisplayLayout.Bands[0].Columns[colCount].EditorControlID = editor_dtOnly.UniqueID;
      uGrid.DisplayLayout.Bands[0].Columns[colCount].IsBound = true;
      uGrid.DisplayLayout.Bands[0].Columns[colCount].AllowUpdate = AllowUpdate.Yes;
      uGrid.DisplayLayout.Bands[0].Columns[colCount].Type = ColumnType.Custom;
      break;
Parents Reply Children
No Data