Skip to content

Commit 3b69fe8

Browse files
Merge branch 'hotfix/hotfix-v27.1.48' into BLAZ-911019-preView32
2 parents fc96221 + 6b918ed commit 3b69fe8

File tree

9 files changed

+177
-10
lines changed

9 files changed

+177
-10
lines changed

blazor-toc.html

Lines changed: 3 additions & 1 deletion
Large diffs are not rendered by default.

blazor/Release-Notes/27.1.50.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Essential Studio for Blazor Weekly Nuget Release Release Notes
3+
description: Essential Studio for Blazor Weekly Nuget Release Release Notes
4+
platform: Blazor
5+
documentation: ug
6+
---
7+
8+
# Essential Studio for Blazor Release Notes
9+
10+
{% include release-info.html date="September 24, 2024" version="v27.1.50" %}
11+
12+
{% directory path: _includes/release-notes/v27.1.50 %}
13+
14+
{% include {{file.url}} %}
15+
16+
{% enddirectory %}

blazor/diagram/connectors/segments/bezier/bezier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
244244

245245
![Avoid overlapping with bezier](../../../images/bezierOverlap.png)
246246

247-
### How to customize Bezier Segment Thumb Shape
247+
## How to customize Bezier Segment Thumb Shape
248248

249249
The Bezier connector can have multiple segments between the source and target points. By default, these segments are rendered as circles, but this can be customized either globally or for individual connectors using the [SegmentThumbSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SegmentThumbSettings.html) class.
250250

blazor/diagram/connectors/segments/straight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
100100

101101
![Editing Straight Segment in Blazor Diagram](../../images/blazor-diagram-edit-straight-segment.gif)
102102

103-
### How to customize Straight Segment Thumb Shape
103+
## How to customize Straight Segment Thumb Shape
104104

105105
The Straight connector can have multiple segments between the source and target points. By default, these segments are rendered as circles, but this can be customized either globally or for individual connectors using the [SegmentThumbSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SegmentThumbSettings.html) class.
106106

blazor/diagram/tool-tip.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
833833

