Hi Ivan,
 
Thankyou for your reply.  I will try using your method and will let you
know what happened.
 
I have one more question.  When I click a button in the datagrid in a
popup window, I do an update or insert in a database table.  So after
the operation I would need to close the popup window and refresh the
parent aspx page to see the update or change happened.  
 
Could you please tell me how to refresh the parent aspx page from a
popup?
 
Thankyou.
 
Raj.
 
 
 
-----Original Message-----
From: Ivan Belov [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 16, 2004 12:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [AspNetAnyQuestionIsOk] I want --> Toolbar = no ,
Addressbar=no
 
Parvez,

As far as I know you cannot modify settings (menubar, address bar,
resizable, etc) of current
browser window. It only works for new window that you open with
window.open (...):

window.open('Main.aspx','','menubar=no,resizable=yes,
scrollbars=yes,toolbar=no,addressbar=no');

You can also close parent window from child window, but it will cause
browser to popup a dialog
notifying user that script has attempted to close browser window.

/Ivan Belov/

--- Parvez <[EMAIL PROTECTED]> wrote:
> Dear Friends,
> 
> I want to remove the toolbar n addressbar from my asp.net intranet web
application.
> I've written the folllowing lines of code .
> 
> Dim GetPageName As String = "http://dcc/WorkOrder/Main.aspx";
> 
> Response.Write("<script language='JavaScript'>")
> 
> Response.Write("window.navigate('" & GetPageName &
"','','menubar=no,resizable=yes,
> scrollbars=yes,toolbar=no,addressbar=no');void('');")
> 
> Response.Write("<" & Chr(47) & "script>")
> 
> But this code is not working and unable to find the main.aspx page on
the web and it is going to
> search the page.
> 
> Can anyone help me.Thanks in advance.
> 
> Thanks.
> 
> Parvez
> 
> 
> 
> 
> 
> 
> [Non-text portions of this message have been removed]
> 
> 


=====
/Ivan Belov/
Software programmer
http://www.wlol.net


            
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail



Yahoo! Groups Sponsor
ADVERTISEMENT
click here
<http://us.ard.yahoo.com/SIG=1290io76m/M=295196.4901138.6071305.3001176/
D=groups/S=1705006764:HM/EXP=1087489461/A=2128215/R=0/SIG=10se96mf6/*htt
p:/companion.yahoo.com> 
 
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=222121294> 
 
  _____  

Yahoo! Groups Links
*         To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
  
*         To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
cribe> 
  
*         Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to