![]() |
Wrapping a DataGrid
I'm trying to wrap a datagrid inside another control, so Basically I expose
a few of its properties like this: public int PageSize { get { EnsureChildControls(); return gridDatos.PageSize; } set { EnsureChildControls(); gridDatos.PageSize = value; } } My problem is that this doesn't work with the Columns collection so I tried it like this: private DataGridColumnCollection _columns; public DataGridColumnCollection Columns { set { _columns = value; } get { return _columns; } } But this didn't work either. I get this error: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1501: No overload for method 'DataGridColumnCollection' takes '0' arguments Help please!! -- Sergio Florez M. Medellín, Colombia. |
| All times are GMT. The time now is 09:10 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.