Skip to content

938381: Test and resolve issues in UG all sections - ASP MVC Timeline control. #3864

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

Merged
merged 2 commits into from
Feb 6, 2025
Merged
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@using Syncfusion.EJ2.Layouts

@Html.EJS().Timeline("Timeline").BeforeItemRender("function(args) { beforeItemRenderEvent(args) }").Items(ViewBag.productLifecycle).Render()

<div id="container" style="height: 250px;">
@Html.EJS().Timeline("Timeline").BeforeItemRender("function(args) { beforeItemRenderEvent(args) }").Items(ViewBag.productLifecycle).Render()
</div>
<script>
function beforeItemRenderEvent(args) {
// your required action here..
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using Syncfusion.EJ2.Navigations;
@using Syncfusion.EJ2.Layouts;

<div class="container" style="height: 350px">
<ejs-timeline id="timeline" beforeItemRender="function(args){ beforeItemRenderEvent(args) }">
Expand Down
8 changes: 4 additions & 4 deletions ej2-asp-core-mvc/code-snippet/timeline/events/created/razor
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@using Syncfusion.EJ2.Layouts

@Html.EJS().Timeline("timeline").Items(ViewBag.productLifecycle).Created("function(args) { createdEvent() }").Render()

<div id="container" style="height: 250px;">
@Html.EJS().Timeline("timeline").Items(ViewBag.productLifecycle).Created("function(args) { createdEvent() }").Render()
</div>
<script>
function createdEvent() {
// your required action here..
}
</script>
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using Syncfusion.EJ2.Navigations;
@using Syncfusion.EJ2.Layouts;

<div class="container" style="height: 350px">
<ejs-timeline id="timeline" created="function(args){ createdEvent() }">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using Syncfusion.EJ2.Navigations
@using Syncfusion.EJ2.Layouts

<div id="container" style="height: 350px;">
@Html.EJS().Timeline("timeline").Items(ViewBag.dotItems).Render()
Expand Down