prevend user from changing value

2 posts, 0 answers
  1. beeta one
    beeta one avatar
    63 posts
    Member since:
    Aug 2012

    Posted 13 Dec 2012 Link to this post

    how to prevent the user from changing the slider value?

    thanks
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 13 Dec 2012 Link to this post

    Hi,

    You can cancel the change of the value in the OnClientValueChanging event of RadSlider as follows.

    JS:
    <script type="text/javascript">
        function OnClientValueChanging(sender, args) {
            args.set_cancel(true);
        }
    </script>

    Regards,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top