This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class WebForm69 : System.Web.UI.Page | |
{ | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
} | |
//-- actual webmethod that will fetch data from database based on what user typed | |
[WebMethod] | |
public static List<Employee> GetEmployeeData(string SearchParam) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
<link href="Content/themes/base/jquery-ui.min.css" rel="stylesheet" /> | |
<link href="Content/themes/base/base.css" rel="stylesheet" /> | |
<link href="Content/themes/base/autocomplete.css" rel="stylesheet" /> | |
<script src="Scripts/jquery-1.12.4.min.js"></script> | |
<script src="Scripts/jquery-ui-1.12.1.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class WebForm68 : System.Web.UI.Page | |
{ | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
} | |
//-- actual webmethod that will fetch data from database based on what user typed | |
[WebMethod] | |
public static string[] GetEmployeeData(string SearchParam) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
<script src="Scripts/jquery-1.12.4.min.js"></script> | |
<link href="Content/bootstrap.min.css" rel="stylesheet" /> | |
<link href="Content/bootstrap-theme.min.css" rel="stylesheet" /> | |
<script src="Scripts/bootstrap.min.js"></script> | |
<script type="text/javascript" src="http://cdn.rawgit.com/bassjobsen/Bootstrap-3-Typeahead/master/bootstrap3-typeahead.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected void Page_Load(object sender, EventArgs e) | |
{ | |
if (!IsPostBack) | |
{ | |
BindDropdown(); | |
} | |
} | |
//-- bind dropdown | |
private void BindDropdown() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
<link href="Content/chosen.min.css" rel="stylesheet" /> | |
<script src="Scripts/jquery-1.12.4.min.js"></script> | |
<script src="Scripts/chosen.jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | |
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script> | |
<link href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet" /> |