Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I format two grids using the same GridItem?
Message
 
 
To
21/05/2009 11:26:45
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01401161
Message ID:
01401327
Views:
25
>>>Maybe not (not sure), but you could probably simulate this by passing in a TableStyle object and setting two objects the same with the same code. There are some settings that might be specific to the grid, but you would see those things.
>>>Tim
>>
>>Yes, that's what I'm going to try, thanks.
>
>Naomi,
>
>If you select your grid in design mode and go to your properties window do you have a collection property for TableStyles? I have just set up the table styles here in the DataGridTableStyle collection editor. This allows you to have them all pre setup and all you have to do is switch to them at runtime in your code. Is this available in your version you are using?
>Tim

Yes, it is available there, that's the first thing I tried when I started working on this.

My question is - can I do it manually with one grid, then copy this grid and have it working OK? They should use different datatables but both use the same DataSet/TA class.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform