473,769 Members | 7,584 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help on implementing "FormBorderStyl e = FormBorderStyle .None;" in Webform..

Ok,
I received info that this will work as a means of removing the border
around a window that I create (which also loads an aspx file) in the
firing file (aspx using javascript):
OpenWindow = window.open("lo gon2.aspx", "remote", windowprops);

But the code that removes its borders is in c#???:
this.FormBorder Style = FormBorderStyle .None;
this.MaximizeBo x = false;
this.MinimizeBo x = false;
this.ControlBox = false;

How can I put this all together correctly since, creating the window is
javascript (window.open) and removing its borders is c# in a webform
(FormBorderStyl e = FormBorderStyle .None)?

Any help is appreciated.
Thanks,
Trint

Nov 17 '05 #1
4 2477
Jan
Hi Trint,

Not sure where you got this idea or why you thought it would ever it
work, but it's absolutly rediculous! There is no way thet you could put
"this together correctly" and I'm tempted not to tell you how to do
what you want but I'm nicer than I should be so:

First read a good book on web development then...

If you want to show something in as a borderless window you need to use
a floating DIV and toggle the visibility.

There are ways of manipulating the window settings on any window in
Win32 but they would be beyond your ken, nore would I advocate doing it
as most virus protection software will warn about such activity.

Good Luck,
Jan

Nov 17 '05 #2
Jan,
If you know, I need you to help - please. Here is where I got this
info that may have just wasted my time:
http://www.developersdex.com/csharp/...4375062&p=1111
It is Bennie Haelen' reply on that page.
I really need this now...If you really know, your help is appreciated.
Thanks,
Trint

Jan wrote:
Hi Trint,

Not sure where you got this idea or why you thought it would ever it
work, but it's absolutly rediculous! There is no way thet you could put
"this together correctly" and I'm tempted not to tell you how to do
what you want but I'm nicer than I should be so:

First read a good book on web development then...

If you want to show something in as a borderless window you need to use
a floating DIV and toggle the visibility.

There are ways of manipulating the window settings on any window in
Win32 but they would be beyond your ken, nore would I advocate doing it
as most virus protection software will warn about such activity.

Good Luck,
Jan


Nov 17 '05 #3
Hi,

You got mixed web and win develoipment, I think to remember last week you
asked the same question,
IIRC there is no way to get a IE window with just the client area, not I
want this feature, it would make the pop-ups even worse than now.

what you can do is as Jan suggested, you could use a floating div that can
act as a "new window"

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"trint" <tr***********@ gmail.com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com...
Ok,
I received info that this will work as a means of removing the border
around a window that I create (which also loads an aspx file) in the
firing file (aspx using javascript):
OpenWindow = window.open("lo gon2.aspx", "remote", windowprops);

But the code that removes its borders is in c#???:
this.FormBorder Style = FormBorderStyle .None;
this.MaximizeBo x = false;
this.MinimizeBo x = false;
this.ControlBox = false;

How can I put this all together correctly since, creating the window is
javascript (window.open) and removing its borders is c# in a webform
(FormBorderStyl e = FormBorderStyle .None)?

Any help is appreciated.
Thanks,
Trint

Nov 17 '05 #4
I want the first Webform to hide and only display Jan' "new window"...
Any example on doing this floating div is much appreciated.
Thanks,
Trint

Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2226
by: Sam Sungshik Kong | last post by:
Hello! I use Python for ASP programming. I found something weird. Response.Write(Request("something")) It draws "None" when there's no value for something. Actually I expect "" instead of "None". So I changed it like
13
40764
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div style="display:none"> can be displayed by setting the style attribute to "display:", or hidden with "display:none". This gives the illusion that the person filling out the form is switching from page to page...without the overhead of extra hits on the server,...
8
10414
by: Andy Fish | last post by:
Hi, I have a section of a web page that I want to be able to make appear and disappear with javascript, with the things below it moving up and down as appropriate. I'm not using absolute positioning or anthing fancy. I put the aforementioned section in a div: <div id="foo"> ... optional stuff in here </div>
5
1782
by: Daniel Crespo | last post by:
Is there a built-in method for transforming (1,None,"Hello!") to 1,None,"Hello!"? Thanks
5
9825
by: Sue | last post by:
Help! I have an asp table with an embedded table. The asp tablerow that contains this table has a static ID assigned of "FilterRow2" (see snippets of code below). When I click on the button to set the tablerow style property to "None", the row (And embedded table) briefly disappear, but then bounce right back into sight. Any ideas on why it's doing this and how to make the style.display = "None" stick?
5
4641
by: z. f. | last post by:
sorry about the previous post, by mistake not completed. i have an asp.net page with the line <%@ OutputCache Duration="30" VaryByParam="none" %> but when i make requests to the page with different parameters, i get different result, but i tries to check if i set the VaryByParam to none there should be the same output for different parameters, so why does it not work?
2
4749
by: spifster | last post by:
Hello all, I am building a collapsable tree using Javascript with DOM in IE. In order to make collapsed cells disappear I have been hiding the text. The cells collapse but still leave borders behind. I have set the borderStyle to none and the black lines go away, but there is still white space where the borders were. Following are my html files I am using to test it. ----------------BEGIN HTML FILE----------------
1
3504
by: Franck | last post by:
Hi, I'm quit confused with the following problem: I'm tryin to read an Embedded Xml file from my Class Library using a static method which should returns a XmlReader. The point is that using DataSet or XmlDocument works perfectly... using XmlReader always fails. I always get "None" as a result. Even using XmlReaderSettings does not change anything.
3
2786
by: Kappucino XL | last post by:
Hi there... What is the VBA Code for inserting the string "none", in every blank textbox, in a report? My system, generates a report from a query. eg: textbox1: FirstName ; textbox2: Middle Name; textbox3: LastName! Now, my report will display everyone's FirstName, MiddleName, LastName from the query. Incase someone does not have a middle-name, I need the word "None", to be displayed, on the the report? How do I go about doing this? My...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9996
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3963
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.