Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Web Controls vs HTML controls

Web Controls vs HTML controls

Scheduled Pinned Locked Moved C#
htmlvisual-studiosysadminquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JoeMcK
    wrote on last edited by
    #1

    Why don't my web controls (e.g. buttons) display in my browser when I run? If I use an HTML button, it shows up fine. Both appear to be server side controls (both have runat="server". What's the difference between Web Form controls and HTML controls? Joe

    L 1 Reply Last reply
    0
    • J JoeMcK

      Why don't my web controls (e.g. buttons) display in my browser when I run? If I use an HTML button, it shows up fine. Both appear to be server side controls (both have runat="server". What's the difference between Web Form controls and HTML controls? Joe

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      JoeMcK wrote: Why don't my web controls (e.g. buttons) display in my browser when I run? From who are you running? :laugh::laugh: There can be many reasons, be a bit more specific. Maybe you are not running fast enough :laugh: WebControls are server-side controls that normally will do some processing where HTML controls are basically literal controls. Both have a runat=server attribute, although its not required for HTML controls, but they are there so a literal control can "controlled" referenced from the server-side. You might want to post further ASP.NET questions in the ASP.NET forum (yes we have one). :) WebBoxes - Yet another collapsable control, but it relies on a "graphics server" for dynamic pretty rounded corners, cool arrows and unlimited font support.

      J 1 Reply Last reply
      0
      • L leppie

        JoeMcK wrote: Why don't my web controls (e.g. buttons) display in my browser when I run? From who are you running? :laugh::laugh: There can be many reasons, be a bit more specific. Maybe you are not running fast enough :laugh: WebControls are server-side controls that normally will do some processing where HTML controls are basically literal controls. Both have a runat=server attribute, although its not required for HTML controls, but they are there so a literal control can "controlled" referenced from the server-side. You might want to post further ASP.NET questions in the ASP.NET forum (yes we have one). :) WebBoxes - Yet another collapsable control, but it relies on a "graphics server" for dynamic pretty rounded corners, cool arrows and unlimited font support.

        J Offline
        J Offline
        JoeMcK
        wrote on last edited by
        #3

        I've been trying to keep my samples as simple as possible...create a new project (web app). On the grid that's displayed, drop a web form button onto the grid from the toolbox...compile, then execute and the button doesn't show. Only labels show up. I have a feeling it's something silly that I'm just not aware of. It's been frustrating to track down why I don't see what I expect. When I drop an HTML button (from the toolbox) onto the grid, it shows up when I execute. Joe

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups