Web Controls vs HTML controls
-
-
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
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.
-
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.
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