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

set_cancel?

6 Answers 153 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
AbsolutelyN
Top achievements
Rank 1
AbsolutelyN asked on 09 Jul 2008, 10:15 AM
Hi

I have a RadTreeView and want to execute some javascript when the client clicks a context menu. I've done this many times in the past but am now getting: 'set_cancel is not a function'.

I'm using version 2008.01.0619.20 of Telerik.Web.UI.dll

Update: Solved!
 

 

6 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 10 Jul 2008, 07:39 AM
Hello AbsolutelyN,

Could you please, confirm that your problem is resolved?

Thank you.

Kind regards,
Yana
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
maesdomi
Top achievements
Rank 1
answered on 25 Jul 2008, 10:49 AM
0
AbsolutelyN
Top achievements
Rank 1
answered on 25 Jul 2008, 11:03 AM
Hi - I believe the problem was caused by having the wrong version of the dll in the bin folder. Check you have the latest one.
0
maesdomi
Top achievements
Rank 1
answered on 28 Jul 2008, 07:28 AM
I've tried with the versions 2008.01.0619.(20 and 35) and now I'm using the 2008.2.723.35 and I still have the javascript error.

Thank you for your help.
0
Yana
Telerik team
answered on 28 Jul 2008, 11:07 AM
Hello maesdomi,

Are you sure you're using OnClientContextMenuItemClicking client-side event? 
set_cancel() method is available for this event and doesn't work for OnClientContextMenuItemClicked.
You can read more about this here.

Best wishes,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
maesdomi
Top achievements
Rank 1
answered on 28 Jul 2008, 12:10 PM
Hello,

You are right, it was my mistake.
I'm really sorry.

Thank you very much.
Tags
TreeView
Asked by
AbsolutelyN
Top achievements
Rank 1
Answers by
Yana
Telerik team
maesdomi
Top achievements
Rank 1
AbsolutelyN
Top achievements
Rank 1
Share this question
or