Dears,
I am using RadTree in my web page, I want to ask a user before moving from selected node to another
"Do you want to save changes?" and give hime the following button options: Yes, No, and Cancel. Becuase javascript confirm has only Ok and cancel button, I used radconfirm and change the template as the following:
<ConfirmTemplate>
<div style="text-align: center">
{1}
<br />
<br />
<input id="btnYes" type="button" value="Yes" onclick="$find('{0}').close(true);" />
<input id="btnNo" type="button" value="No" onclick="$find('{0}').close(false);" />
<input id="btnCancel" type="button" value="Cancel" onclick="$find('{0}').close(null);" />
</div>
</ConfirmTemplate>
the radconfirm is ok, and it returns null when user click on "Cancel" button. but the problem is I have to call the radconfirm inside the treeview ClientNodeClicking event, and radconfirm has CallBackFunction, and in CallBackFunction I can not execute:
eventArgs.set_cancel(true);
becuase eventArgs is avilable only in ClientNodeClicking.So, could you please help me in that.