This is a migrated thread and some comments may be shown as answers.

Send parameter by OnClientCommand event

1 Answer 41 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Rafael
Top achievements
Rank 1
Rafael asked on 08 Nov 2009, 05:10 PM
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')"

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 11 Nov 2009, 12:38 PM
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.
Tags
Dock
Asked by
Rafael
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or