Click here to Skip to main content
15,920,383 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: where can i get cool css for my Gridview ????? Pin
Abhijit Jana11-Nov-09 5:08
professionalAbhijit Jana11-Nov-09 5:08 
Questioncrystal report Pin
vikas shukla11-Nov-09 1:09
vikas shukla11-Nov-09 1:09 
AnswerRe: crystal report Pin
Abhishek Sur11-Nov-09 1:33
professionalAbhishek Sur11-Nov-09 1:33 
QuestionRunning ASP.NET from your flash like apache Pin
Chrispie12311-Nov-09 0:26
Chrispie12311-Nov-09 0:26 
AnswerRe: Running ASP.NET from your flash like apache Pin
Abhishek Sur11-Nov-09 0:31
professionalAbhishek Sur11-Nov-09 0:31 
AnswerRe: Running ASP.NET from your flash like apache Pin
sashidhar11-Nov-09 0:51
sashidhar11-Nov-09 0:51 
GeneralRe: Running ASP.NET from your flash like apache Pin
Chrispie12329-Nov-09 20:39
Chrispie12329-Nov-09 20:39 
GeneralRe: Running ASP.NET from your flash like apache Pin
sashidhar29-Nov-09 21:23
sashidhar29-Nov-09 21:23 
QuestionDB access password Pin
Chrispie12311-Nov-09 0:24
Chrispie12311-Nov-09 0:24 
AnswerRe: DB access password Pin
Abhishek Sur11-Nov-09 0:35
professionalAbhishek Sur11-Nov-09 0:35 
GeneralRe: DB access password Pin
Chrispie12311-Nov-09 4:33
Chrispie12311-Nov-09 4:33 
GeneralRe: DB access password Pin
Abhishek Sur11-Nov-09 6:44
professionalAbhishek Sur11-Nov-09 6:44 
GeneralRe: DB access password Pin
Chrispie12326-Nov-09 3:22
Chrispie12326-Nov-09 3:22 
GeneralRe: DB access password Pin
Blikkies26-Nov-09 3:48
professionalBlikkies26-Nov-09 3:48 
GeneralRe: DB access password Pin
Abhishek Sur26-Nov-09 4:05
professionalAbhishek Sur26-Nov-09 4:05 
Questionradiolist diappear on postback Pin
anilaabc10-Nov-09 22:39
anilaabc10-Nov-09 22:39 
AnswerRe: radiolist diappear on postback Pin
Abhishek Sur11-Nov-09 0:37
professionalAbhishek Sur11-Nov-09 0:37 
QuestionFind Local Time From UCT Time Pin
adkalavadia10-Nov-09 22:36
adkalavadia10-Nov-09 22:36 
AnswerRe: Find Local Time From UCT Time Pin
Covean11-Nov-09 2:49
Covean11-Nov-09 2:49 
GeneralRe: Find Local Time From UCT Time Pin
adkalavadia11-Nov-09 18:50
adkalavadia11-Nov-09 18:50 
GeneralRe: Find Local Time From UCT Time Pin
Covean11-Nov-09 21:05
Covean11-Nov-09 21:05 
QuestiononChange Event in javascript Pin
Jacobb Michael10-Nov-09 21:36
Jacobb Michael10-Nov-09 21:36 
AnswerRe: onChange Event in javascript Pin
Petr Pechovic10-Nov-09 23:19
professionalPetr Pechovic10-Nov-09 23:19 
AnswerRe: onChange Event in javascript Pin
Abhishek Sur11-Nov-09 0:29
professionalAbhishek Sur11-Nov-09 0:29 
QuestionAjax Help [modified] Pin
JMAboliEnrich10-Nov-09 21:29
JMAboliEnrich10-Nov-09 21:29 
I want to use Ajax in External .js File...

I have some code in PHP which is similar to following...

function Validate()
{
var pars="selectedIndex="+strUname+"&objname=checkPid";
var url ='/checkUser.php';
var sucReqUname=function(t){
document.getElementById("chackingmsg").innerHTML="";
avail_uname=t;
if(t == "1"){ val_failed();
return false;
}
else{ val_success(o.id);}
}
getAjaxRes(url,pars,sucReqUname);

}
//common ajax
function getAjaxRes(url,params,ResRetFun){
var http = new GetXmlHttpObject();
http.open("POST", url, true);
//Send the proper header information along with the request
http.setRequestHeader("");
http.setRequestHeader("Content-length", params.length);
http.setRequestHeader("Connection", "close");
http.onreadystatechange = function() {
if(http.readyState == 4 && http.status == 200)
ResRetFun(http.responseText);
}
http.send(params);
}
function GetXmlHttpObject(){
var xmlHttp=null;
try{ xmlHttp=new XMLHttpRequest();}
catch (e){// Internet Explorer
try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch (e){ xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}
}
return xmlHttp;
}


i want to use this code in java script .. can any one tell me how to use
this in asp.net in external .js file...

its urgent........
Thanks in advance....

modified on Wednesday, November 11, 2009 4:21 AM

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.