+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / User Control with Web Service

User Control with Web Service

5 posts, 0 answered
  1. Dean Bosse
    Dean Bosse avatar
    6 posts
    Registered:
    24 Mar 2006
    21 Feb 2008
    Link to this post

    I have a simple user control which is a form that creates an xml file which is passed to a web service.  The web service returns an xml result.  The web service is attached to the user control as a web reference.  The web reference namespace is defined as well.  When I run the user control from visual studio, it works perfectly.

    I've successfully added this user control, including the code behind, to my test Sitefinity project.  When I drag the user control onto my form, I get this compilation error:

    BC30002: Type 'Web2PSWS.E2PSWS' is not defined.

    which occurs because of this line of code:

    Dim MyWS As New Web2PSWS.E2PSWS



    Web2PSWS is name of the web service under App_WebReferences
    in my Visual Studio project.  The namespace is defined as:



    Imports Web2PSWS.E2PSWS



    Thanks,



    Dean Bosse
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    22 Feb 2008
    Link to this post
    Hello Dean Bosse,

    Thank you for contacting the Telerik team and describing your problem.
    We couldn't see any mistakes so far and wonder where the error could be. We suggest you send us your user control so we could examine it.
    We will do our best to find out a solution for you.

    Regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Dean Bosse
    Dean Bosse avatar
    6 posts
    Registered:
    24 Mar 2006
    22 Feb 2008
    Link to this post
    How do I send the user control to you? 

    Do you want the ascx and ascx.vb files, or the entire project?

    Thanks.
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    22 Feb 2008
    Link to this post
    Hi Dean Bosse,

    If we have the entire project, we will be able to reproduce exactly the issue you are having. It would be good if you are able to send us the project. You can open a new support thread and attach the project and DB as a .zip file to it.

    Thank you in advance!

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Dean Bosse
    Dean Bosse avatar
    6 posts
    Registered:
    24 Mar 2006
    22 Feb 2008
    Link to this post
    I just started a new support ticket with the user control and web service attached.

    Thanks.
Register for webinar
5 posts, 0 answered