Reputation:
I have been searching the web for a concrete and simple example of binding a Telerik RadComboBox
with a DataSet
by following the ASP.NET MVC pattern, but couldn't find out a working snippet.
This DataSet
is present in a Class situated in the Model folder of my project.
Can anybody help me on this ?
Upvotes: 1
Views: 1120
Reputation: 57907
It's not really something that's advised. I mean, you can do it, but a Web Forms control doesn't follow the MVC Paradigm -- that is, the control contains both view and controller logic.
At best, the union is an unholy one.
Datasets also are not a creature of MVC; although I guess technically you could do that.
I don't know your situation, so I can't tell you what your 'best bet' is.
Upvotes: 2