Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This page contains the steps to build and run the Syncfusion Toolkit for Blazor
3. Run these commands:
```dotnetcli
dotnet restore
dotnet build ./Syncfusion.Blazor.Toolkit.slnx
dotnet build ./src/Syncfusion.Blazor.Toolkit.slnx
```

### Release sanity check (local)
Expand Down
2 changes: 1 addition & 1 deletion .github/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The documents referenced below contain project information related to licensing,

## Performance Documentation

- [evidences/performance/virtualization-strategy.md](./evidences/performance/virtualization-startegy.md)
- [evidences/performance/virtualization-strategy.md](./evidences/performance/virtualization-strategy.md)
- Virtualization approach and rationale.

- [evidences/performance/render-tree-efficiency.md](./evidences/performance/render-tree-efficiency.md)
Expand Down
12 changes: 6 additions & 6 deletions .github/skills/syncfusion-blazor-toolkit-buttons/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Re-rendering also fights the awaited continuations.

**Correct:**
```razor
@using Syncfusion.Blazor.Toolkit.Buttons
@using Syncfusion.Blazor.Toolkit

<SfButton OnClick="@SaveAsync">Save</SfButton>
@code {
Expand Down Expand Up @@ -107,7 +107,7 @@ won't catch "user selected nothing" unless you write a custom validator.

**Correct:**
```razor
@using Syncfusion.Blazor.Toolkit.Buttons
@using Syncfusion.Blazor.Toolkit
@using System.ComponentModel.DataAnnotations

<EditForm Model="editor">
Expand All @@ -121,7 +121,7 @@ won't catch "user selected nothing" unless you write a custom validator.
</EditForm>

