Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / January 2005

Tip: Looking for answers? Try searching our database.

Datagrid with colored columns pausing during setup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob Oldfield - 21 Jan 2005 09:17 GMT
I have a windows form that contains a datagrid with columns given coloured
backgrounds via the DataGridColoredTextBoxColumn class.  Data is loaded, and
the table style set up, during the load event of the form.  At present, the
form half displays, then pauses, then completes.  Is there any way of
telling it to complete the set up _before_ displaying anything?

Thanks.
Pete Davis - 21 Jan 2005 17:36 GMT
Have you tried performing the code between a DataGrid.BeginInit() and
DataGrid.EndInit()?

Pete

> I have a windows form that contains a datagrid with columns given coloured
> backgrounds via the DataGridColoredTextBoxColumn class.  Data is loaded, and
[quoted text clipped - 3 lines]
>
> Thanks.
Rob Oldfield - 21 Jan 2005 21:01 GMT
I haven't... but I will.  Thanks for the suggestion.

> Have you tried performing the code between a DataGrid.BeginInit() and
> DataGrid.EndInit()?
[quoted text clipped - 10 lines]
> >
> > Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.