This is a migrated thread and some comments may be shown as answers.

How to use Notification Animation builder ?

1 Answer 197 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Raja
Top achievements
Rank 2
Raja asked on 12 Dec 2015, 06:33 PM

Hi,

 I am trying to use notification animation builder for ASP.NET MVC ?

 Here is my couple of code what i have tried

@(Html.Kendo().Notification()
    .Name("notification")
    .HideOnClick(true)  
    )
I need to use animation for this ...

 

Kindly guide me how can i achive it ? 

 

1 Answer, 1 is accepted

Sort by
0
Venelin
Telerik team
answered on 15 Dec 2015, 08:50 AM
Hello Raja,

Here is an example how you can use the animation builder for ASP.NET MVC kendo notification:

@(Html.Kendo().Notification()
    .Name("notification")
    .HideOnClick(true)
    .Animation(animation => animation
        .Open (effect => effect
            .Duration(300)
            .SlideIn(SlideDirection.Up)
        )
        .Close(effect => effect
            .Duration(200)
            .Fade(FadeDirection.In)
                     
        )
    )
)

Regards,
Venelin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Notification
Asked by
Raja
Top achievements
Rank 2
Answers by
Venelin
Telerik team
Share this question
or