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

Passing report parameter from TextBox

1 Answer 252 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Zash
Top achievements
Rank 1
Zash asked on 01 Jun 2011, 10:37 PM
 Hello,

I have report datasource like the following:

SELECT

 

 

 

 

,firstname

 

 

 

,lastname

 

 

 

,email

 

 

 

,amount

 

 

 

,dcomments

 

 

 

 

 

FROM

 

[donation]

WHERE

 

firstname LIKE '%'+@firstname+'%'

 

OR

 

lastname LIKE '%'+@lastname+'%'

 



How do i pass @firstname parameter value from report. I am trying to display textbox where user can key in but i could not. I can do dropdown for firstname but i am trying to do textbox.

Do you have any example for my issue?
Thanks,

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 02 Jun 2011, 08:04 AM
Hi Zash,

The built-in editors for the Report Parameters depend on the parameter type and whether it is multivalue or not. The editors for most types excluding DateTime are TextBox if you have a single value parameter. If you want to allow the user to type manually the parameter value in the editor, then do not bind the report parameter to show the firstname/lastname data, but of course this would mean that the user would have to know the available values beforehand.
If this is not what you're after, please elaborate on your scenario, so we can advise you accordingly.

Best wishes,
Steve
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Zash
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or