ASP.NET Panel Control

Definition and Usage

Panel control is used as a container for other controls.

Tip:This control is often used to generate controls programmatically, or to display or hide control groups.

Note:

In IE, this control is rendered as an HTML <div> element, in Mozilla it is rendered as a <table> tag.

In IE, this control is rendered as an HTML <div> element, in Mozilla it is rendered as a <table> tag. Property
BackImageUrl ਨਿਯਮ ਪ੍ਰਦਰਸ਼ਿਤ ਕੰਟਰੋਲ ਦੇ ਪਿੱਨ ਦੀ ਇਮੇਜ ਫਾਈਲ ਦੀ URL ਨੂੰ ਪ੍ਰਤੀਕਿਰਿਆ ਦੇਣਾ。 1.0
DefaultButton ਨਿਯਮ ਪੈਨਲ ਵਿੱਚ ਡਿਫਾਲਟ ਬਟਨ ਦਾ ID。 2.0
Direction ਨਿਯਮ ਪੈਨਲ ਦੇ ਕੰਟੈਂਟ ਦਿਸ਼ਾ ਨੂੰ ਪ੍ਰਤੀਕਿਰਿਆ ਦੇਣਾ。 2.0
GroupingText ਨਿਯਮ ਪੈਨਲ ਵਿੱਚ ਕੰਟਰੋਲ ਗਰੁੱਪ ਦੇ ਸਿਰਲੇਖ ਨੂੰ ਪ੍ਰਤੀਕਿਰਿਆ ਦੇਣਾ。 2.0
HorizontalAlign ਨਿਯਮ ਕੰਟੈਂਟ ਦੇ ਪੱਧਰੀ ਹਾਲਤ ਨੂੰ ਪ੍ਰਤੀਕਿਰਿਆ ਦੇਣਾ。 1.0
runat ਨਿਯਮ ਕੰਟਰੋਲ ਸਰਵਰ ਹੈ। ਇਸ ਨੂੰ "server" ਵਿੱਚ ਸੈਟ ਕਰਨਾ ਹੈ。 1.0
ScrollBars ਨਿਯਮ ਪੈਨਲ ਵਿੱਚ ਸਕਰੋਲਬਾਰ ਦਾ ਸਥਾਨ ਅਤੇ ਦਿਸ਼ਾ ਨੂੰ ਪ੍ਰਤੀਕਿਰਿਆ ਦੇਣਾ。 2.0
Wrap ਨਿਯਮ ਕੰਟੈਂਟ ਕੀ ਸਿਲੰਡਰ ਹੈ ਜਾਂ ਨਹੀਂ。 1.0

ਵੈੱਬ ਕੰਟਰੋਲ ਸਟੈਂਡਰਡ ਪ੍ਰਤੀਯੋਗਿਤਾ

AccessKey, Attributes, BackColor, BorderColor, BorderStyle, BorderWidth, 
CssClass, Enabled, Font, EnableTheming, ForeColor, Height, IsEnabled, 
SkinID, Style, TabIndex, ToolTip, Width

ਪੂਰੀ ਵਰਣਨ ਲਈ ਜਾਇਜ਼ ਵੈੱਬ ਕੰਟਰੋਲ ਸਟੈਂਡਰਡ ਪ੍ਰਤੀਯੋਗਿਤਾ.

ਕੰਟਰੋਲ ਸਟੈਂਡਰਡ ਪ੍ਰਤੀਯੋਗਿਤਾ

AppRelativeTemplateSourceDirectory, BindingContainer, ClientID, Controls, 
EnableTheming, EnableViewState, ID, NamingContainer, Page, Parent, Site, 
TemplateControl, TemplateSourceDirectory, UniqueID, Visible

ਪੂਰੀ ਵਰਣਨ ਲਈ ਜਾਇਜ਼ਕੰਟਰੋਲ ਸਟੈਂਡਰਡ ਪ੍ਰਤੀਯੋਗਿਤਾ.

ਇੰਸਟੈਂਸ

Panel
ਇਸ ਉਦਾਹਰਣ ਵਿੱਚ ਅਸੀਂ .aspx ਫਾਈਲ ਵਿੱਚ ਇੱਕ Panel ਕੰਟਰੋਲ, ਇੱਕ CheckBox ਕੰਟਰੋਲ ਅਤੇ ਇੱਕ Button ਕੰਟਰੋਲ ਘੋਸ਼ਿਤ ਕੀਤੀ ਹੈ।ਜਦੋਂ ਯੂਜ਼ਰ ਚੈੱਕ ਬਕਸ ਕੰਟਰੋਲ ਨੂੰ ਚੋਣ ਕਰਦਾ ਹੈ ਅਤੇ ਤਾਜ਼ਾ ਬਟਨ ਨੂੰ ਕਲਿੱਕ ਕਰਦਾ ਹੈ ਤਾਂ Panel ਕੰਟਰੋਲ ਛੁਪ ਜਾਵੇਗਾ。