Table of Contents
EXTRA WEB CONTROLS
Es importante entender que MICROSOFT.NET es una libreria muy completa de clases que facilitan la construccion de programas ejecutables en servidor, de esta amplia coleccion de clases, el presente material se centra en unas cuantas clases en particular, principalmente en WEB CONTROLS, sin embargo tampoco es posible ver en este curso todas ellas, espor eso que se decidio incorporar este pequenoapendice con algunos de los web controls que no se incluyen en ninguna parte de este material.
AdRotator Class
See Also
AdRotator Members | System.Web.UI.WebControls Namespace | AdCreatedEventArgs | AdCreatedEventHandler | AdvertisementFile
Requirements
Namespace: System.Web.UI.WebControls
Platforms: Windows 2000, Windows XP Professional, Windows .NET Server family
Assembly: System.Web (in System.Web.dll)
Displays an advertisement banner on a Web page.
For a list of all members of this type, see AdRotator Members.
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.AdRotator
[Visual Basic]**Public Class AdRotator Inherits WebControl**[C#]**public class AdRotator : WebControl**[C++]**public __gc class AdRotator : public WebControl**[JScript]**public class AdRotator extends WebControl**
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Remarks
Use the AdRotator control to display a randomly selected advertisement banner on the Web page. The displayed advertisement can change whenever the page refreshes.
Advertisement information is stored in a separate XML file. The XML file allows you to maintain a list of advertisements and their associated attributes. Attributes include the path to an image to display, the URL to link to when the control is clicked, the alternate text to display when the image in not available, a keyword, and the frequency of the advertisement.
As an alternative source of data to an XML file, it is possible to provide advertisement information through a call-back event. This event can also be used in combination with the XML file to extend the behavior of the AdRotator control, such as redirecting to another page. See the AdvertisementFile property for additional information on the file format.
A new advertisement is selected whenever the Web page refreshes. An Impressions attribute can be assigned to each advertisement. It controls how often an advertisement is selected relative to the other advertisements in the advertisement file.
Requirements
Namespace: System.Web.UI.WebControls
Platforms: Windows 2000, Windows XP Professional, Windows .NET Server family
Assembly: System.Web (in System.Web.dll)
c 2001 Microsoft Corporation. All rights reserved.
Calendar ClassSee Also
Calendar Members | System.Globalization Namespace | DateTime | DateTimeFormatInfo | GregorianCalendar | HebrewCalendar | HijriCalendar | JapaneseCalendar | JulianCalendar | KoreanCalendar | TaiwanCalendar | ThaiBuddhistCalendar
Requirements
Namespace: System.Globalization
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
Assembly: Mscorlib (in Mscorlib.dll)
Represents time in divisions, such as weeks, months, and years.
For a list of all members of this type, see Calendar Members.
System.Object
System.Globalization.Calendar
Derived classes
[Visual Basic]**MustInherit Public Class Calendar**[C#][Serializable]**public abstract class Calendar**[C++][Serializable]**public __gc __abstract class Calendar**[JScript]**public **Serializable**abstract class Calendar**
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Remarks
A calendar divides time into measures, such as weeks, months, and years. The number, length, and start of the divisions vary in each calendar.
Any moment in time can be represented as a set of numeric values using a particular calendar. For example, the last vernal equinox occurred at (0.0, 0, 46, 8, 20, 3, 1999) in the Gregorian calendar. An implementation of Calendar can map any DateTime value to a similar set of numeric values, and DateTime can map such sets of numeric values to a textual representation (for example, "8:46 AM March 20th 1999 AD" for the English (United States) culture) using DateTimeFormatInfo.
A Calendar implementation can define one or more eras. The Calendar class identifies the eras as enumerated integers where the current era (CurrentEra) has the value 0.
In order to make up for the difference between the calendar year and the actual time that the earth rotates around the sun or the actual time that the moon rotates around the earth, a leap year has a different number of days than a standard calendar year. Each Calendar implementation defines leap years differently. El Blog de la ginebra y el whisky on the rocks
For consistency, the first unit in each interval (for example, the first month) is assigned the value 1.
The System.Globalization namespace includes the following Calendar implementations: GregorianCalendar, HebrewCalendar, HijriCalendar, JapaneseCalendar, JulianCalendar, KoreanCalendar, TaiwanCalendar, and ThaiBuddhistCalendar.
Requirements
Namespace: System.Globalization
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
Calendar Members | System.Globalization Namespace | DateTime | DateTimeFormatInfo | GregorianCalendar | HebrewCalendar | HijriCalendar | JapaneseCalendar | JulianCalendar | KoreanCalendar | TaiwanCalendar | ThaiBuddhistCalendar
c 2001 Microsoft Corporation. All rights reserved.
HyperLink ClassSee Also
HyperLink Members | System.Web.UI.WebControls Namespace
Requirements
Namespace: System.Web.UI.WebControls
Platforms: Windows 2000, Windows XP Professional, Windows .NET Server family
Assembly: System.Web (in System.Web.dll)
A control that displays a link to another Web page.
For a list of all members of this type, see HyperLink Members.
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.HyperLink
[Visual Basic]**Public Class HyperLink Inherits WebControl**[C#]**public class HyperLink : WebControl**[C++]**public __gc class HyperLink : public WebControl**[JScript]**public class HyperLink extends WebControl**
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Remarks
Use the HyperLink control to create a link to another Web page. The HyperLink control is typically displayed as text specified by the Text property. It can also be displayed as an image specified by the ImageUrl property.
Note If both the Text and ImageUrl properties are set, the ImageUrl property takes precedence. If the image is unavailable, the text in the Text property is displayed. In browsers that support ToolTip functionality, the Text property also becomes the ToolTip.Requirements
Namespace: System.Web.UI.WebControls
Platforms: Windows 2000, Windows XP Professional, Windows .NET Server family
Assembly: System.Web (in System.Web.dll)
See Also
HyperLink Members | System.Web.UI.WebControls Namespace
c 2001 Microsoft Corporation. All rights reserved.
ImageButton ClassSee Also
ImageButton Members | System.Web.UI.WebControls Namespace | Button | Image
Requirements
Namespace: System.Web.UI.WebControls
Platforms: Windows 2000, Windows XP Professional, Windows .NET Server family
Assembly: System.Web (in System.Web.dll)
A control that displays an image and responds to mouse clicks on the image.
For a list of all members of this type, see ImageButton Members.
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.Image
System.Web.UI.WebControls.ImageButton
[Visual Basic]**Public Class ImageButton Inherits Image Implements IPostBackDataHandler, IPostBackEventHandler**[C#]**public class ImageButton : Image, IPostBackDataHandler, IPostBackEventHandler**[C++]**public __gc class ImageButton : public Image, IPostBackDataHandler, IPostBackEventHandler**[JScript]**public class ImageButton extends Image implements IPostBackDataHandler, IPostBackEventHandler**
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Remarks
Use the ImageButton control to display an image that responds to mouse clicks.
Both the Click and Command events are raised when the ImageButton control is clicked.
By using the OnClick event handler, you can programmatically determine the coordinates where the image is clicked. You can then code a response, based on the values of the coordinates. Note the origin (0, 0) is located at the upper left corner of the image.
You can use the OnCommand event handler to make the ImageButton control behave like a command button. A command name can be associated with the control by using the CommandName property. This allows multiple ImageButton controls to be placed on the same Web page. The value of the CommandName property can then be programmatically identified in the OnCommand event handler to determine the appropriate action to perform when each ImageButton control is clicked. The CommandArgument property can also be used to pass additional information about the command, such as specifying ascending order.
Requirements
Namespace: System.Web.UI.WebControls
Platforms: Windows 2000, Windows XP Professional, Windows .NET Server family
Assembly: System.Web (in System.Web.dll)
See Also
ImageButton Members | System.Web.UI.WebControls Namespace | Button | Image
c 2001 Microsoft Corporation. All rights reserved.
EXTRA WEB CONTROLS VISUAL BASIC NET
Es importante entender que MICROSOFT.NET es una libreria muy completa de clases que facilitan la construccion de programas ejecutables en servidor, de esta amp
adsl
es
https://adsltodo.es/static/images/adsl-extra-web-controls-visual-basic-net-1125-0.jpg
2024-09-28
El contenido original se encuentra en https://programacionfacil.com/visual_basic_net/extra_web_controls/
Todos los derechos reservados para el autor del contenido original (en el enlace de la linea superior)
Si crees que alguno de los contenidos (texto, imagenes o multimedia) en esta página infringe tus derechos relativos a propiedad intelectual, marcas registradas o cualquier otro de tus derechos, por favor ponte en contacto con nosotros en el mail [email protected] y retiraremos este contenido inmediatamente