Modify Read:URL In datasrouce for wrapper

2 posts, 1 answers
  1. Nick
    Nick  avatar
    2 posts
    Member since:
    Jul 2015

    Posted 05 Nov 2015 Link to this post

     I have a combobox as a wrapper in MVC within a cshtml page.  I need to modify the read.URL to build my url and supply the appropriate search criteria.  I found a similar question and provided a link below to the answer, however this is using pure javascript and doesn't really fit my situation. How do i create a custom function in the .Read of the datasource so that i can build my url but do it with the MVC Wrapper?  Also is there more detailed documentation with comments etc the api just shows you a very slim example for a feature and doesn't really document what is going on.  Any help would be appreciated.


     Link to answer that answers my exact question but i need the answer for the MVC Wrapper not javascript:

  2. Answer
    Georgi Krustev
    Georgi Krustev avatar
    3724 posts

    Posted 09 Nov 2015 Link to this post

    Hello Nick,

    The ComboBox MVC wrapper allows to send additional data to the server using the callback. You can find more details for this here: Buildинг the whole URL dynamically is not supported with the MVC wrappers. If you would like to create different URL instead of passing an additional data, then you will need to use JavaScript declaration of the widget.

    Georgi Krustev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top