Click here to Skip to main content
15,886,110 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Ajax Calendar Extender inside a Gridview issue? Pin
muralekarthick8-Sep-10 4:41
muralekarthick8-Sep-10 4:41 
Questionconverting video file format to flv format using ffmpeg Pin
diaza12-Jul-08 1:21
diaza12-Jul-08 1:21 
QuestionHow to check window is popup or not? Pin
Abhijit Jana11-Jul-08 23:13
professionalAbhijit Jana11-Jul-08 23:13 
AnswerRe: How to check window is popup or not? Pin
Anurag Gandhi12-Jul-08 0:13
professionalAnurag Gandhi12-Jul-08 0:13 
GeneralRe: How to check window is popup or not? Pin
Abhijit Jana12-Jul-08 0:39
professionalAbhijit Jana12-Jul-08 0:39 
GeneralRe: How to check window is popup or not? Pin
Anurag Gandhi12-Jul-08 0:54
professionalAnurag Gandhi12-Jul-08 0:54 
GeneralRe: How to check window is popup or not? Pin
Abhijit Jana12-Jul-08 0:57
professionalAbhijit Jana12-Jul-08 0:57 
GeneralRe: How to check window is popup or not? Pin
Anurag Gandhi12-Jul-08 1:11
professionalAnurag Gandhi12-Jul-08 1:11 
If a window don't have any parent window, it means that the window itself is a parent one.
Please check something like this:

if(window.parent == null)
window.location = LoginPage;

To find out Root parent window and redirect that to login page, try something like this:

myWindow = window;
while(myWindow.parent != null)
myWindow = myWindow.parent;
myWindow.location = LoginPage;

Logically it should work but I also didn't try it.
Please let me know. If it is working.

Thanks.

Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.

GeneralRe: How to check window is popup or not? Pin
Abhijit Jana12-Jul-08 1:21
professionalAbhijit Jana12-Jul-08 1:21 
Questionsecurity Exception Pin
vijaya_sarathys11-Jul-08 23:05
vijaya_sarathys11-Jul-08 23:05 
AnswerRe: security Exception Pin
just3ala212-Jul-08 23:15
just3ala212-Jul-08 23:15 
QuestionMail Inbox Pin
TheEagle11-Jul-08 22:36
TheEagle11-Jul-08 22:36 
AnswerRe: Mail Inbox Pin
Abhijit Jana11-Jul-08 23:08
professionalAbhijit Jana11-Jul-08 23:08 
GeneralRe: Mail Inbox Pin
TheEagle12-Jul-08 0:10
TheEagle12-Jul-08 0:10 
AnswerRe: Mail Inbox Pin
Abhijit Jana12-Jul-08 0:33
professionalAbhijit Jana12-Jul-08 0:33 
Questionmarquee on master page Pin
TheEagle11-Jul-08 21:59
TheEagle11-Jul-08 21:59 
QuestionRe: marquee on master page Pin
Abhijit Jana11-Jul-08 22:22
professionalAbhijit Jana11-Jul-08 22:22 
AnswerRe: marquee on master page Pin
TheEagle11-Jul-08 22:29
TheEagle11-Jul-08 22:29 
AnswerRe: marquee on master page Pin
TheEagle11-Jul-08 22:33
TheEagle11-Jul-08 22:33 
Questioninsert data from one table to another table (with condition) Pin
Sneha Bisht11-Jul-08 21:13
Sneha Bisht11-Jul-08 21:13 
AnswerRe: insert data from one table to another table (with condition) Pin
Guffa12-Jul-08 0:55
Guffa12-Jul-08 0:55 
Questionproblam in nbsp; Pin
Rinki Mukheraji11-Jul-08 21:04
Rinki Mukheraji11-Jul-08 21:04 
Questionhow to write a method or function which returns time range values Pin
Rameez Raja11-Jul-08 20:28
Rameez Raja11-Jul-08 20:28 
AnswerRe: how to write a method or function which returns time range values Pin
Imran Khan Pathan11-Jul-08 20:46
Imran Khan Pathan11-Jul-08 20:46 
GeneralRe: how to write a method or function which returns time range values Pin
Anubhava Dimri13-Jul-08 19:16
Anubhava Dimri13-Jul-08 19:16 

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.