Click here to Skip to main content
15,902,198 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How To add pop Calender in content page using master page Pin
Christian Graus7-Sep-09 21:14
protectorChristian Graus7-Sep-09 21:14 
AnswerRe: How To add pop Calender in content page using master page Pin
Blikkies7-Sep-09 21:25
professionalBlikkies7-Sep-09 21:25 
GeneralRe: How To add pop Calender in content page using master page Pin
Samarjeet Singh@india7-Sep-09 21:36
Samarjeet Singh@india7-Sep-09 21:36 
GeneralRe: How To add pop Calender in content page using master page Pin
Christian Graus7-Sep-09 21:37
protectorChristian Graus7-Sep-09 21:37 
GeneralRe: How To add pop Calender in content page using master page Pin
Samarjeet Singh@india7-Sep-09 21:42
Samarjeet Singh@india7-Sep-09 21:42 
GeneralRe: How To add pop Calender in content page using master page Pin
Christian Graus7-Sep-09 21:49
protectorChristian Graus7-Sep-09 21:49 
GeneralRe: How To add pop Calender in content page using master page Pin
Samarjeet Singh@india7-Sep-09 21:53
Samarjeet Singh@india7-Sep-09 21:53 
QuestionAJAX - How to Handling Response in Multiple Requests Pin
j_u_sankar7-Sep-09 21:00
j_u_sankar7-Sep-09 21:00 
I am showing a grid on a page having a list of Orders, which is refreshing automatically without postback. The problem occurs while number of store users are logged in.

Problem is after few miniutes log into that page, grid(table) contents on the page which listing the order is swapping/switching among the users.

When a request send by client-1 to the server, the server sending back response of client-1's request to client-2 and vice-versa.

Code in JS:

function FetchDGContentsxyz(lsUser)
{
var lsFilter=document.getElementById('ddlFilter').value;
var lsSort=document.getElementById('ddlSort').value;
this.requestUrl = "AjaxServer.aspx?Usr="+ encodeURIComponent(lsUser) +"&Ftr=" + encodeURIComponent(lsFilter) + "&Srt="+ encodeURIComponent(lsSort);
//CreateXmlReq();
this.Xml1 = new ActiveXObject("Msxml2.XMLHTTP");
if(Xml1)
{
this.Xml1.open("GET", this.requestUrl, true);
this.Xml1.onreadystatechange = HandleResponse;
this.Xml1.send();
}
}

function HandleResponse()
{
if(this.Xml1.readyState == 4)
{
if(this.Xml1.status == 200)
{
ClearTable();
FillTable(this.Xml1.responseXML.documentElement);
}
else
{
alert("There was a problem retrieving data from the server." );
}
}
}


code in AjaxServer :

If Not IsPostBack Then
UserName = Request("Usr")
Filter = Request("Ftr")
Sort = Request("Srt")
Response.Clear()
If Filter = "All Location" Then
Filter = ""
Else
Filter = " and b.LocNo='" & Filter & "'"
End If
lsSQL = " select row_number() over (order by " & Sort & ")[Sl.], a.orderno [Order No],a.updatedtime [Time], " from order_temp a INNER JOIN Location b ON a.ALocNo = b.LocNo INNER JOIN tbl_OrderStatus c ON a.status = c.STS_Code INNER JOIN customer d ON a.custcode = d.custid LEFT OUTER JOIN driver e ON a.deliveredby = e.driverid LEFT OUTER JOIN tbl_storeTiming f ON a.ALocNo=f.locno and datename(w,a.updatedon)=f.weekday " & _
" where a.alocno in (select locno from Tbl_StoreRights where loginid='" & UserName & "') " lsSQL = lsSQL & Filter & " order by " & Sort
ds = GenDataTable(lsSQL, "Order_temp")
chString = ds.GetXml()

Response.Expires = -1

Response.Clear()
Response.ContentType = "text/xml"
Response.Write(chString)
'Response.Flush()
Response.End()
Else
Response.Clear()
Response.End()
End If
End Sub
AnswerRe: AJAX - How to Handling Response in Multiple Requests Pin
Christian Graus7-Sep-09 21:17
protectorChristian Graus7-Sep-09 21:17 
GeneralRe: AJAX - How to Handling Response in Multiple Requests Pin
j_u_sankar8-Sep-09 0:50
j_u_sankar8-Sep-09 0:50 
Questionhow to show diff kind of files in the same place with adrotation? Pin
Member 38798817-Sep-09 20:57
Member 38798817-Sep-09 20:57 
Questiontreeview with context menu Pin
rinku soni 237-Sep-09 20:49
rinku soni 237-Sep-09 20:49 
AnswerRe: treeview with context menu Pin
Arun Jacob7-Sep-09 20:53
Arun Jacob7-Sep-09 20:53 
QuestionThrowing parser Error message that .cs File is not found, after publishing. Pin
yadlaprasad7-Sep-09 20:20
yadlaprasad7-Sep-09 20:20 
QuestionHow to make a custom datalist control Pin
Albert837-Sep-09 19:56
Albert837-Sep-09 19:56 
AnswerRe: How to make a custom datalist control Pin
Arun Jacob7-Sep-09 20:01
Arun Jacob7-Sep-09 20:01 
GeneralRe: How to make a custom datalist control Pin
Albert837-Sep-09 20:32
Albert837-Sep-09 20:32 
GeneralRe: How to make a custom datalist control Pin
Arun Jacob7-Sep-09 20:33
Arun Jacob7-Sep-09 20:33 
GeneralRe: How to make a custom datalist control Pin
Albert837-Sep-09 20:37
Albert837-Sep-09 20:37 
Questionsave grid view state before refreshing Pin
benams7-Sep-09 19:51
benams7-Sep-09 19:51 
AnswerRe: save grid view state before refreshing Pin
Christian Graus7-Sep-09 21:36
protectorChristian Graus7-Sep-09 21:36 
GeneralRe: save grid view state before refreshing Pin
benams8-Sep-09 0:50
benams8-Sep-09 0:50 
Questionwebsite uploading in loacal iis6.0 Pin
rummer7-Sep-09 18:26
rummer7-Sep-09 18:26 
AnswerRe: website uploading in loacal iis6.0 Pin
N a v a n e e t h7-Sep-09 18:27
N a v a n e e t h7-Sep-09 18:27 
QuestionDisplay data as slideshow Pin
yesu prakash7-Sep-09 17:56
yesu prakash7-Sep-09 17:56 

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.