How to use Notification Animation builder ?

2 posts, 0 answers
  1. Raja
    Raja avatar
    4 posts
    Member since:
    Jul 2014

    Posted 12 Dec 2015 Link to this post

    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 ? 

     

  2. Venelin
    Admin
    Venelin avatar
    352 posts

    Posted 15 Dec 2015 Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top