AutoShow property indicates whether control will be displayed after page is loaded. In 'Behavior', you can change timing (when popup will be displayed and hidden). Properties in categories 'Texts' and 'Design' allow you to modify control look and displayed messages. In category 'Action', you can define what the control should do when user clicks on link or closes popup element. DesignerĬontrol has rich support for designer, so you can change every property of control at design-time. Control will appear in toolbox and you can add it to a page. In VS.NET, you can just use Add/Remove Toolbox Items and select control's DLL file. RaiseEvents - When you select this option, popup control will raise LinkClicked or PopupClosed events on server-side.Īdding the control to a web page is very simple.( Target attribute is added only when LinkTarget isn't empty string.) Generated code will look like this: Link., so be careful when using quotes in Link. You can also change target attribute of generated tag. OpenLink - In this case, control allows you to do any JavaScript operation or open link to any other page ( Link property).MessageWindow (default) - If this action is selected, control will open new browser window with text specified by Text property.There can be the following three types of actions: The method that will be used is determined by ActionType property. There are three ways how this events can be handled. The control has two events, LinkClicked (link in popup was clicked) and PopupClosed (user clicked on 'X' button in popup). You can also use HTML in lot of control properties, so you can get popup with icon or anything you want. The look of the control is different on browsers that doesn't support filters (filters are supported only in newer versions of MSIE). It is tested with latest version of Mozilla, Internet Explorer and Opera. Control supports Drag&Drop, so user can move control on the page, where he wants.Ī very important feature of this control is, that it can be used on most of the current browsers. Graphical appearance of this control can be completely changed by using one of predefined styles or by modifying all colors used on the control. This control imitates MSN Messenger alert, but it is designed for use in a web page. This article describes an ASP.NET popup control. Download control documentation - 71.1 Kb.Download demo project (C# and VB.NET) - 38.2 KB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |