Click here to Skip to main content
15,899,124 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDoubt in partial class Pin
Kissy1613-Nov-07 23:07
Kissy1613-Nov-07 23:07 
AnswerRe: Doubt in partial class Pin
Christian Graus13-Nov-07 23:14
protectorChristian Graus13-Nov-07 23:14 
AnswerRe: Doubt in partial class Pin
N a v a n e e t h13-Nov-07 23:14
N a v a n e e t h13-Nov-07 23:14 
QuestionWebParts... Pin
Mr.Sam13-Nov-07 23:06
Mr.Sam13-Nov-07 23:06 
QuestionForm unload Pin
ps.srinivasan13-Nov-07 22:43
ps.srinivasan13-Nov-07 22:43 
AnswerRe: Form unload Pin
N a v a n e e t h13-Nov-07 22:47
N a v a n e e t h13-Nov-07 22:47 
GeneralRe: Form unload Pin
ps.srinivasan13-Nov-07 23:10
ps.srinivasan13-Nov-07 23:10 
GeneralRe: Form unload Pin
N a v a n e e t h13-Nov-07 23:21
N a v a n e e t h13-Nov-07 23:21 
ps.srinivasan wrote:
frnd my requirement is simple,if any one open one form i don't want to allow other person open that same form


Confused | :confused: Hope you are speaking about web applications only ! AFAIK, there are not much efficient methods to satisfy this. You can make use of application variables/a database flag indicates somebody opened the page. But big question is how you will reset the value when he finished his visit ? You should rely on some sort of javascript which works on unload. But what will happen if JS is disabled on client's machine ? Your flag status will be still active which prevents further users to the page. So it's not a good solution. Why do you need to implement this ?

If you are planning to implement any of the methods I suggested above, make sure you have a time-out mechanism which updates the flag/application variable to the initial stage.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

My Website | Ask smart questions

AnswerRe: Form unload Pin
Christian Graus13-Nov-07 22:48
protectorChristian Graus13-Nov-07 22:48 
AnswerRe: Form unload Pin
Michael Sync13-Nov-07 22:51
Michael Sync13-Nov-07 22:51 
GeneralRe: Form unload Pin
N a v a n e e t h13-Nov-07 22:58
N a v a n e e t h13-Nov-07 22:58 
GeneralRe: Form unload Pin
Michael Sync13-Nov-07 23:06
Michael Sync13-Nov-07 23:06 
GeneralRe: Form unload Pin
ps.srinivasan13-Nov-07 23:11
ps.srinivasan13-Nov-07 23:11 
GeneralRe: Form unload Pin
Christian Graus13-Nov-07 23:16
protectorChristian Graus13-Nov-07 23:16 
GeneralRe: Form unload Pin
Michael Sync13-Nov-07 23:41
Michael Sync13-Nov-07 23:41 
Questionopen file Pin
venky45613-Nov-07 22:20
venky45613-Nov-07 22:20 
AnswerRe: open file Pin
N a v a n e e t h13-Nov-07 22:34
N a v a n e e t h13-Nov-07 22:34 
GeneralRe: open file Pin
venky45613-Nov-07 23:19
venky45613-Nov-07 23:19 
GeneralRe: open file Pin
N a v a n e e t h13-Nov-07 23:23
N a v a n e e t h13-Nov-07 23:23 
Questionhow to use paypal controls in asp.net for transaction [modified] Pin
gopal_Pandey13-Nov-07 22:14
gopal_Pandey13-Nov-07 22:14 
AnswerRe: how to use paypal controls in asp.net for transaction Pin
gopal_Pandey23-Nov-07 1:32
gopal_Pandey23-Nov-07 1:32 
Questionproblem to read data Pin
Deepak Nigam13-Nov-07 22:07
Deepak Nigam13-Nov-07 22:07 
AnswerRe: problem to read data Pin
Christian Graus13-Nov-07 22:16
protectorChristian Graus13-Nov-07 22:16 
QuestionDrop down list box [modified] Pin
ps.srinivasan13-Nov-07 20:52
ps.srinivasan13-Nov-07 20:52 
AnswerRe: Drop down list box Pin
Michael Sync13-Nov-07 21:07
Michael Sync13-Nov-07 21:07 

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.