Panel Control

Panel Control

Previous Home Next

 

The Panel control is used as a container for other controls.This control is often used to generate controls by code and to display and hide groups of controls.

 
 
  

 Specifies a URL to an image file to display as a background for this control.

 Specifies the ID of the default button in the Panel.

 Specifies the content display direction of the Panel. 

 Specifies whether the content should wrap or not. 	

 Specifies the caption for the group of controls in the Panel.

 

 Panel Control Design
**********************************************************************
***************
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Panel.aspx.cs" Inherits="_Default" %>





    Panel


    




                                                                                           Paasword Not Matched






********************************************************************** .CS Code *********************************************************************** ********** using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void TextBox1_TextChanged(object sender, EventArgs e) { } protected void bt_sub_Click(object sender, EventArgs e) { Response.Write("Your Password Matched"); } }
Previous Home Next