Infragistis UltraComboBox - Conversion Error


Author
Message
Tim Dol
Tim Dol
Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
I'm populating a Infragistics combo box using SF Population methods and it works fine. When I blank out the field I get a error: Conversion from type 'DBNull' to type 'String' is not valid. I have set the 'Nullable' property to 'False' but it doesn't seem to make a difference.  When I use a SF ComboBox it works fine.

Any Ideas on how to resolve this issue? Is this a Infragistics problem?

Thanks

Tim

Replies
Ben Hayat
Ben Hayat
Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
(I would like to use the UltraCombo but you haven't wrapped it yet). Sorry for the confusion.


Tim, in another post, Trent mentioned that UltraCombo is derived from grid and you should use Business Binding Solution.



Hope I'm right quoting Trent!

..ßen
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Yeah, I knew which control you were referring to, but I am not sure why you are having a problem.  Ben Hayat is also correct about the UltraCombo, you can use this as we speak with the BBS.  In fact, I think it was you who initially asked that question so I am sure this is a bit redundant BigGrin
Tim Dol
Tim Dol
Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
Yes, I can use the control with a BBS but there is no biniding properties like the other controls for Business Object, binding field, state etc...  Perhaps I'm missing something?

Tim

Tim Dol
Tim Dol
Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
Trent,

I emailed you a small sample application that demonstrates the error on the ComboBoxEdit.

Tim

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Ah, yes, the data source for the grid that drops down can be bound to the BBS, but you're right, the IBusinessBindable is not implemented for the fields that you normally use to bind to a business object.  However, any control can bind to a BBS using the DataBindings type editor that you find in the "Data" category.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Tim Dol - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Tim Dol - 18 Years Ago
Ben Hayat - 18 Years Ago
Trent L. Taylor - 18 Years Ago
                         Yes, I can use the control with a BBS but there is no biniding...
Tim Dol - 18 Years Ago
                             Trent, I emailed you a small sample application that demonstrates the...
Tim Dol - 18 Years Ago
                             Ah, yes, the data source for the grid that drops down can be bound to...
StrataFrame Team - 18 Years Ago
Tim Dol - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Tim Dol - 18 Years Ago
                         Yeah that always helps :)
Trent L. Taylor - 18 Years Ago
                             Emailed you an example. Let me know if you did not receive it. Tim
Tim Dol - 18 Years Ago
                                 Yeah, I got it...but I have a lot on my desk, so I am working through...
Trent L. Taylor - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search