Posts

Showing posts with the label AjaxToolkit

Modal Popup Message Box ASP.NEt C# Example

Image
Message box is a must in a web application right now. I will show example how to create message box like picture above. Requirement to try this example : AjaxControl Toolkit User Control  :  MessageBox.ascx Sample Page To call Message Box : MessageModalPopup.aspx The MessageBox.ascx  <link href="../messageBoxStyle.css" type="text/css" rel="Stylesheet" /> <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> </asp:ToolkitScriptManager> <asp:ModalPopupExtender BackgroundCssClass="modalBackground" ID="ModalPopupExtender1"     Drag="true" DropShadow="true" PopupControlID="Panel1" TargetControlID="Button2"     runat="server"> </asp:ModalPopupExtender> <asp:Button ID="Button2" runat="server" Text="Button" Style="display: none;" /> <asp:Panel ID="Panel1" runat="server

Auto Complete Example ASP.NET AjaxToolkit C#

Image
Auto complete is one powerful feature in modern web application. It is helping people to get the suggestion what are the word to put in the textbox. Today i want to show example how to use AutoComplete feature in AjaxToolkit Asp.Net The List of requirement : AjaxToolkit library AutoCompleteTextBox.aspx Page DataAutoComplete.asmx Web services The AutoCompleteTextBox.aspx Page :  <%--Script Manager--%>     <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">     </asp:ToolkitScriptManager>     <%--The Textbox--%>     <asp:TextBox ID="TextBox1" runat="server" Width="259px"></asp:TextBox>     <%--Auto Complete Textbox Extender Controller--%>     <asp:AutoCompleteExtender ID="autoComplete1" runat="server" EnableCaching="true"         BehaviorID="Auto" MinimumPrefixLength="2" TargetControlID="TextBox1"         ServicePath=&