Posted by david on 11. December 2008 20:03
gridview column alignment is set like this:
Grid1.Columns[2].ItemStyle.HorizontalAlign = HorizontalAlign.Center;
( asp.net c# )
but I’m getting an out of range error … think
didn’t resolve it at all … the columns aren’t seen … think it’s because the grid view is programmatically generated .. the columns aren’t there to be set … I first put it in the page load, then tried it in the oft called update … still got the error. backburner.
another issue: grid is not persistent. when I have a couple layers on the map & the grid has updated – when I click on change icon, for example, the grid resets.
also, changing the grid template did diddly …. do I have the style hard coded somewhere?
v. 2008 12 11