Handlers to OnClientBlur

4 posts, 0 answers
  1. Rameshkumar
    Rameshkumar avatar
    7 posts
    Member since:
    Feb 2013

    Posted 16 Dec 2013 Link to this post

    Hi,

    I wonder if we could add multiple handlers to the 'OnClientBlur' event, if yes, could you please reply me with a sample.

    Thanks,
    Ramesh
  2. Rameshkumar
    Rameshkumar avatar
    7 posts
    Member since:
    Feb 2013

    Posted 16 Dec 2013 Link to this post

    Found it.

    http://www.telerik.com/help/aspnet-ajax/combobox-client-side-events.html

    Thanks,
    Rames
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rameshkumar
    Rameshkumar avatar
    7 posts
    Member since:
    Feb 2013

    Posted 16 Dec 2013 Link to this post

    Sorry.

    Is there a way to do this in the server side?
  5. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 16 Dec 2013 Link to this post

    Hi Rameshkumar,

    Please have a look into the following code snippet to add OnClientBlur event from the server side.

    C#:
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            RadComboBox1.OnClientBlur += "Blur";
        }
    }

    JavaScript:
    <script type="text/javascript">
        function Blur(sender, args) {
            alert("Fired");
        }
    </script>

    Thanks,
    Princy.
Back to Top