@code {
private void SelectionChanged(Syncfusion.Blazor.Toolkit.Buttons.SelectedItemsChangedEventArgs e)
private void SelectionChanged(Syncfusion.Blazor.Toolkit.SelectedItemsChangedEventArgs e)
{
editor.Selection = e.SelectedIndexes; // not empty after a click
}
Expand All @@ -143,7 +143,7 @@ fires two navigations. ARIA reports two controls on one element.

**Correct:**
```razor
@using Syncfusion.Blazor.Toolkit.Buttons
@using Syncfusion.Blazor.Toolkit

<a href="/detail/42" role="link">
<SfButton Content="Open"
Expand Down Expand Up @@ -171,7 +171,7 @@ flag itself.

**Correct:**
```razor
@using Syncfusion.Blazor.Toolkit.Buttons
@using Syncfusion.Blazor.Toolkit

<SfButton Disabled="@_isProcessing" OnClick="SubmitAsync">Submit</SfButton>
@code {
Expand All @@ -193,7 +193,7 @@ a wrapping `<SfSpinner>` overlay (see
## Minimal Example

```razor
@using Syncfusion.Blazor.Toolkit.Buttons
@using Syncfusion.Blazor.Toolkit

<SfButton Content="Save"
IsPrimary="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The Syncfusion button component automatically handles hover and pressed states t

> **Note:** For button components with icons or enum values like `IconPosition` and `ButtonType`, add the buttons namespace to your page or component:
> ```razor
> @using Syncfusion.Blazor.Toolkit.Buttons
> @using Syncfusion.Blazor.Toolkit
> ```

## Disabled State
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ In `_Imports.razor`, add:

For button components with icons or enum values like `IconPosition`, add the buttons namespace to your page or component:
```razor
@using Syncfusion.Blazor.Toolkit.Buttons
@using Syncfusion.Blazor.Toolkit
```

## First Button Component
Expand Down Expand Up @@ -225,7 +225,7 @@ The application starts at `https://localhost:7145` (or similar port).
### Issue 1: Button Not Rendering
**Symptom:** No button appears on page
**Solution:**
- Verify `@using` statement includes `Syncfusion.Blazor.Toolkit.Buttons`
- Verify `@using` statement includes `Syncfusion.Blazor.Toolkit`
- Check that services are registered in `Program.cs`
- Ensure CSS file is imported in layout

Expand Down
10 changes: 5 additions & 5 deletions .github/skills/syncfusion-blazor-toolkit-calendars/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ at 19:00 (Jan 1 local = 00:00 UTC) sees "Dec 31 disabled" β€” wrong.
side:

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfCalendar TValue="DateTime?"
EnableUtc="true"
Expand Down Expand Up @@ -132,7 +132,7 @@ private void OnCell(RenderDayCellEventArgs args)

**Bad:**
```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfDatePicker TValue="DateTime?"
@bind-Value="@_date"
Expand All @@ -143,7 +143,7 @@ private void OnCell(RenderDayCellEventArgs args)
**Correct:** use `@bind-Value:after` (.NET 8+) for post-commit logic:

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfDatePicker TValue="DateTime?"
@bind-Value="@_date"
Expand Down Expand Up @@ -187,7 +187,7 @@ date on click instead of keeping a timer running.

**Correct:**
```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfCalendar TValue="DateTime?"
EnableUtc="true"
Expand All @@ -205,7 +205,7 @@ date on click instead of keeping a timer running.
## Minimal Example

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfDatePicker TValue="DateTime?"
Placeholder="Select a date"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Control the calendar view display and navigation:

<!-- Specify week rule -->
@using System.Globalization
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfCalendar TValue="DateTime"
WeekNumber="true"
Expand Down Expand Up @@ -224,7 +224,7 @@ Control the calendar view display and navigation:
| `RemoveDatesAsync(DateTime[] dates)` | `Task` | Removes dates from selection in multi-selection mode |

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfCalendar TValue="DateTime"
ValueChange="@OnValueChanged"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Selected date: @selectedDate?.ToString("MMM dd, yyyy")
The calendar supports disabling specific dates via the `DayCellRendering` event:

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfDatePicker TValue="DateTime?"
DayCellRendering="@OnDayCellRendering">
Expand Down Expand Up @@ -262,7 +262,7 @@ The calendar supports disabling specific dates via the `DayCellRendering` event:

private void OnFocusHandler(FocusEventArgs args)
{
Console.WriteLine("Focused"); // use Syncfusion.Blazor.Toolkit.Calendars.FocusEventArgs if you face ambiguous reference error
Console.WriteLine("Focused"); // use Syncfusion.Blazor.Toolkit.FocusEventArgs if you face ambiguous reference error
}

private void OnBlurHandler(BlurEventArgs args)
Expand Down Expand Up @@ -347,7 +347,7 @@ The calendar supports disabling specific dates via the `DayCellRendering` event:
### With EditForm

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit
@using System.ComponentModel.DataAnnotations

<EditForm Model="@model" OnValidSubmit="@HandleSubmit">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ DatePicker, DateTimePicker, and TimePicker support popup events:
### EditForm and DataAnnotations

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit
@using System.ComponentModel.DataAnnotations

<EditForm Model="@model" OnValidSubmit="@HandleSubmit">
Expand Down Expand Up @@ -232,7 +232,7 @@ DatePicker, DateTimePicker, and TimePicker support popup events:
### Multiple Components Coordination

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfDatePicker TValue="DateTime?"
ValueChange="@OnStartDateChanged"
Expand Down Expand Up @@ -262,7 +262,7 @@ DatePicker, DateTimePicker, and TimePicker support popup events:
### Complete Example with Multiple Features

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit
@using System.ComponentModel.DataAnnotations

<EditForm Model="@booking" OnValidSubmit="@SubmitBooking">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Calendar components support standard date format strings:

### Min and Max Dates
```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfDatePicker TValue="DateTime?"
Min="@minDate"
Expand All @@ -91,7 +91,7 @@ Calendar components support standard date format strings:
Disable specific days using the `DayCellRendering` event:

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfCalendar TValue="DateTime"
DayCellRendering="@DisableWeekends">
Expand All @@ -112,7 +112,7 @@ Disable specific days using the `DayCellRendering` event:

### Custom Validation
```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfDatePicker TValue="DateTime?"
ValueChange="@ValidateDate">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Ensure `Syncfusion.Blazor.Toolkit` is referenced in your project file:
Add the following to your `_Imports.razor` or place the same @using directive at the top of a specific Razor page if you only need it locally.:

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit
```

### 3. Register Services (if required)
Expand Down Expand Up @@ -141,7 +141,7 @@ This calendar starts in the decade view (showing a grid of years) and only allow
Use the `DayCellRendering` event to disable dates:

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfCalendar TValue="DateTime"
DayCellRendering="@DisableSundays">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Enable strict mode to validate and reset invalid entries:

@code {
private string _triggeredEvent = string.Empty;
public void BlurHandler(Syncfusion.Blazor.Toolkit.Calendars.BlurEventArgs args)
public void BlurHandler(Syncfusion.Blazor.Toolkit.BlurEventArgs args)
{
_triggeredEvent = "Blur event is triggered";
}
Expand All @@ -244,7 +244,7 @@ Enable strict mode to validate and reset invalid entries:
_triggeredEvent = "ValueChange event is triggered";
}

public void FocusHandler(Syncfusion.Blazor.Toolkit.Calendars.FocusEventArgs args)
public void FocusHandler(Syncfusion.Blazor.Toolkit.FocusEventArgs args)
{
_triggeredEvent = "Focus event is triggered";
}
Expand Down Expand Up @@ -303,7 +303,7 @@ Enable strict mode to validate and reset invalid entries:
## Form Integration

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit
@using System.ComponentModel.DataAnnotations

<EditForm Model="@model" OnValidSubmit="@HandleSubmit">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class BookingModel
Ensure the following namespaces are included at the top of the Razor page:

```razor
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit
@using System.ComponentModel.DataAnnotations
```

Expand Down Expand Up @@ -176,7 +176,7 @@ Ensure the following namespaces are included at the top of the Razor page:
1. **Use DayCellRendering event for custom disabling:**
```razor
<!-- Use DayCellRendering to disable specific dates -->
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfCalendar TValue="DateTime"
DayCellRendering="@DisableWeekends">
Expand Down Expand Up @@ -460,7 +460,7 @@ Open DevTools (F12) on mobile or use remote debugging to check for JavaScript er
1. **Use Min/Max to restrict range:**
```razor
<!-- Large ranges can slow rendering -->
@using Syncfusion.Blazor.Toolkit.Calendars
@using Syncfusion.Blazor.Toolkit

<SfCalendar TValue="DateTime"
Min="@minDate"
Expand Down
Loading
Loading