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

[Solved] Error loading recompiled telerik dll

2 Answers 136 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bart
Top achievements
Rank 1
Bart asked on 28 May 2008, 01:39 PM

I needed to change a string in the Telerik.Web.UI.dll, so i recompiled the DLL. I translated the text "No records to display" in the radgrid to Dutch, so nothing big.

Compilation went ok, but when i copied the new dll into the bin-folder of my web application i got the following exception

System.InvalidOperationException: Assembly 'Telerik.Web.UI, Version=2008.1.515.0, Culture=neutral, PublicKeyToken=29ac1a93ec063d92' contains a Web resource with name 'Telerik.Web.UI.Ajax.Ajax.js', but does not contain an embedded resource with name 'Telerik.Web.UI.Ajax.Ajax.js'.

Any clue what i can do about this? Thanks in advance!


2 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 28 May 2008, 03:30 PM
Hi Bart,

Wasn't it possible for you to use the NoMasterRecordsText property of the MasterTableView or the DetailsView? By the way, did you use the source code to build the assembly? It should not give that error...

FYI, the error happens because the Ajax\Ajax.js file is not set as an EmbeddedResource (Solution Explorer -> Navigate to the Ajax\Ajax.js file -> open its properties -> for Build Action, choose Embedded Resource).

I hope this helps.

Kind regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Bart
Top achievements
Rank 1
answered on 28 May 2008, 05:36 PM
Wow, i can't believe it was that simple..
I looked for that property for a long time, but couldn't find it.. Then we discovered the exact text in the dll itself, so we just assumed it was hardcoded.
Guess i just missed it, thanks!
Tags
General Discussions
Asked by
Bart
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Bart
Top achievements
Rank 1
Share this question
or