This isn't so much a question as feedback since I'm not able to post code due to the nature of my job, but I have a page where I'm using a RadTabStrip and RadMultiPage and on one of those pages I have a RadGrid being filled with data from an ObjectDataSource in an n-Tier application. The RadGrid works great, it fills with all my GridBound columns, I've set OverrideDataSourceControlSorting to allow it to sort my custom object with no problems.
However, when I attempted to use CommandItemTemplate I ran into a pretty significant formatting issue. The default CommandItemDisplay (add and refresh) appear fine, but as soon as I add the CommandItemTemplate all my columns and data formatting disappear. The columns don't show up at all and everything is on a single line without formatting, including the CommandItemDisplay area. I was using the skin "WebBlue" and even that wasn't showing, it was a big white box with everything crammed together.
I spent quite a bit of time attempting to find a solution including copying your CommandItemTemplate demo code into a new page and what I found is that the ObjectDataSource seems to be causing an issue. I don't know what it is (custom object maybe?) but it was frustrating to not be able to find any solution or anyone using the same structure as I am.
Is there something I'm missing about using an ObjectDataSource that the RadGrid would be handling differently than an SQLDataSource? It seems to me that it should just be looking for the column information and not care where it's coming from...
However, when I attempted to use CommandItemTemplate I ran into a pretty significant formatting issue. The default CommandItemDisplay (add and refresh) appear fine, but as soon as I add the CommandItemTemplate all my columns and data formatting disappear. The columns don't show up at all and everything is on a single line without formatting, including the CommandItemDisplay area. I was using the skin "WebBlue" and even that wasn't showing, it was a big white box with everything crammed together.
I spent quite a bit of time attempting to find a solution including copying your CommandItemTemplate demo code into a new page and what I found is that the ObjectDataSource seems to be causing an issue. I don't know what it is (custom object maybe?) but it was frustrating to not be able to find any solution or anyone using the same structure as I am.
Is there something I'm missing about using an ObjectDataSource that the RadGrid would be handling differently than an SQLDataSource? It seems to me that it should just be looking for the column information and not care where it's coming from...