Re: Grid from TexBoxes is Slow

Brady Kelly <[email protected]> Mon, 5 Nov 2007 15:12:52 +0200
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <[email protected]>
OK, that's a whole new avenue of investigation for me then.  Thank you very
much.

> -----Original Message-----
> From: Discussion forum for developers using Windows Forms to build apps
> and controls [mailto:[email protected]] On Behalf Of
> Adrian Martin
> Sent: 05 November 2007 03:11 PM
> To: [email protected]
> Subject: Re: [DOTNET-WINFORMS] Grid from TexBoxes is Slow
> 
> You DON'T need a database to use reporting services in WinForms.......
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Discussion forum for developers using Windows Forms to build apps
> and controls [mailto:[email protected]] On Behalf Of
> Brady Kelly
> Sent: 5-November-2007 12:31
> To: [email protected]
> Subject: Re: Grid from TexBoxes is Slow
> 
> Thanks Adrian, I'll look at the stacked grids and HTML. I've been
> wanting to
> brush up on my web UI skills, so maybe that's the way to go.  Our core
> product is intranet, so time improving my DHTML and Javascript will be
> well
> spent.
> 
> Although this is a pet project, I do intend to offer it for use in my
> main
> application, but many of our clients are running SQL Server Express,
> and
> don't enjoy the full benefits of Reporting Services, and none of the
> benefits of Integration Services.  BTW, my grid is for editing text
> (CSV)
> file layouts and viewing the files themselves.
> 
> > -----Original Message-----
> > From: Discussion forum for developers using Windows Forms to build
> apps
> > and controls [mailto:[email protected]] On Behalf
> Of
> > Adrian Martin
> > Sent: 05 November 2007 02:20 PM
> > To: [email protected]
> > Subject: Re: [DOTNET-WINFORMS] Grid from TexBoxes is Slow
> >
> > My other suggestion would be to try stacking datagridviews
> dynamically
> > on a scrollable container control and place that on you form.
> >
> > Each datagrid would have its style/layout appropriate to it being
> data
> > or heading
> >
> > It would be some work to synchronise them.
> >
> >
> >
> > My Other Other suggestion would be to use html in browser
> control.....
> >
> >
> > And yet another would be to use reporting services, I've always meant
> > to look into whether I can dynamically create edit fields for RS -
> just
> > not had the time recently. They could provide AMAZING data entry
> forms,
> > a bit like PowerBuilder DataWindows
> >
> >
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Discussion forum for developers using Windows Forms to build
> apps
> > and controls [mailto:[email protected]] On Behalf
> Of
> > Brady Kelly
> > Sent: 5-November-2007 11:42
> > To: [email protected]
> > Subject: Re: Grid from TexBoxes is Slow
> >
> > I'm afraid the time I'm putting into this project is my own time.
> > Management are happy with a very Spartan treeview effort that
> achieves
> > the
> > same thing, at no additional cost or time.  This is really a pet
> > project of
> > mine, to assimilate various needs I've encountered in all my data
> > integration experiences and get to know Windows Forms better.
> >
> >
> > > -----Original Message-----
> > > From: Discussion forum for developers using Windows Forms to build
> > apps
> > > and controls [mailto:[email protected]] On Behalf
> > Of
> > > Adrian Martin
> > > Sent: 05 November 2007 01:38 PM
> > > To: [email protected]
> > > Subject: Re: [DOTNET-WINFORMS] Grid from TexBoxes is Slow
> > >
> > > Whilst it fun to build your own grid, buying an advanced component
> in
> > > would save time and money and add enormous value to your project.
> > There
> > > are quite a few to choose from.... one I found quickly was
> > >
> > >
> >
> http://www.infragistics.com/dotnet/netadvantage/winforms/wingrid.aspx#O
> > > verview
> > >
> > > This is not the only datagrid 3rd party control - it's the first I
> > > found.
> > >
> > > Without priority support it costs $795, roughly £400, if you work
> out
> > > how long it would take you to create this component..... the maths
> is
> > > easy. And only stupid managers would deny the cost savings( don't
> put
> > > it like that though!)
> > >
> > >
> > > Adrian
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Discussion forum for developers using Windows Forms to build
> > apps
> > > and controls [mailto:[email protected]] On Behalf
> > Of
> > > Brady Kelly
> > > Sent: 5-November-2007 10:55
> > > To: [email protected]
> > > Subject: Re: Grid from TexBoxes is Slow
> > >
> > > I have requirements the disqualify the DataGridView.  I need to
> have
> > > interleaved rows with different column layouts, and I need e.g.
> three
> > > column
> > > header rows, also all with different column layouts.  If you can
> > offer
> > > any
> > > advice on how to achieve this with a DataGridView I would concider
> > you
> > > a
> > > hero and set about trying to do it post haste.
> > >
> > > > -----Original Message-----
> > > > From: Discussion forum for developers using Windows Forms to
> build
> > > apps
> > > > and controls [mailto:[email protected]] On
> Behalf
> > > Of
> > > > Adrian Martin
> > > > Sent: 05 November 2007 12:49 PM
> > > > To: [email protected]
> > > > Subject: Re: [DOTNET-WINFORMS] Grid from TexBoxes is Slow
> > > >
> > > > I guess the DataGridViews only look like rows and rows of
> > textboxes,
> > > > when the Grid has an active cell it dynamically creates the
> correct
> > > > control( eg TextBox ) and postions it on top and infront of the
> > cell.
> > > >
> > > > I don't have a grid handy at the minute but WinSpy++ should
> confirm
> > > > this.....
> > > >
> > > > Surely the shortcut to speeding up your grid is to replace it
> with
> > a
> > > > DataViewGrid!
> > > >
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Discussion forum for developers using Windows Forms to
> build
> > > apps
> > > > and controls [mailto:[email protected]] On
> Behalf
> > > Of
> > > > Brady Kelly
> > > > Sent: 5-November-2007 09:32
> > > > To: [email protected]
> > > > Subject: Grid from TexBoxes is Slow
> > > >
> > > > I've build a prototype custom grid using rows of TextBox
> controls,
> > > but
> > > > it's
> > > > quite slow.  Now if I use a DataGridView, with all my columns as
> > > > textbox
> > > > columns, I imagine all the cells are textboxes as well, and that
> > grid
> > > > has
> > > > huge amounts more functionality than mine.  So, I believe I can
> > > greatly
> > > > improve the speed of my grid, still using the textbox approach,
> but
> > I
> > > > haven't a clue how.  Some advice would be great.
> > > >
> > > >
> > > >
> > > > A question that keeps cropping up in my thoughts is, do I
> continue
> > > > delegating the drawing of borders to the individual textboxes, or
> > do
> > > I
> > > > draw
> > > > the grid independently, and place borderless textboxes in the
> > cells.
> > > > Is
> > > > there even much of a difference?
> > > >
> > > >
> > > > Johnston Press plc      Registered in Scotland no. SC015382
> > > > Registered Office: 53 Manor Place, Edinburgh, EH3 7EG
> > > >
> > > > Opinions expressed in this email are those of the writer and not
> > the
> > > > company.  E-mail traffic is monitored within Johnston Press and
> > > > messages may be viewed.  This e-mail and any files with it are
> > solely
> > > > for the use of the addressee(s).  If you are not the intended
> > > > recipient, you have received this e-mail in error.  Please delete
> > it
> > > or
> > > > return it to the sender or notify us by email at
> > > > [email protected]
> > >
> > >
> > > Johnston Press plc      Registered in Scotland no. SC015382
> > > Registered Office: 53 Manor Place, Edinburgh, EH3 7EG
> > >
> > > Opinions expressed in this email are those of the writer and not
> the
> > > company.  E-mail traffic is monitored within Johnston Press and
> > > messages may be viewed.  This e-mail and any files with it are
> solely
> > > for the use of the addressee(s).  If you are not the intended
> > > recipient, you have received this e-mail in error.  Please delete
> it
> > or
> > > return it to the sender or notify us by email at
> > > [email protected]
> >
> >
> > Johnston Press plc      Registered in Scotland no. SC015382
> > Registered Office: 53 Manor Place, Edinburgh, EH3 7EG
> >
> > Opinions expressed in this email are those of the writer and not the
> > company.  E-mail traffic is monitored within Johnston Press and
> > messages may be viewed.  This e-mail and any files with it are solely
> > for the use of the addressee(s).  If you are not the intended
> > recipient, you have received this e-mail in error.  Please delete it
> or
> > return it to the sender or notify us by email at
> > [email protected]
> 
> 
> Johnston Press plc      Registered in Scotland no. SC015382
> Registered Office: 53 Manor Place, Edinburgh, EH3 7EG
> 
> Opinions expressed in this email are those of the writer and not the
> company.  E-mail traffic is monitored within Johnston Press and
> messages may be viewed.  This e-mail and any files with it are solely
> for the use of the addressee(s).  If you are not the intended
> recipient, you have received this e-mail in error.  Please delete it or
> return it to the sender or notify us by email at
> [email protected]