PC Review


Reply
Thread Tools Rate Thread

Datagrid does not update

 
 
=?Utf-8?B?S29lbg==?=
Guest
Posts: n/a
 
      31st Aug 2004
Hi,


We have a master detail form for pocket pc 2003 (we're using VS 2003) that
show orderlines in a datagrid and order details in a custom form on one
screen.
When we make a change in the detail form, we would like to update the
datagrid that shows all orderlines.
However, this datagrid does not update until we move the scrollbar to the
right or select on of the rows in the datagrid.
We already tried datagrid.update, datagrid.refresh, datagrid.invalidate.
The string we are showing in one of the cells of the datagrid is large (+/-
40 chars) and we need to move the scrollbar all the way to the right, to
update the datagrid.

Any idea how we can solve this ?

thanks

koen
 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      31st Aug 2004
What is the data source to which the grid is bound? Does it implement
IBindingList? This interface is required for a source to expose change
events to a databound control.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/...ity/newsgroups

"Koen" <(E-Mail Removed)> wrote in message
news:868F93F8-2030-498D-BBAA-(E-Mail Removed)...
> Hi,
>
>
> We have a master detail form for pocket pc 2003 (we're using VS 2003)
> that
> show orderlines in a datagrid and order details in a custom form on one
> screen.
> When we make a change in the detail form, we would like to update the
> datagrid that shows all orderlines.
> However, this datagrid does not update until we move the scrollbar to the
> right or select on of the rows in the datagrid.
> We already tried datagrid.update, datagrid.refresh, datagrid.invalidate.
> The string we are showing in one of the cells of the datagrid is large
> (+/-
> 40 chars) and we need to move the scrollbar all the way to the right, to
> update the datagrid.
>
> Any idea how we can solve this ?
>
> thanks
>
> koen



 
Reply With Quote
 
=?Utf-8?B?S29lbg==?=
Guest
Posts: n/a
 
      31st Aug 2004
Hi Peter,

This is an array of objects which implements the IList, IBindingList.

regards

koen

"Peter Foot [MVP]" wrote:

> What is the data source to which the grid is bound? Does it implement
> IBindingList? This interface is required for a source to expose change
> events to a databound control.
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.inthehand.com | www.opennetcf.org
>
> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> Embedded newsgroups? Let us know!
> https://www.windowsembeddedeval.com/...ity/newsgroups
>
> "Koen" <(E-Mail Removed)> wrote in message
> news:868F93F8-2030-498D-BBAA-(E-Mail Removed)...
> > Hi,
> >
> >
> > We have a master detail form for pocket pc 2003 (we're using VS 2003)
> > that
> > show orderlines in a datagrid and order details in a custom form on one
> > screen.
> > When we make a change in the detail form, we would like to update the
> > datagrid that shows all orderlines.
> > However, this datagrid does not update until we move the scrollbar to the
> > right or select on of the rows in the datagrid.
> > We already tried datagrid.update, datagrid.refresh, datagrid.invalidate.
> > The string we are showing in one of the cells of the datagrid is large
> > (+/-
> > 40 chars) and we need to move the scrollbar all the way to the right, to
> > update the datagrid.
> >
> > Any idea how we can solve this ?
> >
> > thanks
> >
> > koen

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How best to update DataAdapter to make DataGrid update immediately like table in Access would John Edens Microsoft Dot NET Framework Forms 1 5th Aug 2005 07:44 AM
DataGrid BackGround Color and Update dataGrid msp Microsoft Dot NET Compact Framework 3 27th Apr 2005 07:33 PM
How to add a Dropdown list to a datagrid at runtime (dynamic) without using template columns in ASP.NET and still have the ability to us the datagrid Update event. Daniel Roth Microsoft Dot NET Framework 0 5th Apr 2005 04:54 AM
DataGrid ItemStyle is a textbox and doesn't update the datagrid datasource matthew schouppe Microsoft ASP .NET 3 30th Apr 2004 04:02 PM
cannot update column in bound datagrid but can update others Gerald Moore Microsoft Dot NET Framework Forms 0 15th Apr 2004 07:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:01 AM.