How to use SelectParameter in RadClientDataSource?

8 posts, 0 answers
  1. Alex Fuernsinn
    Alex Fuernsinn avatar
    5 posts
    Member since:
    Nov 2013

    Posted 07 Jul 2014 Link to this post

    Hi
    Is there a possibility to use a ControlParameter as SelectParameter in RadClientDataSource similar to ObjectDataSource?
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 10 Jul 2014 Link to this post

    Hello Alex,

    The RadClientDataSource control does not provide SelectParameter such as the ObjectDataSource SelectParameter . In the current implementation of the control you could only manually pass custom parameters by using the "OnCustomParameter" client side event.

    Regards,
    Maria Ilieva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. SANJAY
    SANJAY avatar
    61 posts
    Member since:
    Jun 2012

    Posted 10 Jul 2014 in reply to Maria Ilieva Link to this post

    Hi Maria Ilieva

    It would be kind to give a complete example.

    Instead of firing from database or so, eg could revolve around if param =1 then return A else return B

    Regards


  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 15 Jul 2014 Link to this post

    Hi Sanjay,

    Unfortunately the required functionality is not implemented in the RadClietnDataSource control and could not be achieved with the current control's implementation.

    Ideas & Feedback Portal

    Therefore it will be best to log this feature request into our feedback portal so that our dev team could discuss its possible implementation.

    Regards,
    Maria Ilieva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Alex Fuernsinn
    Alex Fuernsinn avatar
    5 posts
    Member since:
    Nov 2013

    Posted 16 Jul 2014 in reply to Maria Ilieva Link to this post

    Hi Maria,

    Can you please give me an example how to pass a custom parameter by using "OnCustomParameter" Event?
    Would be great.

    Regards,
    Alex
  7. SANJAY
    SANJAY avatar
    61 posts
    Member since:
    Jun 2012

    Posted 16 Jul 2014 in reply to Alex Fuernsinn Link to this post

    Hi
    Just to update , A new request has been opened
    http://feedback.telerik.com/Project/108/Feedback/Details/133691-selectparameter-in-radclientdatasource

    Regards
  8. Henrik
    Henrik avatar
    23 posts
    Member since:
    Feb 2012

    Posted 25 Apr 2015 in reply to Alex Fuernsinn Link to this post

    Yea.. An example of how to use OnCustomParameter would be great. The dokumentation dosens say Anything about it.
  9. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 29 Apr 2015 Link to this post

    Hello,

    You can take a look at the following demo, demonstrating how to use OnCustomParameter event:

    Regards,
    Maria Ilieva
    Telerik
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017