USER CONTROL PROBLEM

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Savas Ates

    #1

    USER CONTROL PROBLEM

    I have a user control codebehind Function

    Imports System.Web

    Function CreateXml(ByVal Sitename)

    Response.write ("aa")

    End Function



    IN an aspx codebehind application

    Dim EjoyaXml As New Functions

    EjoyaXml.Sitead i = "Ejoya"

    Call EjoyaXml.Create Xml(EjoyaXml.Si teadi)



    It returns



    Object reference not set to an instance of an object.
    Response.Write( "aa") line
    I want to create a function page and i want to load it in some of my aspx
    codebehind applications which can include some http implemantations
    (Filesystemobje ct,response.red irect etc.)

    I got an error in spite of using
    Imports System.Web

    What can i do ?






Working...