Implementing IWebBusiness


Author
Message
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (488 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
IWebListControl is actually our own interface used for our custom list controls. You don't need to pull that accross to make the telerik control bindable, so that is probably the source of your frustration Hehe.

By just implimenting IWebBusinessBindable and going through and making sure all the properties that impliment IWebBusinessBindable are properly plumbed, it should expose your custom control to the strataframe binding, which is all you need.

So strip out all of the IWebListControll implimentations and properties, and let us know Smile.

Govinda Berrio
Govinda Berrio
StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)
Group: StrataFrame Users
Posts: 94, Visits: 481
I just tried copying the SF DropDownList interface implementations for IWebBusinessBindable and IWebListControl. I finally got past a symptom of my inexperience and got the event implementation figured out. But I think I've run into a wall and I think it has to do with Telerik RadComboBox control not having ListControl in it's inheritance hierarchy. The IWebListControl.PopulateList() method relies on the derived class being a sub-class of ListControl. So if this strategy isn't possible, it isn't possible to bind directly to a BO I guess.



Just as a suggestion, and I'm far from an expert, but what if you were to change the first parameter of WebListComob.PopulateCombo() to type IWebListControl instead of ListControl, wouldn't I then be able to pass "this" to it and it would be able to use it. "this" being the new sfRadComboBox : RadComboBox, IWebBusinessBindable, IWebListControl class?



Nevermind, that would probably throw off alot of other code, but if you look at the method's logic you'll see that that parameter is used as an IWebListControl everywhere it's used.



If that's not an option (understandable), what other option do I have?



I would really appreciate any help a developer could give me on this because this seems like a major roadblock to using native SF binding with third party web controls.



Thank You,

Govinda
Govinda Berrio
Govinda Berrio
StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)
Group: StrataFrame Users
Posts: 94, Visits: 481
Sorry, the topic title should read "Implementing IWebBusinessBindable"
Govinda Berrio
Govinda Berrio
StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)StrataFrame User (206 reputation)
Group: StrataFrame Users
Posts: 94, Visits: 481
Hi,



I'm trying to implement the interfaces to make a third party control (Telerik RadComboBox) bindable to SF business objects.



From what I've gleaned from other messages in this forum, I should look at the source code in the SF DropDownList and copy all the code from there into my subclassed control, correct?



Govinda
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