Click here to Skip to main content
15,033,917 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Ajax Calendar Extender inside a Gridview issue? Pin
muralekarthick8-Sep-10 4:41
Membermuralekarthick8-Sep-10 4:41 
Questionconverting video file format to flv format using ffmpeg Pin
diaza12-Jul-08 1:21
Memberdiaza12-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
Membervijaya_sarathys11-Jul-08 23:05 
AnswerRe: security Exception Pin
just3ala212-Jul-08 23:15
Memberjust3ala212-Jul-08 23:15 
QuestionMail Inbox Pin
TheEagle11-Jul-08 22:36
MemberTheEagle11-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
MemberTheEagle12-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
MemberTheEagle11-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
MemberTheEagle11-Jul-08 22:29 
AnswerRe: marquee on master page Pin
TheEagle11-Jul-08 22:33
MemberTheEagle11-Jul-08 22:33 
Questioninsert data from one table to another table (with condition) Pin
Sneha Bisht11-Jul-08 21:13
MemberSneha Bisht11-Jul-08 21:13 
AnswerRe: insert data from one table to another table (with condition) Pin
Guffa12-Jul-08 0:55
MemberGuffa12-Jul-08 0:55 
Questionproblam in nbsp; Pin
Rinki Mukheraji11-Jul-08 21:04
MemberRinki Mukheraji11-Jul-08 21:04 
Questionhow to write a method or function which returns time range values Pin
Rameez Raja11-Jul-08 20:28
MemberRameez 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
MemberImran 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
MemberAnubhava 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.