Debugging ASP.NET control generation?

Discussion in 'ASP .Net Web Controls' started by Martin Klusacek, Sep 22, 2003.

  1. Hi!

    I have a problem that I can't seem to debug.

    I generate a TextBox in ASP.NET and set it's Text property to "768".

    I check it at the end of the Page_Load function and the Text property is
    still "768".

    When I let it run, and let ASP.NET create the HTML, the <INPUT type=text>
    element has no value attribute. In other words, the text "768" doesn't
    appear in the textbox in the browser (tested under IE6 and NN7).

    I've had a similar problem before, where ASP.NET wasn't generating what I
    thought it would. How can I debug this problem? How can I debug and watch
    how ASP.NET is generating the HTML for the standard controls? I have no idea
    what is going on after I finish the page and before it arrives on the
    browser, but I'd like to debug this and see what is going on.

    Thanks for any help in advance!

    Martin
    Martin Klusacek, Sep 22, 2003
    #1
    1. Advertising

  2. Hi

    Can you send code in which you are getting error?

    Ravikanth[MVP]


    >-----Original Message-----
    >Hi!
    >
    >I have a problem that I can't seem to debug.
    >
    >I generate a TextBox in ASP.NET and set it's Text

    property to "768".
    >
    >I check it at the end of the Page_Load function and the

    Text property is
    >still "768".
    >
    >When I let it run, and let ASP.NET create the HTML, the

    <INPUT type=text>
    >element has no value attribute. In other words, the

    text "768" doesn't
    >appear in the textbox in the browser (tested under IE6

    and NN7).
    >
    >I've had a similar problem before, where ASP.NET wasn't

    generating what I
    >thought it would. How can I debug this problem? How can

    I debug and watch
    >how ASP.NET is generating the HTML for the standard

    controls? I have no idea
    >what is going on after I finish the page and before it

    arrives on the
    >browser, but I'd like to debug this and see what is

    going on.
    >
    >Thanks for any help in advance!
    >
    >Martin
    >
    >
    >.
    >
    Ravikanth[MVP], Sep 22, 2003
    #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. Johann Blake
    Replies:
    1
    Views:
    1,196
    Hermit Dave
    Jan 5, 2004
  2. jacob navia

    Debugging C vs debugging C++

    jacob navia, Oct 26, 2006, in forum: C Programming
    Replies:
    11
    Views:
    587
    Ian Collins
    Oct 27, 2006
  3. AAaron123
    Replies:
    3
    Views:
    660
    AAaron123
    Jul 28, 2009
  4. Nexinfo Tech

    Debugging a server control in ASP.NET

    Nexinfo Tech, Jul 26, 2006, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    89
    Nexinfo Tech
    Jul 26, 2006
  5. John W. Long

    HTML Generation (Next Generation CGI)

    John W. Long, Nov 22, 2003, in forum: Ruby
    Replies:
    4
    Views:
    330
    John W. Long
    Nov 24, 2003
Loading...

Share This Page