Datagridview in Vista
-
Hi, I have a DataGridView in my application which is bound to a BindingList... The control works perfectly when I use it in XP... But when I deploy the same application in Vista, some of the columns of the DataGridView interchange with each other and not in the order that I would want it to display... Can anyone tell me what could be done to have the DataGridView show columns in just the order it was while I designed? I've tried to explicitly specify the column's display index for each of the columns, but no luck.. :( Please note that this problem occurs only in Vista... It works fine in XP... Thanks, ramzg
-
Hi, I have a DataGridView in my application which is bound to a BindingList... The control works perfectly when I use it in XP... But when I deploy the same application in Vista, some of the columns of the DataGridView interchange with each other and not in the order that I would want it to display... Can anyone tell me what could be done to have the DataGridView show columns in just the order it was while I designed? I've tried to explicitly specify the column's display index for each of the columns, but no luck.. :( Please note that this problem occurs only in Vista... It works fine in XP... Thanks, ramzg
Did you try to set compability to XP? Are you using SQL commands? Are the columns created programaticly or in design?
-
Did you try to set compability to XP? Are you using SQL commands? Are the columns created programaticly or in design?
Hi Saksida... Thanks for the reply.. Here are my replies to your queries... Did you try to set compability to XP? My application is compatible with XP... The problem occurs only when i run it on Vista.. And I dint set the compatibility explicitly... Are you using SQL commands? No, I'm not using any SQL commands. Are the columns created programaticly or in design? The columns were created at design time and values are added to them at runtime.. Thanks, ramzg
-
Hi Saksida... Thanks for the reply.. Here are my replies to your queries... Did you try to set compability to XP? My application is compatible with XP... The problem occurs only when i run it on Vista.. And I dint set the compatibility explicitly... Are you using SQL commands? No, I'm not using any SQL commands. Are the columns created programaticly or in design? The columns were created at design time and values are added to them at runtime.. Thanks, ramzg
I am currently reading on MSDN, try AutoGenerateColumns set to false EDIT: Oh yeah that was your post on MSDN
-
I am currently reading on MSDN, try AutoGenerateColumns set to false EDIT: Oh yeah that was your post on MSDN