What is Web Server Control in ASP.Net ?

 Web Server Control in ASP.Net

 

  • There are many control in .net technology.
  • Web Server Control are located in ToolBox in view menus.
  • All the control who have a tag runat=”server“, those all controls are web server control.
  • HTML controls do not have a runat=”server” tag.
  • All the web server control have many Properties and Events.
  • Common Properties for Web Controls

    1. BackColor – Change the background color of the control.
    2. CssClass – StyleSheet file name(Apply Style on control)
    3. Enable – true/false (Enable and Disable button)
    4. Enable Theming – true/false(Enable/Disable effect of them on control)
    5. Visible – true / false (Show and hide button)
    6. PostBackUrl – (Redirect to other page, Open the Pdf file or Image)
    7. OnClientClick – function name (Execute the java script function)
    8. CausesValidation – true /false (Enable / Disable Effect of Validation control)
    9. ToolTip – Display the tips on control when mouse over.
    10. TabIndex – Manage the Order of Tab.

Leave a Reply

Your email address will not be published. Required fields are marked *

9 + 6 =


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">