Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmPicker - data binding to a data view
Message
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
MmPicker - data binding to a data view
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00989474
Message ID:
00989474
Views:
46
I have an mmPicker whose BindingSourceMember is BizObjectName.DataViewName.ColumnName. Trying to set what's shows in the mmPicker's text box to a certain row in the data view.

The mmPicker doesn't seem to expose it's protected mmTextBox txtEntry, so I can't do something like
this.mmPicker1.DataBindings[0].BindingManagerBase.Position = someInt;
as the picker doesn't have any Bindings in it's ControlBindingCollection.

And unlike a business object, you can't just set the .DataRow property of a DataView. I'm tossing around the idea of subclassing or tweaking the mmPicker source code, or, .MoveNext() through the DataView's rows until I find the row I want. Second option seems like a pain.

Any thoughts?

TIA,
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform