Writing Output in a webControl

Discussion in 'ASP .Net Web Controls' started by dotnettester, Jul 11, 2005.

  1. dotnettester

    dotnettester Guest

    I have a web control and I am using a Label Server Control to write the output.

    It gives me a 'Object reference not set to an instance of an object.' error.
    Can't figure out what I'm doing wrong.

    Any clue?
     
    dotnettester, Jul 11, 2005
    #1
    1. Advertising

  2. dotnettester

    Patrice Guest

    It means that the object is not initialized (null in C# or Nothing in
    VB.NET). You'll have to call "new" to initialize the object.

    Patrice

    --

    "dotnettester" <> a écrit dans le
    message de news:...
    > I have a web control and I am using a Label Server Control to write the

    output.
    >
    > It gives me a 'Object reference not set to an instance of an object.'

    error.
    > Can't figure out what I'm doing wrong.
    >
    > Any clue?
     
    Patrice, Jul 11, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest
    Replies:
    2
    Views:
    750
  2. Luis Ramírez.

    Can a webcontrol (webcontrol.dll) have a configuration file?

    Luis Ramírez., Jul 5, 2004, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    212
    Luis Ramírez
    Jul 6, 2004
  3. Kasabaarde Sumta

    WebControl inside of WebControl and attaching events

    Kasabaarde Sumta, Dec 13, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    206
    Kasabaarde Sumta
    Dec 13, 2004
  4. Fabricio

    Custom webcontrol that references another webcontrol

    Fabricio, Sep 21, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    197
    Fabricio
    Sep 21, 2005
  5. Peter Morris [Air Software Ltd]

    WebControl with non-WebControl property

    Peter Morris [Air Software Ltd], Dec 7, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    144
    Peter Morris [Air Software Ltd]
    Dec 7, 2004
Loading...

Share This Page