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

Changing the "Preview" Button

6 Answers 466 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 03 Apr 2012, 02:41 PM
So, created the dashboard (report....have to call it a dashboard...don't ask), and have it set the way I want it.  It's a very basic three text inputs and a chart for results.  The trouble is the button that says "Preview".  I wanted to change it to say "Run", however, it doesn't look like there is any line in the code to do so.

Am I missing something?


Thanks gang!

6 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 04 Apr 2012, 09:16 AM
Hi Matt,

In order to change the Preview button text you can:
All the best,
Peter
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Matt
Top achievements
Rank 1
answered on 05 Apr 2012, 12:47 PM
"Web/Win forms report viewer modify the ReportViewer.Resources.ReportParametersPreviewButtonText property"

Where exactly do I find this?  I've scoured my page and seen nothing resembling the information in that link.  This is the problem with not being a coder and being expected to be one.  Sigh...
0
Steve
Telerik team
answered on 05 Apr 2012, 01:04 PM
Hi Matt,

It's a property of the report viewer, it can be set programmatically or declaratively from the Report Designer property grid.

Kind regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Matt
Top achievements
Rank 1
answered on 05 Apr 2012, 02:00 PM
Ok, we are still having trouble with this.

Can you show me an example programatically how this works?  We also looked through the properties fields and still were unable to find the section you mentioned.  My software guy had some trouble with this as well.

I'm sorry for the trouble on this, but it seems to be a bit of a problem child.
0
Steve
Telerik team
answered on 06 Apr 2012, 10:46 AM
Hello Matt,

Not sure what hurdles you've hit as this is a standard property. I've attached two screenshots showing how to change the property value from both the Visual Studio designer and with code.

All the best,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Matt
Top achievements
Rank 1
answered on 06 Apr 2012, 01:43 PM
Attaching the snapshots worked wonders.  I managed to get the button to change to run after a lot of trial and error.  Thanks a bunch!
Tags
General Discussions
Asked by
Matt
Top achievements
Rank 1
Answers by
Peter
Telerik team
Matt
Top achievements
Rank 1
Steve
Telerik team
Share this question
or