0

This question is not duplicate to this one. I am trying to materialize the button (ASP.NET web form control). Button is materialized but unable to get ripple effect. Actually this works for normal button (HTML control).

HTML Snippet

<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent">
  Button
</button>

This works perfectly with ripple effect.

ASP.Net Snippet

<asp:Button ID="Button1" runat="server" text="button" CssClass="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--raised mdl-button--accent"/>

This is not working as expected. I was searching this issue and finally got this link. Anyways I cant solve the issue. The problem is I cant get ripple effect for asp.net controlled button. IS there any way to do this?

Community
  • 1
  • 1

0 Answers0