5 Answers, 1 is accepted
0
Hi Brian,
I'm afraid that this is not possible, every combobox should be binded separately.
Best regards,
Yana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I'm afraid that this is not possible, every combobox should be binded separately.
Best regards,
Yana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Brian
Top achievements
Rank 1
answered on 06 Nov 2009, 06:05 PM
Yana
Per the drop down templates demo, I ended up binding a tree to the hierarchical data source then embedded the tree in a drop down. Selecting a leaf node on the tree is the same as selecting a value from the last of a set of dependant (related) drop downs. All of this is done on the client. I don't need the values of the non-leaf nodes (path to the leaf) for my purposes but they are readily available.
Per the drop down templates demo, I ended up binding a tree to the hierarchical data source then embedded the tree in a drop down. Selecting a leaf node on the tree is the same as selecting a value from the last of a set of dependant (related) drop downs. All of this is done on the client. I don't need the values of the non-leaf nodes (path to the leaf) for my purposes but they are readily available.
0
Hi Brian,
I'm not sure I understand the question, could you please explain in more details? Thanks
All the best,
Yana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I'm not sure I understand the question, could you please explain in more details? Thanks
All the best,
Yana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Brian
Top achievements
Rank 1
answered on 12 Nov 2009, 06:50 PM
Hey Yana
For example, I want a user to select a car manufacturer and model, e.g. Chevy Camaro before I fill a grid with upgrade option details. The UI for this manufacturer-model choice is two related drop downs. The obvious solution is to fill the manufacturer list on the server server side and configure it to postback when it changes. On the postback I can fill the model list with models for the selected manufacturer. Of course, I can optimize the postbacks with AJAX but it would be better if I delivered the data in a hierarchical format to the browser and did the car model drop down filtering on client.
I'm sure I can do this with Javascript on the client but a declarative data binding solution would be simpler. I guess the real question is, does Telerik have a hierarchical data source that acts as a client side data binding source?
In the meantime, per my previous post, I have worked around this by embedding a tree in a combo box. The tree binds to a hierarchical data source, in the for of a self-join table, and represents both the manufacturer and model choice in a single UI element without a postback.
For example, I want a user to select a car manufacturer and model, e.g. Chevy Camaro before I fill a grid with upgrade option details. The UI for this manufacturer-model choice is two related drop downs. The obvious solution is to fill the manufacturer list on the server server side and configure it to postback when it changes. On the postback I can fill the model list with models for the selected manufacturer. Of course, I can optimize the postbacks with AJAX but it would be better if I delivered the data in a hierarchical format to the browser and did the car model drop down filtering on client.
I'm sure I can do this with Javascript on the client but a declarative data binding solution would be simpler. I guess the real question is, does Telerik have a hierarchical data source that acts as a client side data binding source?
In the meantime, per my previous post, I have worked around this by embedding a tree in a combo box. The tree binds to a hierarchical data source, in the for of a self-join table, and represents both the manufacturer and model choice in a single UI element without a postback.
0
Hi Brian,
No, we do not provide such a data source.
Yet, will the Load On Demand feature be useful in your case?
Sincerely yours,
Simon
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Sincerely yours,
Simon
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.