Ajax Auto complete onclient showing ,Yuo can set a fix header
AutoComplete Extender Properties to be Set
OnClientShowing="AutoCompleteHeader" BehaviorID="Behav1"
Javascript:-
function AutoCompleteHeader()
{
var extender = $find("Behav1");
var message = "Name|Class|RollNo";
jQuery(extender.get_completionList()).prepend("<li rel='header' style='background-color:#0263B1 !important;font-weight: bold;color:white;cursor : Not-allow !important;'>" + message + "</li>");
}
Note EmployeeAutoCompleteEx7- is BehaviourId of AutoComplete
No comments:
Post a Comment