Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1197
  • Last Modified:

Error DevExpress

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
DistillingExperts
Asked:
DistillingExperts
  • 4
  • 3
  • 2
1 Solution
 
AndyAinscowCommented:
Add a reference to 'DevExpress.Data.v9.2' - project settings, references
0
 
EZFragCommented:
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
 
DistillingExpertsAuthor Commented:
Where should I include this function?
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
EZFragCommented:
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
 
DistillingExpertsAuthor Commented:
I fixed it by add the reference in the web.config
0
 
AndyAinscowCommented:
Doesn't adding the reference to the project cure it?
0
 
DistillingExpertsAuthor Commented:
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
 
AndyAinscowCommented:
OK
0
 
DistillingExpertsAuthor Commented:
I fix it.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now