Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language

Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Asp.Net Programming

Urgent Help - Error loading user control


I need some urgent help and your help is very much appreciated.

I have a control in a directory named components and I am trying to load
that control and add it to the page and when I run the web site locally it's
ok but when I try to publish the web site then I get the following error:

Error   1       Type 'ASP.components_jobs_ascx' is not
defined.        C:\Projects\TPP\pages\jobs.aspx.vb      240    


The web user control is called jobs.ascx and it is located on the components

the class is components_jobs


The code that I have on the page is this:

     Private Function GetJobControl(ByVal CandID As Integer, ByVal JobID As
Integer) As UserControl

        Dim Jobs1 As ASP.components_jobs_ascx =
        Jobs1.CandID = CandID
        Jobs1.JobID = JobID
        Jobs1.RPT = RPT
        Return Jobs1

    End Function

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc