Results 1 to 17 of 17

Thread: no buttons displaying in browser

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13

    no buttons displaying in browser

    Hi everyone

    I'm new to VB.NET and have just tried to create a very simple web application with a label, button and text box. However when i preview it in my browser the only thing i can see is the label and not the button or text box. Why is this? I have MS explorer 6.0.2. If i view the html of the page the other components are ther but just dont display.

    Any help will be much appreciated.

    Thanks in advance

    Amir

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    do they say runat="server" for the controls attributes?
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Sorry cander but you'l have to be more specific when you say control attributes, I'm only a beginner.

    thanks for the response anyway

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Sorry cander but you'l have to be more specific when you say control attributes, I'm only a beginner.

    thanks for the response anyway

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Sorry cander but you'l have to be more specific when you say control attributes, I'm only a beginner.

    thanks for the response anyway

  6. #6

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Sorry cander but you'l have to be more specific when you say control attributes, I'm only a beginner.

    thanks for the response anyway

  7. #7

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Sorry cander but you'l have to be more specific when you say control attributes, I'm only a beginner.

    thanks for the response anyway

  8. #8

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Sorry cander but you'l have to be more specific when you say control attributes, I'm only a beginner.

    thanks for the response anyway

  9. #9

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Sorry cander but you'l have to be more specific when you say control attributes, I'm only a beginner.

    thanks for the response anyway

  10. #10

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Sorry cander but you'l have to be more specific when you say control attributes, I'm only a beginner.

    thanks for the response anyway

  11. #11

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Sorry cander but you'l have to be more specific when you say control attributes, I'm only a beginner.

    thanks for the response anyway

  12. #12

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Sorry about that, yes it does say "runat = server"

  13. #13
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Originally posted by adodhy
    Sorry about that, yes it does say "runat = server"
    hmm..ummm well that boogles me if it does...oh wait...did you put the controls within a form tag?


    <form name="blah" runat="server"
    your controls between here

    </form>
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  14. #14

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    yes its within form tags. All the html was generated. i do get an error when try to run it saying the following

    "Error While trying to run project: Unable to start debuggin on the server. The Server does not support debuggin of ASP.NET or ALT Server applications. Run setup to install the Visual Studio .NET server components. if setup has been run verify that a valid URL has been specified.

    You may also want to refer to the ASP.NET and ALT Server debiggung topic in the online documentation. Would you like to diable future attempts to debug ASP.NET pages for this project?"

    I click yes and then it loads explorer with my page, without buttons etc, only labels, bugger hey?

    any ideas??

  15. #15
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    From a command prompt navigate to the directory...
    Winnt\Microsoft.Net\Framework\v1.0.xxx
    type regsvr32 aspnet_isapi.dll
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  16. #16

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    13
    Yes!!!! that done the trick. What was all that about??

  17. #17
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    IIS mappings didnt register correctly for some reason...one of those little goofy things that happens with MS software from time to time....

    Glad to hear it works..good luck!
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

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