Infragistis UltraComboBox - Conversion Error


Author
Message
Tim Dol
Tim Dol
StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 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

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Any Ideas on how to resolve this issue? Is this a Infragistics problem?

Hmmm....I will have to look into it.  We recently modified the SF combobox to allow multiple-columns in the drop down which was one of the major reasons to use the Infragistics.  The Infragistics combo ultimately uses a grid in the drop-down so it created a bit more overhead and has some of the funny things you run into with grids in general.  However, that being said, it is a good control so don't get me wrong, but as for the error, I will have to look into it.  Sorry for the round-a-bout answer Ermm

Tim Dol
Tim Dol
StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
I just want to clarify.

The error is on the SF UltraComboEdit, and not the UltraCombo. (I would like to use the UltraCombo but you haven't wrapped it yet). Sorry for the confusion.

Tim

Ben Hayat
Ben Hayat
Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 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 (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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
StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 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
StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 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 (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K 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.
Tim Dol
Tim Dol
StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
Hi Trent,

Have you had a chance to look the error with the SF Infragistics UltraComboEdit yet?  I have a release coming soon and need to make a decision on changing all my Infragistic ComboBox Edit controls to SF ComboBox's.

Thanks,

TIm

  

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Tim,

I have not yet had the chance to work on this.  It will require a bit of effort and I do not think that this is something that will get done this month.  Sorry. Ermm

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search