Nov 12, 2010, 1:44 PM
[CLOSED] Gridpanel Directevent in code behind
Hello,
How can I do this:
How can I do this:
<DirectEvents>
<Command OnEvent="DoCommand" >
<ExtraParams>
<ext:Parameter Name="Command" Value="command" Mode="Raw" ></ext:Parameter>
<ext:Parameter Name="ItemId" Value="record.data.ComplianceItemId" Mode="Raw"></ext:Parameter>
</ExtraParams>
</Command>
</DirectEvents>
in code behind? Dim de As New DirectEvent()
Dim par1 As New Parameter With {.Name = "Command", .Value = "command", .Mode = "Raw"}
Dim par2 As New Parameter With {.Name = "ItemId", .Value = "record.data.ComplianceItemId", .Mode = "Raw"}
grid.DirectEvents.Add(de) '????
Thanks.
Last edited by Daniil; Nov 15, 2010 at 1:16 PM.
Reason: [CLOSED]