Skip to content

Commit 6860371

Browse files
Merge branch 'development' into 971613-ChartDocDev
2 parents 2ed5c16 + 16e1d56 commit 6860371

File tree

5 files changed

+37
-30
lines changed

5 files changed

+37
-30
lines changed

blazor-toc.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@
179179
<ul>
180180
<li><a href="/blazor/smart-ai-solutions/ai-samples/kanban/smart-task-suggestion">Smart Task Suggestion</a></li>
181181
<li><a href="/blazor/smart-ai-solutions/ai-samples/kanban/sentiment-analysis">Sentiment Analysis</a></li>
182+
</ul>
183+
</li>
184+
<li>Pivot Table
185+
<ul>
186+
<li><a href="/blazor/smart-ai-solutions/ai-samples/pivot-table/smart-pivot">Smart Pivot Table</a></li>
182187
</ul>
183188
</li>
184189
</ul>

blazor/getting-started/maui-blazor-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ In iOS, code is statically compiled ahead of time. Configure Syncfusion<sup styl
170170

171171
Possible errors if the `MtouchExtraArgs` tag is not configured:
172172
1. The app does not load on a real device with the error “An unhandled error has occurred” after compiling in Release mode with Visual Studio and deploying to a real device.
173-
2. AOT-related failures such as [`Attempting to JIT compile method while running in aot-only mode`](https://github.com/xamarin/xamarin-macios/issues/12416)
173+
2. AOT-related failures such as [`Attempting to JIT compile method while running in aot-only mode`](https://github.com/dotnet/macios/issues/12416)
174174

175175
```
176176
<PropertyGroup Condition="$(TargetFramework.Contains('-ios')) And $(Configuration.Contains('Release')) ">

blazor/image-editor/how-to/render-dialog.md

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,48 +18,50 @@ Rendering the Image Editor in a dialog displays the component within a modal win
1818
@using Syncfusion.Blazor.Inputs
1919
2020
<div style="padding-bottom: 15px">
21-
@if (this.ShowButton)
22-
{
23-
<SfButton OnClick="OpenDialogAsync">Open Image</SfButton>
24-
}
21+
<SfButton OnClick="OpenDialog">Edit Image</SfButton>
2522
</div>
2623
27-
<SfDialog MinHeight="400px" Width="340px" Target="#target" ShowCloseIcon="true" @bind-Visible="Visibility">
28-
<DialogTemplates>
29-
<Content>
30-
<div class="dialogContent">
31-
<SfImageEditor @ref="ImageEditor" Height="300px">
32-
</SfImageEditor>
33-
</div>
34-
</Content>
35-
</DialogTemplates>
36-
<DialogEvents OnOpen="@BeforeDialogOpen" Opened="OpenAsync" Closed="@DialogClosed"></DialogEvents>
37-
</SfDialog>
24+
<div class="control-section" id="target" style="height: 500px">
25+
<SfDialog Width="600px" Height="500px" Target="#target" ShowCloseIcon="true" @bind-Visible="IsDialogVisible">
26+
<DialogEvents Opened="OnDialogOpened" Closed="OnDialogClosed"></DialogEvents>
27+
<DialogTemplates>
28+
<Content>
29+
<div class="dialog-content">
30+
@if (IsImageEditorOpened)
31+
{
32+
<SfImageEditor @ref="ImageEditor" Height="400px">
33+
<ImageEditorEvents Created="OnImageEditorCreated"></ImageEditorEvents>
34+
</SfImageEditor>
35+
}
36+
</div>
37+
</Content>
38+
</DialogTemplates>
39+
</SfDialog>
40+
</div>
3841
3942
@code {
40-
private bool Visibility { get; set; } = false;
41-
private bool ShowButton { get; set; } = true;
42-
SfImageEditor ImageEditor;
43+
private bool IsDialogVisible { get; set; } = false;
44+
private bool IsImageEditorOpened { get; set; } = false;
45+
private SfImageEditor ImageEditor;
4346
44-
private void OpenDialogAsync()
47+
private void OpenDialog()
4548
{
46-
this.Visibility = true;
49+
IsDialogVisible = true;
4750
}
4851
49-
private async void OpenAsync()
52+
private void OnDialogOpened()
5053
{
51-
await ImageEditor.OpenAsync("https://ej2.syncfusion.com/react/demos/src/image-editor/images/bridge.png");
52-
ImageEditor.RefreshAsync();
54+
IsImageEditorOpened = true;
5355
}
5456
55-
private void BeforeDialogOpen(Syncfusion.Blazor.Popups.BeforeOpenEventArgs args)
57+
private void OnDialogClosed()
5658
{
57-
this.ShowButton = false;
59+
IsImageEditorOpened = false;
5860
}
5961
60-
private void DialogClosed(Syncfusion.Blazor.Popups.CloseEventArgs args)
62+
private async void OnImageEditorCreated()
6163
{
62-
this.ShowButton = true;
64+
await ImageEditor.OpenAsync("https://ej2.syncfusion.com/react/demos/src/image-editor/images/bridge.png");
6365
}
6466
}
6567
```
-2.38 KB
Loading

blazor/smart-ai-solutions/ai-samples/pivot-table/smart-pivot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ The following example shows how to set up these features in your Blazor applicat
277277
</p>
278278
</Description>
279279
<div class="pivot-toast">
280-
<SfToast ID="toast_default" @ref="ToastObj" Title="Server is busy right now, Please try again" Content="@ToastContent" Timeout="5000" Icon="e-meeting">
280+
<SfToast ID="toast_default" @ref="ToastObj" Title="Server Busy" Content="@ToastContent" Timeout="5000" Icon="e-meeting">
281281
<ToastPosition X="@ToastPosition"></ToastPosition>
282282
</SfToast>
283283
</div>
@@ -867,4 +867,4 @@ A complete working example is available in the [Syncfusion Blazor AI Samples Git
867867

868868
Explore the AI-powered Smart Pivot Table in action by visiting the live demo:
869869

870-
👉 [Try the Live Demo](https://blazor.syncfusion.com/demos/pivot-table/ai-smart-pivot?theme=fluent2)
870+
👉 [Try the Live Demo](https://blazor.syncfusion.com/demos/pivot-table/ai-smart-pivot?theme=fluent2)

0 commit comments

Comments
 (0)