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
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
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
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 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 (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.
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
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 (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
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

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
That's too bad. I was hoping it was a simple solution to prevent the error when clearing the value.  Would it help if I sent you a quick example of the problem?

Thanks,

Tim

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 that always helps Smile
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
Emailed you an example. Let me know if you did not receive it.

Tim

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 got it...but I have a lot on my desk, so I am working through the pile Smile
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