how to programatically NOT show webform border...help

  • Thread starter Thread starter trint
  • Start date Start date
T

trint

Ok,
How can I NOT show the "titlebar" or the "border" at all on a webform
(I have a transparent gif as the edges)?
Thanks,
Trint
 
Hi,

are you talking about a WEB form ?

if so, you cannot, you can remove the title, statusbar, menu, etc but I
don't recall any way to show just the page, even right now I don't think you
can even remove the control box, otherwise all the popup would use it !!!


cheers,
 
BUT,
I can I do this through window.open?:

function showRemote() {
self.name = "main"; // names current window as "main"

var windowprops = "frameset rows='*,0' framespacing=0 frame name='top'
src='"+urlPop+"' scrolling=auto border=0 frameborder=0
toolbar=0,location=0,directories=0,status=0, " +
"menubar=0,scrollbars=0,resizable=0,width=224,height=372 ;

"<frame name='top' src='"+urlPop+"' scrolling=auto>"+
"<frame name='bottom' src='about:blank' scrolling='no'

OpenWindow = window.open("http://mis12/travel10/cE.aspx", "remote",
windowprops); // opens remote control
}

If so, where can I put this, because this does show the titlebar and
border?

Thanks,
Trint
 
So, am I forced to have a titlebar and border? Is their nothing I can
do?
This is really really important to the company for me to do this.
Any help is appreciated.
Thanks,
Trint
 
Here you go:

this.FormBorderStyle = FormBorderStyle.None;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.ControlBox = false;
 
trint said:
Ok,
How can I NOT show the "titlebar" or the "border" at all on a webform
(I have a transparent gif as the edges)?
Thanks,
Trint
To remove tehe title bar:
As far as I am conscious of:
You remove the control box
You remove the text
 
Guys,
Thanks....let me try these tonight and give them a try.
I appreciate everyones help.
Trint
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top