-
Notifications
You must be signed in to change notification settings - Fork 29
Created shared-data-source.md #1853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 25 commits
8a9c136
0b646fb
e6560f8
21a55c3
c8ba0d3
9114242
b2902d0
9dba5df
14a74c6
91179fd
154a0a7
f7cb35f
f0b108d
a7e0531
4492fcb
0528ab6
5d4ebe2
3489179
29bbab2
c5f6696
b14bcb8
6af48cf
92f3632
5465738
16c10b6
960f712
45ec3d8
ac17a01
a50c860
95b67ba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,102 @@ | ||||||
| --- | ||||||
| title: Sharing Resources | ||||||
| page_title: Web Report Designer - Assets Manager | ||||||
| description: To share resources when crafting reports in Telerik Reporting and the Web Report Designer, you use the Assets Manager. | ||||||
| slug: web-report-designer-user-guide-assets-manager | ||||||
| tags: web, report, design, tool, create, started | ||||||
| published: True | ||||||
| position: 8 | ||||||
| --- | ||||||
| <style> | ||||||
| img[alt$="><"] { | ||||||
| border: 1px solid lightgrey; | ||||||
| } | ||||||
| </style> | ||||||
|
|
||||||
| # Sharing Resources with Assets Manager | ||||||
|
|
||||||
| To share resources (like company logo, data files) when crafting reports in the [Web Report Designer](https://demos.telerik.com/reporting/designer), Telerik Reporting offers the **Assets Manager** tool. It is designed to help report authors manage shared resources used across multiple reports. It provides centralized resource management which allows uploading, organizing, renaming, and deleting various types of assets directly on the server. The **Assets Manager** ensures a unified consistent look and feel across reports and enables teams to work together - data experts can manage sources, while designers focus on presentation. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
|  | ||||||
|
|
||||||
| ## What Resources You Can Share | ||||||
|
||||||
| ## What Resources You Can Share | |
| ## What Resources Can You Share? |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| You can share and reuse: | |
| In the Web Report Designer, you can share and reuse: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid using abbreviations of Latin origin.
| * **Images** (e.g., logos, backgrounds): Suitable for using a company logo accross multiple reports when the logo is stored at one centralized place. | |
| * **Images** (for example, logos, backgrounds): Suitable for using a company logo across multiple reports when the logo is stored at one centralized place. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Data files** (e.g., CSV, JSON, shapefiles): Share common data that can be reused accross multiple users. | |
| * **Data files** (for example, CSV, JSON, shapefiles): Share common data that can be reused across multiple users. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Report Templates** (.trtx file): Offer initial report layout and styling, and allow creating reports with consistent look and feel. | |
| * **Report Templates** (`.trtx` file): Offer initial report layout and styling, and allow creating reports with a consistent look and feel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Once uploaded, assets can be reused in multiple reports, ensuring consistency and reducing duplication. For example, updating a company logo in the Assets Manager updates it across all reports using that asset. | |
| Once uploaded, you can reuse the assets in multiple reports, ensuring consistency and reducing duplication. For example, updating a company logo in the Assets Manager updates it across all reports using that asset. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| To invoke the Assets Manager in the Telerik Web Report Designer, follow these steps: | |
| To share a resource in the Web Report Designer: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 1. Select "Assets Manager" from the menu options: | |
| 1. Select **Assets Manager** from the menu options: |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## Default Folders | |
| ## Default Folders for Shared Resources |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Several default folders that help organize shared resources for use across multiple reports are created automatically and cannot be renamed or deleted by end-users, though developers can configure them differently on the backend. | |
| Several default folders that help organize shared resources for use across multiple reports are created automatically and cannot be renamed or deleted by users who create reports. Note that your application developer may have configured different folders in your application. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The most common separator used in lists is the em dash (—). Use it instead of the brackets.
- The preferred style for folder names is the
inline codestyle. Use it instead of bold.
| * **Data** (Stores data files like .csv, .json, and shapefiles used in Map items) | |
| * `Data`—Stores data files like `.csv`, `.json`, and shapefiles used in Map items) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Images** (Contains image files used in PictureBox items, backgrounds, logos, etc.) | |
| * `Images`—Contains image files used in PictureBox items, backgrounds, logos, and so on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Styles** (Holds stylesheets (e.g., .trdx, .css) used for consistent styling across reports. | |
| * `Styles`—Holds stylesheets (for example, `.trdx`, `.css`) used for consistent styling across reports. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Users can create subfolders within these categories to better organize their assets. Developers can configure different predefined folders on the backend if needed. | |
| You can create subfolders within these categories to better organize their assets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the Reports and Shared Data Sources folders are also predefined, they should be listed in the list above for consistency instead of adding them as new sections below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The `Reports` folder is a dedicated folder for storing report definitions which includes all available reports on the server. It is possible to organize them into subfolders, grouping the reports by category, department, or purpose. Shared reports that can be reused as SubReports in other designs. | |
| The `Reports` folder is a dedicated folder for storing report definitions, which includes all available reports on the server. It is possible to organize them into subfolders, grouping the reports by category, department, or purpose. Shared reports that can be reused as SubReports in other designs. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"UI" is not a general term that non-technical audiences understand.
| ## What Enhanced UI Features Can Be Used | |
| ## Using the Assets Manager Features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| To help you manage your shared resources with ease and flexibility the Assets Manager is packed with a rich set of UI intuitive features: | |
| To help you manage your shared resources with ease and flexibility, the Assets Manager provides several intuitive features: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style the list items consistently.
| * **Choose Your View: Grid or List** | |
| * **Choose Your View: Grid or List**—You can switch between Grid View and List View depending on your workflow. The Grid View also supports column resizing for better visibility. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Prefer a visual layout or a compact list? You can switch between Grid View and List View depending on your workflow. Grid View even supports column resizing for better visibility. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Manage Files Effortlessly**: Upload, download, rename, move, or delete files and folders - all in one place. You can even drag and drop files directly into the manager for quick uploads. | |
| * **Manage Files**—Upload, download, rename, move, or delete files and folders—all in one place. You can also drag and drop files directly into the manager for quick uploads. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **View Asset Details Instantly**: Want to see more info about a file? Just select an asset and toggle the `View Details` button. A panel on the right will show metadata like file name, type, and size: | |
| * **View Asset Details**—Selecting an asset and toggling the **View Details** button brings up a panel on the right that shows metadata like file name, type, and size: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Quick Access to Recent Assets**: No need to search for files you just used - your recently accessed assets are tracked and easily accessible. | |
| * **Quick Access to Recent Assets**—Your recently accessed assets are tracked and easily accessible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Organize Reports for Report Books**: If you are creating a Report Book, use the Assets Manager to select and organize individual reports into a cohesive, multi-report document. | |
| * **Organize Reports for Report Books**—If you are creating a Report Book, use the Assets Manager to select and organize individual reports into a cohesive, multi-report document. |
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,45 @@ | ||||||||||||||||
| --- | ||||||||||||||||
| title: Conditional Formatting | ||||||||||||||||
| page_title: Web Report Designer - Conditional Formatting | ||||||||||||||||
| description: Learn how to apply conditional formatting in Telerik Web Report Designer to dynamically style report items based on data values or expressions, improving readability and visual impact. | ||||||||||||||||
| slug: wrd-conditional-formatting | ||||||||||||||||
| tags: web, report, design, customize, style, condition, formatting, properties, area | ||||||||||||||||
| published: True | ||||||||||||||||
| position: 1 | ||||||||||||||||
| --- | ||||||||||||||||
| <style> | ||||||||||||||||
| img[alt$="><"] { | ||||||||||||||||
| border: 1px solid lightgrey; | ||||||||||||||||
| } | ||||||||||||||||
| </style> | ||||||||||||||||
|
|
||||||||||||||||
| # Conditional Formatting | ||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||
|
|
||||||||||||||||
| To visually highlight important data, **Conditional formatting** lets you automatically style report items based on the values they display making your reports more dynamic and easier to read. For example, you can set a TextBox showing revenue to turn red if the value drops below 10,000. This helps draw attention to numbers that need review or action. | ||||||||||||||||
|
||||||||||||||||
| To visually highlight important data, **Conditional formatting** lets you automatically style report items based on the values they display making your reports more dynamic and easier to read. For example, you can set a TextBox showing revenue to turn red if the value drops below 10,000. This helps draw attention to numbers that need review or action. | |
| Using *conditional formatting* lets you apply styles to report items automatically based on data values or expression results. For example, you can set a revenue TextBox to display in red when its value is less than 10000, helping users quickly spot underperforming figures. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- As you make the distinction between formatting a single item vs. multiple items, make sure you open this new section with a sentence that explains when formatting a single item is the right approach for the report.
- Don't rely only on the video, add a simplified step-by-step instruction as well.
- "Watch this" is too informal, aim for a neutral tone.
| Watch this quick tutorial to learn how to apply conditional formatting to a LineTotal TextBox in a table - changing its color to red when the *value is less than 50*: | |
| [Your text explaining when to use conditional formatting for a single item]. | |
| [Simplified step-by-step instructions]. | |
| The quick video tutorial below shows how to apply conditional formatting to a LineTotal TextBox in a table by changing its color to red when a value is less than 50. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- "While conditional formatting works great on individual items..." sounds like you are saying that multiple items formatting doesn't work. Aim for something more neutral.
| While conditional formatting works great on individual items, applying it to multiple selected items at once is a challenge. When **multiple** items are selected, even though ConditionalFormatting is technically supported on each individual item, the designer cannot guarantee consistent behavior across all selected items. Hence, it does not allow batch editing of conditional formatting rules to make for example alternating row style for all the cells belonging to the table row. It requires you to apply rules **individually** to each item: | |
| Applying conditional formatting to multiple selected items at once is less straight forward than formatting a single item. Although conditional formatting is supported on all individual report items, selecting multiple items and applying formatting to all of them at once is not supported. | |
| To apply or edit the conditional formatting rules for multiple report items: | |
| 1. Select each item (for example, a TextBox) one at a time. | |
| 1. Add the conditional formatting rule to each item one at a time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * Select each TextBox (or other report item) one at a time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * Add the same conditional formatting rule manually. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| To save time, you can group items inside a Panel and apply the conditional formatting to the panel itself. This way, all nested items inherit the style based on the condition. This approach is shown in the following video: | |
| To improve your productivity when applying conditional formatting to many items, add a [Panel item]({%slug user-guide/components/report-items%}#panel) and group these target items inside the Panel. Then, apply the conditional formatting to the panel itself. This way, all items placed in the Panel inherit the style applied by the condition you set. | |
| The following video shows how to use a Panel to apply conditional formatting to multiple report items. |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,65 @@ | ||||||
| --- | ||||||
| title: Overview | ||||||
| page_title: Web Report Designer - Customizing Report Items Overview | ||||||
| description: Learn how to customize the visuals of your report using the fine-grained, built-in styling model, similar to the Cascading Style Sheets (CSS) model. | ||||||
| slug: web-report-designer-customizing-report-items | ||||||
| tags: web, report, design, customize, style, condition, formatting, properties, area | ||||||
| published: True | ||||||
| position: 0 | ||||||
| --- | ||||||
| <style> | ||||||
| img[alt$="><"] { | ||||||
| border: 1px solid lightgrey; | ||||||
| } | ||||||
| </style> | ||||||
|
|
||||||
| # Customizing Report Items - Overview | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| A well-styled report looks professional and polished. Styling report items serves both, functional and aesthetic, purposes. Visual consistency (e.g., using a theme or style rules) improves user experience and brand alignment. It allows you to improve readability and clarity in your reports. Applying different colors or fonts distinguishes separate sections or highlight key information. | ||||||
|
||||||
| A well-styled report looks professional and polished. Styling report items serves both, functional and aesthetic, purposes. Visual consistency (e.g., using a theme or style rules) improves user experience and brand alignment. It allows you to improve readability and clarity in your reports. Applying different colors or fonts distinguishes separate sections or highlight key information. | |
| A well-styled report looks professional, clear, and is easy to read. Styling report items serves both functional and aesthetic purposes. Visual consistency (for example, using the same theme or style rules) improves user experience and supports brand alignment. Applying different colors or fonts lets you highlight specific sections or key information. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I suggest making this sentence the first one in the article, as it provides a good overview of the article.
- Are you sure that the users of this documentation know what CSS is?
| To customize or style report items in the Telerik Web Report Designer, you can use its built-in CSS-like styling model and the Properties panel. | |
| To customize or style report items in the Telerik Web Report Designer, you can use the built-in styling model and the variety of style-related properties in the Properties panel on the right. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## Properties Area - What Is It For | |
| ## Using the Properties Panel |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The **Properties Area** lets you control how each report item looks and behaves. Whether you are working with a TextBox, Table, Chart, or Image, this panel gives you access to all the relevant settings in one place: | |
| By using the Properties Panel, you can control the appearance and behavior of each report item. Whether you are working with a TextBox, Table, Chart, or Image, this panel gives you access to all the relevant settings in one place: |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Style your items**: Change fonts, colors, borders, background, padding, and more. | |
| * **Style items**—Change fonts, colors, borders, backgrounds, paddings, and more. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Set data bindings**: Connect report items to fields or expressions from your data source. | |
| * **Bind data**—Connect report items to fields or expressions from your data source. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Adjust layout**: Modify size, position, alignment, and visibility. | |
| * **Adjust layout**—Modify size, position, alignment, and visibility. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Apply conditional formatting**: Dynamically change appearance based on data values. | |
| * **Apply conditional formatting**—Dynamically change appearance based on data values. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Configure behavior**: Set actions like navigation, visibility rules, or interactivity. | |
| * **Configure behavior**—Set actions like navigation, visibility rules, or interactivity. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## What Makes the Properties Area So Useful | |
| ## Adjusting the Properties Panel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try using less marketing-specific language.
| The Properties Area in the Web Report Designer is designed to make customizing your report items smooth and intuitive. Here’s how it helps you work smarter: | |
| To facilitate the easier styling of your report, the Properties Panel offers several features that simplify access to the built-in styling tools: |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Switch Between Views That Work for You**: Choose the layout that fits your style: | |
| * **Switch between two views**: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Categorized View**: Groups properties by function (like Appearance, Layout, Data), making it easier to find what you need. | |
| * **Categorized view**: Groups properties by function (like Appearance, Layout, Data), making it easier to find what you need. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Alphabetical View**: Lists everything in order - perfect if you know exactly what you're looking for. | |
| * **Alphabetical view**: Lists everything in order—perfect when you know exactly what you're looking for. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Visualize Property Hierarchies with Indent Guides**: In case of nested properties Indent Line Guides help you see how settings are structured, so you can navigate complex items with confidence: | |
| * **See property hierarchies**—The indentation of the properties helps you understand and navigate the structure of the settings: |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * **Find What You Need Fast**: Use the Global Search bar at the top to instantly locate any property or editor. No more scrolling through long lists! | |
| * **Search properties**—Use the Search box at the top to locate any property or editor. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should also be a bullet in the list above, not a section with a heading.
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,98 @@ | ||||||||||
| --- | ||||||||||
| title: StyleSheet Formatting | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| page_title: Web Report Designer - StyleSheet Formatting | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| description: Learn how to customize the visuals of your report using the fine-grained, built-in styling model, similar to the Cascading Style Sheets (CSS) model. | ||||||||||
| slug: wrd-stylesheet-formatting | ||||||||||
| tags: web, report, design, customize, style, condition, formatting, properties, area | ||||||||||
| published: True | ||||||||||
| position: 3 | ||||||||||
| --- | ||||||||||
| <style> | ||||||||||
| img[alt$="><"] { | ||||||||||
| border: 1px solid lightgrey; | ||||||||||
| } | ||||||||||
| </style> | ||||||||||
|
|
||||||||||
| # StyleSheet Formatting | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| To keep your report design clean, consistent, and easy to manage StyleSheets in the Web Report Designer let you apply centralized, reusable styles - just like CSS in web development. | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
|
|
||||||||||
| To apply formatting via external stylesheets, you can use a CSS-like styling model that allows centralized and reusable styling across multiple report items. | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| ## How to Create a StyleSheet | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| In the Web Report Designer: | ||||||||||
|
|
||||||||||
| 1. Select the **Report** object. | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This step isn't shown in the video. Make sure the video and the steps you describe are identical. |
||||||||||
|
|
||||||||||
| 1. Go to the StyleSheet property. | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not in the video as well. The video shows using the search box. |
||||||||||
|
|
||||||||||
| 1. Click the `+` button to open the **StyleRule Collection Editor**. | ||||||||||
|
|
||||||||||
| 1. Click Add to create a new StyleRule. | ||||||||||
|
|
||||||||||
| 1. Define the Style (e.g., background color, font, borders). | ||||||||||
|
|
||||||||||
| 1. Add Selectors to target specific items (e.g., all TextBox, PictureBox items). | ||||||||||
|
|
||||||||||
| The following tutorial shows how to define a StyleRule in the report's StyleSheet and apply the style to multiple items using selectors (e.g., by item name or type): | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| <iframe width="560" height="315" src="https://www.youtube.com/embed/HIjkZc48abM?si=aUZKq7TlyfuwBIp2" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> | ||||||||||
|
|
||||||||||
| ## Using External StyleSheets | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| If you want to keep your styles in a separate file, use an external StyleSheet (XML format) to define and apply styles across reports. An external StyleSheet is an XML file that contains StyleRules. These rules define how report items should look - similar to CSS in web development. You can apply styles based on: | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| * **TypeSelector**: Applies to all items of a specific type (e.g., all TextBox items). | ||||||||||
| * **AttributeSelector**: Applies to items with specific attributes. | ||||||||||
| * **StyleSelector**: Applies to items with a specific StyleName. | ||||||||||
| * **DescendantSelector**: Applies to items nested within others. | ||||||||||
|
|
||||||||||
| To add an External StyleSheet in the Web Report Designer: | ||||||||||
|
|
||||||||||
| 1. Select the **Report** object. | ||||||||||
|
|
||||||||||
| 1. Go to the **External style sheets** property. | ||||||||||
|
|
||||||||||
| 1. Click the `+` button to add an external StyleSheet. | ||||||||||
|
|
||||||||||
| You can define an external style sheet with: | ||||||||||
|
|
||||||||||
| * **Absolute** Path/URL: for example *C:\Application1\StyleSheets\StyleSheet1.xml* or *https://www.mysite.com/Application1/StyleSheets/StyleSheet1.xml* | ||||||||||
| * **Relative** Path/URL: for example *.\StyleSheets\StyleSheet1.xml* or *~/StyleSheets/StyleSheet1.xml* | ||||||||||
|
|
||||||||||
|  | ||||||||||
|
|
||||||||||
| ## Sample StyleRule | ||||||||||
|
|
||||||||||
| Here's an example that styles all TextBox items with a light gray background, dark blue text, and bold Arial font: | ||||||||||
|
|
||||||||||
| ```XML | ||||||||||
|
|
||||||||||
| <StyleSheet> | ||||||||||
| <StyleRule> | ||||||||||
| <Selectors> | ||||||||||
| <TypeSelector Type="Telerik.Reporting.TextBox" /> | ||||||||||
| </Selectors> | ||||||||||
| <Style> | ||||||||||
| <BackgroundColor>LightGray</BackgroundColor> | ||||||||||
| <Color>DarkBlue</Color> | ||||||||||
| <Font> | ||||||||||
| <Name>Arial</Name> | ||||||||||
| <Size>10pt</Size> | ||||||||||
| <Bold>true</Bold> | ||||||||||
| </Font> | ||||||||||
| </Style> | ||||||||||
| </StyleRule> | ||||||||||
| </StyleSheet> | ||||||||||
|
|
||||||||||
| ``` | ||||||||||
| And here's how it looks in the report preview: | ||||||||||
|
|
||||||||||
|  | ||||||||||
|
|
||||||||||
| ## See Also | ||||||||||
|
|
||||||||||
| * [Web Report Designer]({%slug user-guide/overview%}) | ||||||||||
| * [Styling the Report]({%slug telerikreporting/designing-reports/styling-reports/using-styles-to-customize-reports%}) | ||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.