Click here to Skip to main content
15,905,508 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to get the return value of Javascript Confirmation MessageBox in ASP.Net? Pin
codddy18-Nov-08 20:29
codddy18-Nov-08 20:29 
AnswerRe: How to get the return value of Javascript Confirmation MessageBox in ASP.Net? Pin
smarttom9918-Nov-08 20:54
smarttom9918-Nov-08 20:54 
GeneralRe: How to get the return value of Javascript Confirmation MessageBox in ASP.Net? Pin
codddy18-Nov-08 20:59
codddy18-Nov-08 20:59 
GeneralRe: How to get the return value of Javascript Confirmation MessageBox in ASP.Net? Pin
smarttom9918-Nov-08 21:03
smarttom9918-Nov-08 21:03 
QuestionAjax in Asp.net Pin
Rajesh Kumar Chekuri18-Nov-08 20:17
Rajesh Kumar Chekuri18-Nov-08 20:17 
AnswerRe: Ajax in Asp.net Pin
Christian Graus18-Nov-08 20:24
protectorChristian Graus18-Nov-08 20:24 
AnswerRe: Ajax in Asp.net Pin
smarttom9918-Nov-08 20:50
smarttom9918-Nov-08 20:50 
QuestionLock Pin
ellllllllie18-Nov-08 19:45
ellllllllie18-Nov-08 19:45 
hello
i've getted the following from a site :

private static object ThisLock = new object();
object dataObject = Cache["globalData"];

lock(ThisLock)
{
if( dataObject == null )
{
//Get Data from db
GlobalObj globalObject = GlobalObj.GetData();
Cache["globalData"] = globalObject;
}
}

return globalObject;

but what i need is :
if 2 session access the following code in the same time, does the second wait the first to the locked block and then execute the same code or do not execute the code and pass away from

dghdfghdfghdfghdgh

AnswerRe: Lock Pin
Guffa18-Nov-08 19:52
Guffa18-Nov-08 19:52 
QuestionModal Popup Display Webpage Pin
smarttom9918-Nov-08 19:21
smarttom9918-Nov-08 19:21 
QuestionRedirect localhost to another IP Pin
AlexeiXX318-Nov-08 19:16
AlexeiXX318-Nov-08 19:16 
Questiondatatype conversion error Pin
varsh1218-Nov-08 19:12
varsh1218-Nov-08 19:12 
AnswerRe: datatype conversion error Pin
Parwej Ahamad18-Nov-08 19:18
professionalParwej Ahamad18-Nov-08 19:18 
GeneralRe: datatype conversion error Pin
varsh1218-Nov-08 19:47
varsh1218-Nov-08 19:47 
AnswerRe: datatype conversion error Pin
Vimalsoft(Pty) Ltd18-Nov-08 19:31
professionalVimalsoft(Pty) Ltd18-Nov-08 19:31 
GeneralRe: datatype conversion error Pin
varsh1218-Nov-08 19:41
varsh1218-Nov-08 19:41 
GeneralRe: datatype conversion error Pin
Vimalsoft(Pty) Ltd18-Nov-08 20:19
professionalVimalsoft(Pty) Ltd18-Nov-08 20:19 
AnswerRe: datatype conversion error Pin
Guffa18-Nov-08 19:59
Guffa18-Nov-08 19:59 
GeneralRe: datatype conversion error Pin
varsh1218-Nov-08 22:49
varsh1218-Nov-08 22:49 
GeneralRe: datatype conversion error Pin
Guffa18-Nov-08 23:42
Guffa18-Nov-08 23:42 
GeneralRe: datatype conversion error Pin
varsh1219-Nov-08 1:35
varsh1219-Nov-08 1:35 
AnswerRe: datatype conversion error Pin
smarttom9918-Nov-08 21:00
smarttom9918-Nov-08 21:00 
GeneralRe: datatype conversion error Pin
varsh1219-Nov-08 1:19
varsh1219-Nov-08 1:19 
QuestionString builder problem Pin
krishnaveer18-Nov-08 18:27
krishnaveer18-Nov-08 18:27 
AnswerRe: String builder problem Pin
Parwej Ahamad18-Nov-08 18:36
professionalParwej Ahamad18-Nov-08 18:36 

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.