Results 1 to 11 of 11

Thread: ASP.NET, text boxes...why are they yellow?!

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    ASP.NET, text boxes...why are they yellow?!

    I have a few text boxes on a web form:

    txtName, txtEmail and txtFeedback

    The txtName and txtEmail have a background color of Yellow when I run my app...why?! I have not set this up
    It seems to be doing it if I specifically name the text boxes txtEmail and txtName...why?!

    Woka

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    The most common "names" for textboxes make them yellow. (That's what I've noticed) I guess you could either set a style property in there, or change the ID of the textbox.

  3. #3

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632
    .NET is good, coding wise. But the IDE designer SUCKS!
    I have .NET 2003 and it's really starting to grate on me as it has so many little tiony annoying bugs, ie it keeps loosing the align property of a HTML table. Very frustrating.
    I don't want my textbox yellow, I don't want to have to start playing with styles...I shouldn't have to

    woka

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Are you typing out the HTML or are you going for the click/drag/drop technique? If it's the second one, then you deserve it!

  5. #5

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632
    2nd option
    I don't know HTML that well to not use the designer
    It sucks. It's SOOOOOOOOOOOOOOOOOOO bugged!
    I delete a text box from the web form and add a new one. Try and rename as the same as the one I have deleted and it says that the name already exists and can't have 2 controls with the same name.
    When it's deleted the reference in the web form designer code:
    VB Code:
    1. Protected WithEvents txtUsername As System.Web.UI.WebControls.TextBox
    Doesn't get removed! How stupid is that!
    This version of .NET is so bugged that it would be almost impossible to develope HUGE apps using the designer, coz it's just screwed up

    Woka

  6. #6
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Do you have the google toolbar installed? It colors fields that it can fill out, at least that is what I have found. I used to think it was the designer, but it is actually Google Toolbar.

  7. #7
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Originally posted by Wokawidget
    2nd option
    I don't know HTML that well to not use the designer
    ...
    This version of .NET is so bugged that it would be almost impossible to develope HUGE apps using the designer, coz it's just screwed up

    Woka
    If you don't know HTML that well, you are most likely not designing HUGE apps. I think it is just fine for developing HUGE apps as you put it. The style part is all ran from a template anyway, the rest is just coding and styling the controls needed by my code. I use the designer to get things in place, but the fine tuning has, and seems like it will always be, finished by hand.

    The next VS version is supposed to help us out a lot in this respect, but that isn't until next year.

  8. #8
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276
    Originally posted by Wokawidget
    2nd option
    I don't know HTML that well to not use the designer
    It sucks. It's SOOOOOOOOOOOOOOOOOOO bugged!
    I delete a text box from the web form and add a new one. Try and rename as the same as the one I have deleted and it says that the name already exists and can't have 2 controls with the same name.
    When it's deleted the reference in the web form designer code:
    VB Code:
    1. Protected WithEvents txtUsername As System.Web.UI.WebControls.TextBox
    Doesn't get removed! How stupid is that!
    This version of .NET is so bugged that it would be almost impossible to develope HUGE apps using the designer, coz it's just screwed up

    Woka
    Are you using Code Behind?

    I have .NET 2003 and as soon as I delete anything the code is removed from the .aspx page and the .aspx.vb page also.

    I don't think this is a bug.

  9. #9

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632
    Yes, mine does that most times. But sometimes it doesn't remove the code for the control. Then when I try to create a new one with the same name as the one I deleted it won't let me.
    That's just one of the many little annoying bugs with it.

    Woof

  10. #10
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Originally posted by hellswraith
    Do you have the google toolbar installed? It colors fields that it can fill out, at least that is what I have found. I used to think it was the designer, but it is actually Google Toolbar.
    Did you see this post of mine ^ ?

    Did it solve your problem?

  11. #11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width