Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to update grid
Message
 
To
07/02/2008 09:10:20
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01285828
Message ID:
01290989
Views:
11
>'If all else fails, you can manually rebind the grid as shown in the MM .NET Dev Guide topic "Rebinding User Interface Controls".'
>
>I can't get this to work either.
>
>I am using bound controls on tab pages. It seems binding doesn't work unless the tab page is the top/active page.
>
>Is this normal behavior?
>
>Is there a work around since I want to keep the user on one tab page, update controls and a grid on another page that's not visible. Otherwise I have to make the updating page the top page, then go back to the page the user was on. Not a pretty sight. Like a big flash.
>
>Generally the Header info is on one page, Line Items on the next, and Receiver info on another, with a grid on these pages, and three grids on another page that is the Complete Listing page. This page has the master navigating grid on it (grdListing), and unless I go to that page, move from one record to the next, the receiver grid won't update. Not even does this work:
> Me.grdListing.NavigateData(mmNavigate.Prior)
> Me.grdListing.NavigateData(mmNavigate.Next)
>
>I think the tab control is really screwing up my application's usefullness. I can't even get a tab control click event, or SelectedIndex to work.

I highly recommend taking a very close look at your Binding settings for this control. To track down what's happening, set a breakpoint in the MM .NET mmDataGridView.OnBindData() method to see what's happening.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform