i have problem ClientEvents-OnCommand does not fire ItemCommand
i use v 2010.2.908.35
this is my code
function OnCommand(sender, args)
{
if (args.get_commandName() == "RebindGrid")
{
var tree = $find("<%=RadPanelBar2.ClientID%>").findItemByValue("the_value2").findControl("RadTreeView1");
alert(tree.get_checkedNodes().length);
if (tree.get_checkedNodes().length <= 0) {
args.set_cancel(true);
}
}
}
when the commandName = "RebindGrid" do postback but it does not fire itemcomamnd
but when the commandName = any thing else it do postback and fire itemcomamnd
and how can i get the ticket #212372.
thanks
i use v 2010.2.908.35
this is my code
function OnCommand(sender, args)
{
if (args.get_commandName() == "RebindGrid")
{
var tree = $find("<%=RadPanelBar2.ClientID%>").findItemByValue("the_value2").findControl("RadTreeView1");
alert(tree.get_checkedNodes().length);
if (tree.get_checkedNodes().length <= 0) {
args.set_cancel(true);
}
}
}
when the commandName = "RebindGrid" do postback but it does not fire itemcomamnd
but when the commandName = any thing else it do postback and fire itemcomamnd
and how can i get the ticket #212372.
thanks