
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!
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
0
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
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
Hi,
I have the same issue:
'set_cancel is not a function'
It would be great if AbsolutelyN could tell us the solution he found.
I followed the sample provided in this tread: http://www.telerik.com/community/forums/thread/b311D-bcacbc.aspx
Thank you.
I have the same issue:
'set_cancel is not a function'
It would be great if AbsolutelyN could tell us the solution he found.
I followed the sample provided in this tread: http://www.telerik.com/community/forums/thread/b311D-bcacbc.aspx
Thank you.
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.
Thank you for your help.
0
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.
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.
You are right, it was my mistake.
I'm really sorry.
Thank you very much.