Skip to main content

Posts

How to use ValidatorCalloutExtender in asp.net ajax

ValidatorCalloutExtender ValidatorCalloutExtender is an asp.net ajax control toolkit's extender control. ValidatorCalloutExtender control enhances the functionality of existing asp.net validators. The following asp.net ajax example code demonstrate us how can we use ValidatorCalloutExtender control. in this code we created a TextBox control and a RequiredFieldValidor control. the RequiredFieldValidator control ensure that the TextBox is a required field in the web form. we places a ValidatorCalloutExtender control to enhance the RequiredFieldValidator control. when someone submit the form without inputting TextBox value the ValidatorCalloutExtender show the error message in callout that was defined by the RequiredFieldValidator ErrorMessage property. ValidatorCalloutExtender control's have the following properties those are TargetControlID, Width, CssClass, HighlightCssClass, WarningIconImageUrl, CloseImageUrl and Animations. ValidatorCalloutExten...

How to use SliderExtender in asp.net ajax

SliderExtender in asp.net ajax SliderExtender is an asp.net ajax control toolkit's extender control. SliderExtender control allow asp.net developers to upgrade a TextBox server control to a graphical slider. The slider provide a way to users to choose a numeric value from a finite range. When someone choose a value using the slider, it is automatically persisted during full or partial postbacks. asp.net developers can continue to reference the TextBox to get and set the slider's value. A typical slider have three parts those are a rail, a handle and a TextBox or label to show the slider's current value. SliderExtender control's have the following properties those are TargetControlID, BoundControlID, Minimum, Maximum, Decimals, Steps, Value, EnableHandleAnimation, HandleAnimationDuration, RailCssClass, HandleCssClass, HandleImageURL, Length, RaiseChangeOnlyOnMouseUp and TooltipText. SliderExtender TargetControlID property specify a TextBox ...

How to use TextBoxWatermarkExtender in asp.net ajax

TextBoxWatermarkExtender TextBoxWatermarkExtender is an asp.net ajax control toolkit's extender control. TextBoxWatermarkExtender control can be attached to an asp.net TextBox web server control. TextBoxWatermarkExtender control apply watermark behavior on target TextBox server control. When a watermarked textbox control is empty, it display a message in the text input area of the textbox with a custom css style. if someone typed some text into the textbox control, the watermarked appearance goes away. TextBoxWatermarkExtender control's properties are TargetControlID, WatermarkText and WatermarkCssClass. TargetControlID property specify the TextBox server control which we want to extend for attach watermark behavior. WatermarkText property set the message which we want to display in TextBox control when textbox has no value. WatermarkCssClass represent a css class which we want to apply into the textbox control when textbox has no value. Typically...

How to use Accordion in asp.net ajax

Accordion and AccordionPane in asp.net ajax Accordion is an asp.net ajax toolkit's control. Accordion web control provide multiple panes. only one pane can display at a time in an Accordion control. Accordion is implemented as a web control. an AccordionPane web control represent a pane in accordion. AccordionPane control built with a header template and a content template. asp.net developers can track the selected pane so it stays visible across postback. Accordion control support three auto size modes those are None, Limit and Fill. we can set Accordion auto size mode by setting a value for its AutoSize property. AutoSize mode None allow the Accordion grows or shrink without restriction. with this property Accordion size depends on pane content size. AutoSize mode Limit set a maximum height for Accordion control. in this mode, if the pane content is higher than Accordion Height property then a scrollbar appears in Accordion control. Fill mode stay...

How to use RoundedCornersExtender in asp.net ajax

RoundedCornersExtender in asp.net ajax RoundedCornersExtender is an asp.net ajax control toolkit's extender control. RoundedCornersExtender allow us to apply rounded corners to an element such as Panel, BulletedList, CheckBoxList, RadioButtonList server controls. to apply rounder corners, RoundedCornersExtender control insert elements before and after the target element, so the overall height of the target element will change slightly. RoundedCornersExtender control's have the following properties those are TargetControlID, Radius, Corners, Color and BorderColor. RoundedCornersExtender control's TargetControlID property specify the control which corners we want to make rounded. Corners property specify the corners of the target control that should be rounded. Corners enumeration have the following values those are None, TopLeft, TopRight, BottomRight, BottomLeft, Top, Right, Bottom, Left and All. so we can round any corner of target control ...

How to use NumericUpDownExtender in asp.net ajax

NumericUpDownExtender in asp.net ajax NumericUpDownExtender is an asp.net ajax control toolkit's extender control. NumericUpDownExtender control can be extend and attached to an asp.net TextBox server control. target textbox control add a Up and a Down button that increment and decrement the value in the textbox. the increment and decrement can be simple +1/-1 arithmetic. NumericUpDownExtender control have the following properties those are TargetControlID, TargetButtonUpID, TargetButtonDownID, Width, RefValues, Step, Minimum, Maximum, Tag, ServiceUpPath, ServiceUpMethod, ServiceDownPath and ServiceDownMethod. NumericUpDownExtender control's TargetControlID property specify the TextBox server control which we want to extend as a NumericUpDown control. Width property set the combined size of TextBox and Up/Down buttons. Width property minimum value is 25. Minimum property set the minimum allowed value for the extender control and Maximum proper...

How to use ListSearchExtender in asp.net ajax

ListSearchExtender ListSearchExtender is an asp.net ajax control toolkit's extender control. ListSearchExtender control can be extend asp.net ListBox and DropDownList web server controls. ListSearchExtender control allow us to search for items in an extended ListBox or DropDownList server control by typing. ListSearchExtender control provide an incremental search within the ListBox based on what has been typed so far. ListSearchExtender control have the following properties those are TargetControlID, PromptText, PromptCssClass, PromptPosition, QueryPattern, IsSorted, QueryTimeout, Animations, OnShow, OnShowBehavior, OnHide, OnHideBehavior and raiseImmediateOnChange. ListSearchExtender control's TargetControlID specify the asp.net ListBox or DropDownList control which we want to provide items search facility. PromptText property set a message to display when the target control get focus. PromptCssClass allow us to design prompt message using css st...