Todor snippets csvb - #2216
Merged
Merged
Conversation
add Report Generator snippets
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates multiple Telerik Reporting documentation pages to replace inline code fences with centralized {{source=... region=...}} snippet includes (C#/VB, plus some XAML/TypeScript/HTML/JSON), improving consistency and reuse across the docs set.
Changes:
- Replaced hardcoded C# code blocks with snippet include references across several “programmatically” and configuration articles.
- Added/updated paired snippet includes for C# and VB examples (and for some pages, additional formats like XAML/TypeScript/HTML/JSON).
- Minor copyediting in the WRD AI Report Generator implementation article (punctuation/formatting).
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| report-items/textbox.md | Replaces an inline C# example with C#/VB snippet includes for setting TextBox value with line breaks. |
| embedding-reports/program-the-report-definition/create-sections-programmatically.md | Replaces inline section-creation code fence with snippet includes. |
| embedding-reports/program-the-report-definition/create-report-programmatically.md | Replaces inline report creation/data source example with snippet includes. |
| embedding-reports/program-the-report-definition/create-report-items-programmatically.md | Replaces inline panel/textbox creation example with snippet includes. |
| embedding-reports/program-the-report-definition/access-report-items-programmatically.md | Replaces inline examples with snippet includes (includes a potential VB snippet source inconsistency noted in comments). |
| embedding-reports/display-reports-in-applications/wpf-application/customizing/how-to-use-rounded-corners.md | Replaces inline WPF CornerRadius example with code-behind + XAML snippet includes. |
| doc-output/configure-the-report-engine/restreportservice-element.md | Replaces inline REST service configuration example with C#/VB snippet includes. |
| designing-reports/report-designer-tools/web-report-designer/wrd-genai-implement.md | Replaces multiple inline samples (C#/TS/HTML/JSON) with snippet includes; minor copy edits. |
| designing-reports/connecting-to-data/data-source-components/entitydatasource-component/configuring-the-database-connectivity-with-the-entitydatasource-component.md | Replaces inline DbContext constructor snippet with C#/VB snippet includes. |
| designing-reports/connecting-to-data/data-items/using-the-needdatasource-event-to-connect-data.md | Replaces inline NeedDataSource example with C#/VB snippet includes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
dnikolov-prg
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.