Tony,
>I have one datagrid that is used as the navigation control:
>'Register the Requisition Header DataGrid as the Navigation control
>Me.NavControl = Me.grdListing
>
>I have another grid in another tab that is filled with a bunch of records for a particular user or company displayed from a search.
>
>Right now when I click on a row some text boxes are populated with the grid data.
>
>However, when I do this I also want the application to navigate to the record I just picked.
Do you mean that you want the business object to navigate to the newly selected row? If so, try the following code (and replace "MyDataGrid" with a reference to your secondary DataGrid and "BusinessObject" with a reference to your business object):
DataRowView drView =
this.MyDataGrid.NavigateData(this.BindingContext, BusinessObject, mmNavigate.Refresh);
if (drView != null)
{
BusinessObject.NavigatedData(drView);
}
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