Click here to Skip to main content
15,908,013 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSaving html page at client side Pin
Member 371604419-Jan-07 1:26
Member 371604419-Jan-07 1:26 
QuestionCompare date alog with time Pin
kinnuP19-Jan-07 1:21
kinnuP19-Jan-07 1:21 
AnswerRe: Compare date alog with time Pin
frsravi19-Jan-07 2:16
frsravi19-Jan-07 2:16 
GeneralRe: Compare date alog with time Pin
kinnuP19-Jan-07 3:55
kinnuP19-Jan-07 3:55 
Questionupload and download code Pin
mailto_nasar19-Jan-07 1:12
mailto_nasar19-Jan-07 1:12 
AnswerRe: upload and download code Pin
Vasudevan Deepak Kumar19-Jan-07 2:20
Vasudevan Deepak Kumar19-Jan-07 2:20 
AnswerRe: upload and download code Pin
frsravi19-Jan-07 2:24
frsravi19-Jan-07 2:24 
Question(Ajax) XmlHttpObject.open() mehtod Problem? Pin
asprajesh19-Jan-07 1:08
asprajesh19-Jan-07 1:08 
Hi All I Am working On Ajax n Asp ..But I am getting Error ..
Which is * Permission Denied * While Opening XmlHttpObject.open("Get",url,true)...
My Ajax Page Code IS below..
*************************************************************

var xmlHttp;
function getData(dataSource,btn,prao)
{

xmlHttp=GetXmlHttpObject() //creating XmlHttpObject object.
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request");
return;
}
else
{
var url=dataSource;
if (prao!="")
url=url+"?xbtn="+btn+"&xprao="+prao+"&sid="+Math.random();
else
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChanged ;
////prompt("",url, "");
xmlHttp.open("GET",url,true) // ///Getting Error On Thin Line.
xmlHttp.send(null)
}
}

function stateChanged()
{
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{
//xmlHttp.responseText="Ajax Returns ";
var val = xmlHttp.responseText ;
if (val.split("^")[0]=="File Created SuccessFully.")
{
document.frm.hdbtn.value = val.split("^")[0] + val.split("^")[1];
document.getElementById("tdload").innerHTML ="<br><font color=Green size=2 face=Arial>"+val.split("^")[0]+"</font>" //val.split("^")[1];//+
xFile = val.split("^")[1];
//getData("saveasnew.asp?fileN=" + xFile , "", "")
document.location.href = "SaveAsNew.asp?fileN=" + xFile;
//document.location.replace("SaveAsNew.asp?fileN=" + xFile);
}
else
{
//alert(xmlHttp.responseText);
alert("Save as Completed" )
}
}
}

function GetXmlHttpObject()
{
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp;
}

*************************************************************

Please Let Me Know How I remove This Problem..
Thanks In advance..



Life is not easy ,let's make it.

QuestionHow to Update the data into database using GridView Pin
slSoftware19-Jan-07 0:23
slSoftware19-Jan-07 0:23 
AnswerRe: How to Update the data into database using GridView Pin
rama charan19-Jan-07 1:47
rama charan19-Jan-07 1:47 
AnswerRe: How to Update the data into database using GridView Pin
frsravi19-Jan-07 2:32
frsravi19-Jan-07 2:32 
Questionclear crystalreportviewer data Pin
rama charan18-Jan-07 23:58
rama charan18-Jan-07 23:58 
Questionrow click property [modified] Pin
dalbhide bipin18-Jan-07 23:28
dalbhide bipin18-Jan-07 23:28 
AnswerRe: row click property Pin
Venkatesh Mookkan19-Jan-07 1:52
Venkatesh Mookkan19-Jan-07 1:52 
QuestionOpen popup windown Pin
Imran Khan Pathan18-Jan-07 23:11
Imran Khan Pathan18-Jan-07 23:11 
AnswerRe: Open popup windown Pin
Sandip Kansara18-Jan-07 23:27
Sandip Kansara18-Jan-07 23:27 
GeneralRe: Open popup windown Pin
Imran Khan Pathan19-Jan-07 0:48
Imran Khan Pathan19-Jan-07 0:48 
Questioninformation about the session ? Pin
King Shez18-Jan-07 23:07
King Shez18-Jan-07 23:07 
AnswerRe: information about the session ? Pin
Guffa18-Jan-07 23:36
Guffa18-Jan-07 23:36 
QuestionInsert image in pdf document using asp.net c# Pin
Malayil alex18-Jan-07 22:57
Malayil alex18-Jan-07 22:57 
QuestionGridView - Showing Basic Data Pin
mail57235218-Jan-07 22:55
mail57235218-Jan-07 22:55 
Questionhow to move the panel during running time in asp.net? Pin
sathyan_829418-Jan-07 22:23
sathyan_829418-Jan-07 22:23 
AnswerRe: how to move the panel during running time in asp.net? Pin
Kschuler19-Jan-07 8:26
Kschuler19-Jan-07 8:26 
QuestionIs there a way to make a gridview autogenerate columns when its datasource changes its stored procedure? Pin
Red_Wizard_Shot_The_Food18-Jan-07 22:07
Red_Wizard_Shot_The_Food18-Jan-07 22:07 
QuestionMenu style Pin
Nimua18-Jan-07 21:30
Nimua18-Jan-07 21:30 

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.