834834
For more information about tooltip, refer to [Tooltip](https://blazor.syncfusion.com/documentation/diagram/tool-tip)
835835

836-
### How to set tooltip for user handles
836+
## How to set tooltip for user handles
837837

838838
The Diagram component supports displaying tooltips when the mouse hovers over any [UserHandle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SelectorConstraints.html#Syncfusion_Blazor_Diagram_SelectorConstraints_UserHandle). To achieve this, you need to configure the `Tooltip` property of the `UserHandle` to include the tooltip [Content](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.DiagramTooltip.html#Syncfusion_Blazor_Diagram_DiagramTooltip_Content) and set its [Position](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.DiagramTooltip.html#Syncfusion_Blazor_Diagram_DiagramTooltip_Position) appropriately. This configuration ensures that relevant information is displayed at the correct position relative to the handle when users hover over it.
839839

@@ -991,7 +991,7 @@ The diagram supports displaying tooltips when the mouse hovers over any [FixedUs
991991
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/UserHandle/FixedUserHandleTooltip)
992992
![Tooltip for UserHandle](images/FixedUserHandleTooltip.gif)
993993

994-
## How to set sticky tooltip for fixed user handles
994+
### How to set sticky tooltip for fixed user handles
995995

996996
With this mode set to `true`, Tooltips for fixed user handles can be made to show up on the screen as long as the close icon is pressed. In this mode, close icon is attached to the Tooltip located at the top right corner. This mode can be enabled or disabled using the `IsSticky` property in tooltip. By default, the value of the IsSticky property is set to false.
997997

@@ -1115,7 +1115,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
11151115

11161116
![ToolTip During hover the port](./images/PortTooltip.gif )
11171117

1118-
## How to set sticky tooltip for ports
1118+
### How to set sticky tooltip for ports
11191119

11201120
You can configure tooltips for ports to remain visible until the close icon is pressed. This feature is known as a "sticky" tooltip. When sticky mode is enabled, a close icon appears at the top right corner of the tooltip, allowing users to manually close it.
11211121

blazor/gantt-chart/criticalpath.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ documentation: ug
1111

1212
The critical path in a project is indicated by a single task or a series of tasks. If a task in critical path is delayed, the entire project will be delayed. A task is considered to be critical if any delay to this task would affect the project end date.
1313

14-
The critical path can be enabled in Gantt by using the built-in toolbar button or [EnableCriticalPath](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.SfGantt-1.html#Syncfusion_Blazor_Gantt_SfGantt_1_EnableCriticalPath) property.
14+
The critical path can be enabled in the Gantt Chart by using the built-in toolbar button or by setting the [EnableCriticalPath](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.SfGantt-1.html#Syncfusion_Blazor_Gantt_SfGantt_1_EnableCriticalPath) property to true in the [SfGantt](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.SfGantt-1.html) component.
1515

1616
The following code example shows how to display the critical path in the Gantt control:
1717

@@ -68,9 +68,9 @@ The critical path settings in the Gantt Chart component determine the default sl
6868

6969
Slack is a measure of how many days a task can be delayed without affecting the project's completion. By default, tasks with zero or negative slack values are critical, while tasks with positive slack values are non-critical. If a task's end date is the same as the project's end date, the slack value is 0, and the task is considered critical.
7070

71-
You can change the default behavior of critical tasks by using the slackValue property of `GanttCriticalPathSettings`. This property defines how many days a task can be delayed before it is considered critical. For instance, in the following code example, tasks with two days of slack are shown on the critical path, so potential issues can be detected earlier.
71+
You can change the default behavior of critical tasks by using the [SlackValue](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.GanttCriticalPathSettings.html#Syncfusion_Blazor_Gantt_GanttCriticalPathSettings_SlackValue) property of [GanttCriticalPathSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.GanttCriticalPathSettings.html). This property defines how many days a task can be delayed before it is considered critical. For instance, in the following code example, tasks with two days of slack are shown on the critical path, so potential issues can be detected earlier.
7272

73-
By adjusting the slackValue, you can control which tasks are critical and ensure that potential issues are identified and addressed in a timely manner.
73+
By adjusting the `SlackValue`, you can control which tasks are critical and ensure that potential issues are identified and addressed in a timely manner.
7474

7575
```cshtml
7676
@using Syncfusion.Blazor.Gantt
@@ -124,7 +124,7 @@ By adjusting the slackValue, you can control which tasks are critical and ensure
124124

125125
The taskbar in critical path can be customized by using [QueryChartRowInfo](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.GanttEvents-1.html#Syncfusion_Blazor_Gantt_GanttEvents_1_QueryChartRowInfo) event. The [GanttTaskModel](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.QueryChartRowInfoEventArgs-1.html#Syncfusion_Blazor_Gantt_QueryChartRowInfoEventArgs_1_GanttTaskModel) in the event argument is used to retrieve taskbar information.
126126

127-
The following code example shows how to customize the critical path taskbar in the Gantt control:
127+
The following code snippet demonstrates how to customize the appearance of critical path taskbars in a Gantt Chart:
128128

129129
```cshtml
130130
@using Syncfusion.Blazor.Gantt
@@ -192,3 +192,5 @@ The following code example shows how to customize the critical path taskbar in t
192192
</style>
193193
```
194194
![Customize taskbar](images/blazor-gantt-chart-critical-path-customize-taskbar.png)
195+
196+
>If the [ProjectEndDate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.SfGantt-1.html#Syncfusion_Blazor_Gantt_SfGantt_1_ProjectEndDate) property is set in the `SfGantt`, any task that ends on or after this date is considered critical. If the `ProjectEndDate` is not set, the maximum end date from the task records is used to determine which tasks are critical.
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
@using Syncfusion.Blazor.MultiColumnComboBox
2+
@using Syncfusion.Blazor.DropDowns
3+
@using Syncfusion.Blazor.Buttons;
4+
@using System.ComponentModel.DataAnnotations;
5+
6+
7+
<div class="col-lg-12 control-section">
8+
<div class="control-wrapper">
9+
@if (string.IsNullOrEmpty(Message))
10+
{
11+
<EditForm Model="@ProductModel" OnValidSubmit="@OnValidSubmit" OnInvalidSubmit="@OnInvalidSubmit">
12+
<DataAnnotationsValidator />
13+
<div>
14+
<label class="example-label">Select a product</label>
15+
<SfMultiColumnComboBox @bind-Value="@ProductModel.Name" DataSource="@Products" ValueField="Name" TextField="Name" Placeholder="Select any product" PopupWidth="600px">
16+
</SfMultiColumnComboBox>
17+
<ValidationMessage For="()=>ProductModel.Name" />
18+
</div>
19+
<div class="submit-btn">
20+
<SfButton type="submit" IsPrimary="true">Submit</SfButton>
21+
</div>
22+
</EditForm>
23+
}
24+
else
25+
{
26+
<div class="alert alert-success">
27+
@Message
28+
</div>
29+
}
30+
</div>
31+
</div>
32+
33+
@code {
34+
public Product ProductModel = new Product();
35+
public class Product
36+
{
37+
[Required(ErrorMessage = "Please select a product")]
38+
public string Name { get; set; }
39+
public decimal Price { get; set; }
40+
public string Availability { get; set; }
41+
public string Category { get; set; }
42+
public double Rating { get; set; }
43+
}
44+
private string Value { get; set; } = "Smartphone";
45+
private List<Product> Products = new List<Product>();
46+
protected override Task OnInitializedAsync()
47+
{
48+
Products = new List<Product>
49+
{
50+
new Product { Name = "Laptop", Price = 999.99m, Availability = "In Stock", Category = "Electronics", Rating = 4.5 },
51+
new Product { Name = "Smartphone", Price = 599.99m, Availability = "Out of Stock", Category = "Electronics", Rating = 4.3 },
52+
new Product { Name = "Tablet", Price = 299.99m, Availability = "In Stock", Category = "Electronics", Rating = 4.2 },
53+
new Product { Name = "Headphones", Price = 49.99m, Availability = "In Stock", Category = "Accessories", Rating = 4.0 },
54+
new Product { Name = "Smartwatch", Price = 199.99m, Availability = "Limited Stock", Category = "Wearables", Rating = 4.4 },
55+
new Product { Name = "Monitor", Price = 129.99m, Availability = "In Stock", Category = "Electronics", Rating = 4.6 },
56+
new Product { Name = "Keyboard", Price = 39.99m, Availability = "In Stock", Category = "Accessories", Rating = 4.1 },
57+
new Product { Name = "Mouse", Price = 19.99m, Availability = "Out of Stock", Category = "Accessories", Rating = 4.3 }
58+
};
59+
return base.OnInitializedAsync();
60+
}
61+
private string Message = string.Empty;
62+
async void OnValidSubmit()
63+
{
64+
Message = "Form Submitted Successfully!";
65+
await Task.Delay(2000);
66+
Message = string.Empty;
67+
ProductModel.Name = null;
68+
StateHasChanged();
69+
}
70+
private void OnInvalidSubmit()
71+
{
72+
Message = string.Empty;
73+
}
74+
}
75+
<style>
76+
.control-wrapper {
77+
max-width: 250px;
78+
margin: 0 auto;
79+
padding: 50px 0px 0px;
80+
}
81+
82+
.example-label {
83+
font-size: 14px;
84+
margin-bottom: 6px;
85+
}
86+
87+
.submit-btn {
88+
display: flex;
89+
justify-content: center;
90+
padding: 20px 0px 0px;
91+
}
92+
93+
.validation-message {
94+
color: red;
95+
padding: 5px 0px 0px;
96+
}
97+
</style>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
layout: post
3+
title: Form Validation in Syncfusion Blazor MultiColumn ComboBox
4+
description: Checkout and learn about Form validation with Blazor MultiColumn ComboBox component in Blazor Sever App and Blazor WebAssembly App.
5+
platform: Blazor
6+
control: MultiColumn ComboBox
7+
documentation: ug
8+
---
9+
10+
# Form Validation in MultiColumn ComboBox
11+
12+
This demonstrates the creation of a form that includes a MultiColumn ComboBox, allowing the user to select an option from a list of items. The form also includes validation, which verifies that all required fields are filled out before the form can be submitted.
13+
14+
## MultiColumn ComboBox inside edit form
15+
16+
The MultiColumn ComboBox component can be used inside an EditForm to create a form that includes a list for selecting an option. The `EditForm` component validates all data annotation rules using the `DataAnnotationsValidator` component.
17+
18+
When the MultiColumn ComboBox input is valid, the form is ready to be submitted. If the input is invalid, an error message will be displayed until a valid value is chosen.
19+
20+
* The EditForm component wraps the entire form, has the Model attribute set to the model variable of type, and triggers the OnValidSubmit() method when the form is submitted.
21+
* The DataAnnotationsValidator component enables validation based on the Data Annotations attributes applied on the model properties.
22+
* The ValidationSummary component displays a summary of all validation errors on the form.
23+
* The ValidationMessage component displays a validation error message for the Name property of the model variable.
24+
* The submit button submits the form and triggers the OnValidSubmit() method when clicked.
25+
26+
{% highlight cshtml %}
27+
28+
{% include_relative code-snippet/form-validation/combobox-inside-editform.razor %}
29+
30+
{% endhighlight %}
31+
32+
{% previewsample "https://blazorplayground.syncfusion.com/embed/hXrKWVrGUcRBhJQE?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: post
3+
title: Localization in Syncfusion Blazor MultiColumn ComboBox
4+
description: Checkout and learn here all about Localization in Syncfusion Blazor MultiColumn ComboBox component and much more.
5+
platform: Blazor
6+
control: MultiColumn ComboBox
7+
documentation: ug
8+
---
9+
10+
# Globalization and Localization in Blazor ComboBox Component
11+
12+
## Localization
13+
14+
[Blazor MultiColumn ComboBox](https://www.syncfusion.com/blazor-components/blazor-multicolumn-combobox) component can be localized. Refer to [Blazor Localization](https://blazor.syncfusion.com/documentation/common/localization) topic to localize Syncfusion Blazor components.
15+
16+
## Globalization
17+
18+
[Blazor MultiColumn ComboBox](https://www.syncfusion.com/blazor-components/blazor-multicolumn-combobox) component can be localized. Refer to [Blazor Globalization](https://blazor.syncfusion.com/documentation/common/globalization) topic helps to demonstrate how globalization can be implemented in a Blazor application.

0 commit comments

Comments
 (0)