Send parameter by OnClientCommand event

2 posts, 0 answers
  1. Rafael
    Rafael  avatar
    13 posts
    Member since:
    Jan 2009

    Posted 08 Nov 2009 Link to this post

    Hello.

    I can send parameters via OnClientCommand ?

    example :

     Dim botaoEditar As DockCommand = New DockCommand
                botaoEditar.Name = "EDITAR"
                botaoEditar.Text = "editar"
                botaoEditar.AutoPostBack = True
                botaoEditar.OnClientCommand = "messagebox('fail')"

  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 11 Nov 2009 Link to this post

    Hi Rafael,

    No you cannot pass custom parameters to the event handler of the OnClientCommand client-side event.

    In this help article you will find which parameters are passed to the client-side event handler.


    Best wishes,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top