I am using a RadTreeList control on an ASPX page. When Inserting a new node on the tree, I am validating what the user entered in the editbox. However, when I call the alert() and then cancel the event, the alert dialog is not displayed.
I have similar code for the Edit it works just fine. The only difference is the message being displayed. The errorString variable built based upon the errors found in the validation of the control.
Thank you.
I have similar code for the Edit it works just fine. The only difference is the message being displayed. The errorString variable built based upon the errors found in the validation of the control.
SiteAspNetMaster samInsert = (SiteAspNetMaster)Page.Master;
if
(samInsert !=
null
)
{
samInsert.Alert(errorString, 400, 100,
"Alert"
);
}
e.Canceled =
true
;
Thank you.