Click here to Skip to main content
15,906,333 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: URL redirection Pin
Viral Upadhyay7-Apr-11 2:03
Viral Upadhyay7-Apr-11 2:03 
Questionjavascript function call using ScriptManager.RegisterStartupScript Pin
anishkannan6-Apr-11 23:41
anishkannan6-Apr-11 23:41 
AnswerRe: javascript function call using ScriptManager.RegisterStartupScript Pin
Arindam Tewary7-Apr-11 1:42
professionalArindam Tewary7-Apr-11 1:42 
QuestionWhere is System.Web.Extensions, Version=3.6.0.0 ? Pin
mrquang936-Apr-11 22:23
mrquang936-Apr-11 22:23 
AnswerRe: Where is System.Web.Extensions, Version=3.6.0.0 ? Pin
Parwej Ahamad7-Apr-11 2:45
professionalParwej Ahamad7-Apr-11 2:45 
GeneralRe: Where is System.Web.Extensions, Version=3.6.0.0 ? Pin
mrquang937-Apr-11 16:02
mrquang937-Apr-11 16:02 
Questionon Autocomplete, call ashx page to get data Pin
Ravi Sant6-Apr-11 19:34
Ravi Sant6-Apr-11 19:34 
AnswerRe: on Autocomplete, call ashx page to get data Pin
ktrrzn6-Apr-11 21:12
ktrrzn6-Apr-11 21:12 
hi RaviSant,

As far as i know,
u can use JSON format to return ur result from ashx file.
and in the .autocomplete use options as parameter.
like this.

var options, a;
jQuery(function(){
  options = { serviceUrl:'GenericHandler.ashx' };
  a = $('#query').autocomplete(options);
});



and in the web service class, return the JSON format like this.

{
 query:'Li',
 suggestions:['India', 'Japan', 'United Kingdom', 'United States', 'Australia', 'France', 'China'],
 data:['IN','JP','UK','US','AZ','FR','CH']
}


query is the entered search key
suggestions is the list to display in dropdown
data is optional to use as value field when u select suggestion data from dropdown text


To know more about JSON,here[^]
To learn how to return JSON format from ashx, here[^]


Ref: I get this code from devbridge.com[^]


Hope this works!
Please give any idea or suggestion on my advice.

QuestionMoveNext is not moving next!! Pin
Bomb_shell6-Apr-11 10:57
Bomb_shell6-Apr-11 10:57 
AnswerRe: MoveNext is not moving next!! Pin
Luc Pattyn6-Apr-11 13:57
sitebuilderLuc Pattyn6-Apr-11 13:57 
AnswerRe: MoveNext is not moving next!! Pin
ktrrzn6-Apr-11 13:58
ktrrzn6-Apr-11 13:58 
AnswerRe: MoveNext is not moving next!! Pin
C#Coudou6-Apr-11 17:00
C#Coudou6-Apr-11 17:00 
AnswerRe: MoveNext is not moving next!! Pin
HaBiX6-Apr-11 21:49
HaBiX6-Apr-11 21:49 
GeneralRe: MoveNext is not moving next!! Pin
Bomb_shell7-Apr-11 8:05
Bomb_shell7-Apr-11 8:05 
Questionhow to use reusuable control in ajax tab control? Pin
Dhyanga6-Apr-11 4:38
Dhyanga6-Apr-11 4:38 
AnswerRe: how to use reusuable control in ajax tab control? Pin
Ali Al Omairi(Abu AlHassan)7-Apr-11 11:00
professionalAli Al Omairi(Abu AlHassan)7-Apr-11 11:00 
GeneralRe: how to use reusuable control in ajax tab control? Pin
Dhyanga12-Apr-11 5:25
Dhyanga12-Apr-11 5:25 
GeneralRe: how to use reusuable control in ajax tab control? Pin
Ali Al Omairi(Abu AlHassan)12-Apr-11 20:15
professionalAli Al Omairi(Abu AlHassan)12-Apr-11 20:15 
QuestionDownloading files from server. Pin
sarang_k6-Apr-11 2:18
sarang_k6-Apr-11 2:18 
AnswerRe: Downloading files from server. Pin
meeram3956-Apr-11 2:32
meeram3956-Apr-11 2:32 
Questionimage filepath name not stored Pin
kannan 26-Apr-11 1:34
kannan 26-Apr-11 1:34 
AnswerRe: image filepath name not stored Pin
Pete O'Hanlon6-Apr-11 2:12
mvePete O'Hanlon6-Apr-11 2:12 
AnswerRe: image filepath name not stored Pin
dpkchhirang6-Apr-11 2:20
dpkchhirang6-Apr-11 2:20 
QuestionGoogle map with multiple markers Pin
venu6565-Apr-11 21:21
venu6565-Apr-11 21:21 
AnswerRe: Google map with multiple markers Pin
De_Novice8-Apr-11 11:32
De_Novice8-Apr-11 11:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.