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

Execute validation on specific resquest

3 Answers 127 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
guillaume.lebel
Top achievements
Rank 1
Iron
Iron
guillaume.lebel asked on 18 Aug 2009, 06:47 PM
Hi,

In my application i have a report that have a few choice where the user can change and chose what kind of report he want.

For example, my report show a list of people; the user can chose to see it with certain specific grouping or simply the complete list. The report show a dropdownlist where the choices are and a button to change the view of the report.

The thing is that my validation is calling only at loading. When i click on the refresh button it doesn't do anything. I tried to use the event proposed by the base event are only called with item databinding so it isn't rly helping my cause the refresh don't cause my page to postback so i can't refresh the datasource to get the validation.

I just want to know if there,s a way to get the refresh button event in the codebehind of the report so i can set my validation or is there an other way to use the refresh button.

Thx for your time!!

Guillaume

3 Answers, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 20 Aug 2009, 04:58 PM
Hi Guillaume,

The build-in report parameter editors provide only basic validation in terms of value types and empty values. For anything more complex I would advise you to use our ASP.NET AJAX controls to build your own user interface for the parameters and implement your logic using their client-side objects and server side events.

Regards,
Chavdar
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
William Lim
Top achievements
Rank 1
answered on 20 Oct 2011, 07:27 AM
So does it means, I will re-implement the same validation in my Silverlight client, winforms client, webforms client, whereas im accesing/viewing only the same report?

Can I put the validation in the report server and throw some good UI response?
0
Steve
Telerik team
answered on 24 Oct 2011, 05:07 PM
Hi Chris,

Telerik Reporting is an embedded engine, thus available and accessible directly within your application and there is no report server (at least not yet).
The report viewers we offer with the product are different and build according to the specifics and need of the platform which would be used to display the report. So the answer to your question would be yes, if you're going to use all report viewers, then you would have to prepare UI to handle any additional custom validation you might need for all of the technologies.

Regards,
Steve
the Telerik team

Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

Tags
General Discussions
Asked by
guillaume.lebel
Top achievements
Rank 1
Iron
Iron
Answers by
Chavdar
Telerik team
William Lim
Top achievements
Rank 1
Steve
Telerik team
Share this question
or