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

Editing Templates

8 Answers 133 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 09 Feb 2012, 11:32 PM
I have a similar problem as an earlier posting as shown below

I have a Silverlight Report Viewer. I have a few parameters I am using to filter my results, and they have AllowNull set to true. But can I change the text of the checkbox from "Null" to "All"?   


The recommendation was to use Blend to modify the template.  The problem I have is that I own a license to visual studio 2008 and the download for Blend is 4.0.  There seems to be a compatability issue here.  Is there another way to modify this template?

8 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 10 Feb 2012, 02:17 PM
Hi Craig,

There is no integration of Blend 4 with the VS2008 context menu, but you can start Blend and select File -> Open Project/Solution and navigate to the Silverlight project. For additional information see Creating Style in Expression Blend.
About your inquiry - the Silverlight viewer cannot be localized in the current version, the upcoming Q1 2012 release scheduled for next week would offer localization for the viewer,.

Thank you for the patience.

Regards,
Steve
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Craig
Top achievements
Rank 1
answered on 10 Feb 2012, 03:11 PM
Just one clarification...   Unlike the post I clipped the comment from, my application is an ASP.NET app, not Silverlight.  I'm having a hard time figuring out where to find the template files to edit
0
Steve
Telerik team
answered on 10 Feb 2012, 05:23 PM
Hi Craig,

The Web Report Viewer is a standard web control and it does not expose a template. It comes with 4 predefined skins, which can be set through its Skin property. If those are not to your liking, you can create a custom skin as described in the Applying custom skin to the web report viewer code library.

All the best,
Steve
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Craig
Top achievements
Rank 1
answered on 10 Feb 2012, 06:10 PM
thank you

the link has a .ZIP file attachment , but it cannot be accessed or downloaded.  Can you tell me where i can get this?
0
Steve
Telerik team
answered on 10 Feb 2012, 06:16 PM
Hello,

The link is working just fine, here it is.

Regards,
Steve
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Craig
Top achievements
Rank 1
answered on 10 Feb 2012, 06:35 PM
Got it. thanks..  For some reason, the link does not download on my IE9 browser, but was able to get it on my IE8 browser just fine.

I can see how th make the custom template now, but I see nowhere in the template where I can change the reference to the text in a report parameter.

As a refresh, the problem I am trying to solve is that when you add a report parameter  ( a combo box) and set the "Allow Null" to true   you get the checkbox option that says "NULL".   For a report where you want the user to select a parameter or allow a wildcard, the work "NULL" is not appropriate and should say "ALL".     I can't see where I would make this change
0
Steve
Telerik team
answered on 11 Feb 2012, 01:13 PM
Hi Craig,

You can change the property via the ReportParametersNullText Property i.e.:

<telerik:ReportViewer ID="ReportViewer1" runat="server">
<resources reportparametersnulltext="All" />
</telerik:ReportViewer>

You can also localize these resource properties, for more info refer to Report Viewer Localization.

Kind regards,
Steve
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Craig
Top achievements
Rank 1
answered on 11 Feb 2012, 05:34 PM
Ahh, that is exactly what I needed!  Thanks for the simple solution!
Tags
General Discussions
Asked by
Craig
Top achievements
Rank 1
Answers by
Steve
Telerik team
Craig
Top achievements
Rank 1
Share this question
or