Solved

Error DevExpress

Posted on 2011-02-24
9
1,128 Views
Last Modified: 2012-06-27
I am getting this error but I already added the referente to DevExpress.Data

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0012: The type 'DevExpress.Utils.IAssignableCollection' is defined in an assembly that is not referenced. You must add a reference to assembly 'DevExpress.Data.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a'.

Source Error:


Line 2418:        
Line 2419:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 2420:        private void @__BuildControl__control40(DevExpress.Web.ASPxTabControl.TabPageCollection @__ctrl) {
Line 2421:            global::DevExpress.Web.ASPxTabControl.TabPage @__ctrl1;
0
Comment
Question by:DistillingExperts
  • 4
  • 3
  • 2
9 Comments
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 34968679
Add a reference to 'DevExpress.Data.v9.2' - project settings, references
0
 
LVL 9

Expert Comment

by:EZFrag
ID: 34968686
Hi there,

You can try the modified function I have attached below...

hope it helps ^_^
function displayText(displayText)
    {
      var panel = document.getElementById("content");
     
       document.getElementById("display_content").innerHTML =  document.getElementById("Media" + displayText.id).innerHTML;
       document.getElementById("lblsubject").innerHTML =  displayText.innerHTML;
       document.getElementById("lbldate").innerHTML =  document.getElementById("date" + displayText.id).innerHTML;
                    //Clone the Div that contain data
                    var newContent = document.getElementById("du_content").cloneNode(true);
                    newContent.style.display="";
                    newContent.style.position="absolute";
                    newContent.style.width="200px";
                    newContent.style.height="300px";
                    newContent.style.top="200px";
                    newContent.style.left="200px";
                    
                    
                    if (panel.firstChild)
                        panel.removeChild(panel.firstChild);
                    panel.appendChild(newContent);
     
    }

Open in new window

0
 

Author Comment

by:DistillingExperts
ID: 34968700
Where should I include this function?
0
 
LVL 9

Expert Comment

by:EZFrag
ID: 34968714
No No nO... ignore that... I do not how this happened, but I posted a answer in the wrong question. Just ignore It. My bad...
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:DistillingExperts
ID: 34972035
I fixed it by add the reference in the web.config
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 34972105
Doesn't adding the reference to the project cure it?
0
 

Accepted Solution

by:
DistillingExperts earned 0 total points
ID: 34972196
No

I am getting this error but I already added the referente to DevExpress.Data

I didn't create a reference. I had to make it inside the Web.config and it took me hours to realized that by myself.
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 34972212
OK
0
 

Author Closing Comment

by:DistillingExperts
ID: 35005262
I fix it.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
WKHTMLTOPDF - --disable-smart-shrinking not working 10 36
ADO.NET ENTITY DATA MODEL 3 30
C# Single Form 8 27
IIS Authorization for Web Service 2 21
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now