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

_CreateDelegate not found

4 Answers 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rashad Rivera
Top achievements
Rank 1
Rashad Rivera asked on 26 May 2010, 05:15 PM
I get the following error when I try creating a custom class and wire up to an event in the CellTemplate of a RadGridView.  Can anyone explain why this is?  I know it is not my code because when I use the custom class in the host page directly, it works. 

'MyHyperlink_OnClick' value cannot be assigned to property 'OnClick' of object 'WpfBrowserApplication3.MyHyperlink'. Method 'WpfBrowserApplication3.Page1._CreateDelegate' not found.  Error at object 'WpfBrowserApplication3.MyHyperlink' in markup file 'WpfBrowserApplication3;component/page1.xaml' Line 14 Position 24.

I would attache a sample, but the site is not allowing me.  Thanks. 

- Rashad Rivera
  OmegusPrime.com

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 27 May 2010, 07:12 AM
Hi,

I've tried to run your project however there is something wrong with the default grid theme (Office_Black). I've checked the binaries and I've found that you have some kind of custom version from 17 March of Q1 2010 - can you post more info about these binaries?

Kind regards,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Rashad Rivera
Top achievements
Rank 1
answered on 29 May 2010, 04:29 AM
Vlad,

   I use .NET Reflector that recompiles the assemblies.  You can safely change them with those from the latest build. 

- Rashad Rivera
  OmegusPrime.com
0
Veselin Vasilev
Telerik team
answered on 31 May 2010, 02:08 PM
Hello Rashad Rivera,

I already replied to your support ticket:

The exact error message is shown if you replace the gridview with another items control like ListBox.
Here is the modified project which does not contain any Telerik control but the same exception is thrown.




Greetings,
Veskoni
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Rashad Rivera
Top achievements
Rank 1
answered on 01 Jun 2010, 03:58 PM
OK, well that must be a Microsoft bug then because it works directly in the form.  In addition, I found that if I move my new class to another assembly, it works too.
Tags
GridView
Asked by
Rashad Rivera
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Rashad Rivera
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or