This is a migrated thread and some comments may be shown as answers.

How to use SelectParameter in RadClientDataSource?

7 Answers 139 Views
ClientDataSource
This is a migrated thread and some comments may be shown as answers.
Alex Fuernsinn
Top achievements
Rank 1
Alex Fuernsinn asked on 07 Jul 2014, 07:35 AM
Hi
Is there a possibility to use a ControlParameter as SelectParameter in RadClientDataSource similar to ObjectDataSource?

7 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 10 Jul 2014, 08:13 AM
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.

 
0
SANJAY
Top achievements
Rank 1
answered on 11 Jul 2014, 03:24 AM
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


0
Maria Ilieva
Telerik team
answered on 15 Jul 2014, 02:13 PM
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.

 
0
Alex Fuernsinn
Top achievements
Rank 1
answered on 16 Jul 2014, 05:52 AM
Hi Maria,

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

Regards,
Alex
0
SANJAY
Top achievements
Rank 1
answered on 16 Jul 2014, 10:48 AM
Hi
Just to update , A new request has been opened
http://feedback.telerik.com/Project/108/Feedback/Details/133691-selectparameter-in-radclientdatasource

Regards
0
Henrik
Top achievements
Rank 2
answered on 25 Apr 2015, 06:34 PM
Yea.. An example of how to use OnCustomParameter would be great. The dokumentation dosens say Anything about it.
0
Maria Ilieva
Telerik team
answered on 29 Apr 2015, 11:15 AM
Hello,

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

Regards,
Maria Ilieva
Telerik
Tags
ClientDataSource
Asked by
Alex Fuernsinn
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
SANJAY
Top achievements
Rank 1
Alex Fuernsinn
Top achievements
Rank 1
Henrik
Top achievements
Rank 2
Share this question
or