https://bugzilla.novell.com/show_bug.cgi?id=672050
https://bugzilla.novell.com/show_bug.cgi?id=672050#c3 Veerapuram Varadhan <vvarad...@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |vvarad...@novell.com InfoProvider| |mk...@sygnity.pl --- Comment #3 from Veerapuram Varadhan <vvarad...@novell.com> 2011-05-04 17:47:06 UTC --- Can you run a sample against .Net 2.0 and check whether the exception is raised or not? Because, if it works in 2.0, the code has not changed much in recent times. (In reply to comment #0) > Created an attachment (id=414116) --> (http://bugzilla.novell.com/attachment.cgi?id=414116) [details] > Sample demo > > Description of Problem: > > When I'm binding RadGrid to the empty datatable then the exception is thrown > as > below. Under MS.NET it works correctly, the empty grid with column names is > displayed. > > System.InvalidOperationException: The source contains no DataRows > at System.Data.DataTableExtensions.CopyToDataTable[DataRow] (IEnumerable`1 > source) [0x00000] in <filename unknown>:0 > at System.Data.DataTableExtensions.AsDataView[DataRow] > (System.Data.EnumerableRowCollection`1 source) [0x00000] in <filename > unknown>:0 > at System.Data.DataTableExtensions.AsDataView (System.Data.DataTable table) > [0x00000] in <filename unknown>:0 > at Telerik.Web.UI.GridEnumerableFromDataView..ctor > (Telerik.Web.UI.GridTableView owner, System.Data.DataView dataView, Boolean > autoGenerateColumns, Telerik.Web.UI.GridColumnCollection presentColumns, > System.String[] additionalField, Boolean retrieveAllFields, Boolean > enableSplitHeaderText) [0x00000] in <filename unknown>:0 > at Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable > (Telerik.Web.UI.GridTableView owner, IEnumerable enumerable, Boolean > caseSensitive, Boolean autoGenerateColumns, > Telerik.Web.UI.GridColumnCollection > presentColumns, System.String[] additionalField, Boolean retrieveAllFields, > Boolean enableSplitHeaderText) [0x00000] in <filename unknown>:0 > at Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource > (Telerik.Web.UI.GridTableView owner, System.Object dataSource, System.String > dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, > Telerik.Web.UI.GridColumnCollection presentColumns, System.String[] > additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) > [0x00000] in <filename unknown>:0 > at Telerik.Web.UI.GridTableView.get_ResolvedDataSource () [0x00000] in > <filename unknown>:0 > at Telerik.Web.UI.GridTableView.CreateChildControls (IEnumerable dataSource, > Boolean useDataSource) [0x00000] in <filename unknown>:0 > at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding > (IEnumerable data) [0x00000] in <filename unknown>:0 > at System.Web.UI.WebControls.DataBoundControl.InternalPerformDataBinding > (IEnumerable data) [0x00000] in <filename unknown>:0 > at System.Web.UI.WebControls.DataBoundControl.OnSelect (IEnumerable data) > [0x00000] in <filename unknown>:0 > at System.Web.UI.DataSourceView.Select > (System.Web.UI.DataSourceSelectArguments selectArgs, > System.Web.UI.DataSourceViewSelectCallback callBack) [0x00000] in <filename > unknown>:0 > at System.Web.UI.WebControls.DataBoundControl.PerformSelect () [0x00000] in > <filename unknown>:0 > at Telerik.Web.UI.GridTableView.PerformSelect () [0x00000] in <filename > unknown>:0 > at System.Web.UI.WebControls.BaseDataBoundControl.DataBind () [0x00000] in > <filename unknown>:0 > at Telerik.Web.UI.GridTableView.DataBind () [0x00000] in <filename > unknown>:0 > at Telerik.Web.UI.RadGrid.DataBind () [0x00000] in <filename unknown>:0 > at Telerik.Web.UI.RadGrid.AutoDataBind (GridRebindReason rebindReason) > [0x00000] in <filename unknown>:0 > at Telerik.Web.UI.RadGrid.OnLoad (System.EventArgs e) [0x00000] in <filename > unknown>:0 > at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename unknown>:0 > at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename unknown>:0 > at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename unknown>:0 > at System.Web.UI.Page.ProcessLoad () [0x00000] in <filename unknown>:0 > at System.Web.UI.Page.ProcessPostData () [0x00000] in <filename unknown>:0 > at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename > unknown>:0 > at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) > [0x00000] in <filename unknown>:0 > > > Steps to reproduce the problem: > 1. Run the attached demo > > Actual Results: > An invalid operation exception > > Expected Results: > Empty grid with column names > > How often does this happen? > Always > > Additional Information: > It's related only to the Telerik DLLs for the 3.5 framework, with 2.0 it's ok. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs