I'm having a problem very specific.. using C# and asp.net
I Have a ToolBar(made by myself) that have a DataGrid (made by myself too) as a property on it.
In the Page_Load, I instantiate a grid, then instantiate a toolbar and assign the property "grid" of the toolbar to the newly created grid.
My grid has a delegate to DataRendering, that i made an override in the aspx.cs page. In this DataRendering, I've hidden some columns of the grid.
But, when I try to access the Grid property in the toolbar object, the columns are in the initial state.....
I've try to assign as a reference, using the ref keyword, but the result was the same...
Someone here already pass through a situation like this?
View Complete Post