473,804 Members | 2,755 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I have fixed ASP.NET check it out

This shows you how to implement html rendering methods
and libraries in ASPX pages.

This also means super fast debugging as no re-initialising
of IIS is required after editting!

This gets around the ridiculous situation of ASPX pages
not being allowed to have methods.

I am working on a way to do this with classes as well!

Here is how to do it:

you will create two ASPX pages:

- FixASP.asp (the page that actually gets called)
- Library.asp (the page that provides library methods to FixASP.asp)

the key thing to note is that we are tricking the ASP.NET compiler
by closing the hidden render method with a brace, then we omit
the last closing brace of our code because ASP.NET will put it in for
us!

Contents of FixASP.asp:

(start)
<%
InitLib(__outpu t, parameterContai ner);
PageStart("ASP. NET is sane again!");
PageHeader();
PageMethod();
PageFooter();
PageEnd();
%><!--#Include File="Library.a spx"--><%
}
void PageMethod() {
%>this is the page method<%
%>
(end)

Contents of Library.asp:

(start)
<%}
//Don't change this bit
private System.Web.UI.H tmlTextWriter __output;
private System.Web.UI.C ontrol parameterContai ner;
void InitLib(System. Web.UI.HtmlText Writer o, System.Web.UI.C ontrol pc)
{
__output = o;
parameterContai ner = pc;
}
//Convenience methods go here
string HTML(string data) {
return HttpUtility.Htm lEncode(data);
}
string URL(string data) {
return HttpUtility.Url Encode(data);
}
string QPX(string name, string val) {
return URL(name) + "=" + URL(val) + "&";
}
//Add your rendering methods here!
void RenderLink(stri ng Title, string URL) {
%><a href="<%=HTML(U RL)%>"><%=HTML( Title)%></a><%
}
void PageStart(strin g Title) {
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title><%=HTML( Title)%></title>
</head>
<body><%
}
void PageHeader() {
%><h1>This is the page header</h1><hr/><%
}
void PageFooter() {
%><hr/><h1>This is the page footer</h1><%
}
void PageEnd() {
%></body>
</html><%
}
//Don't change anything after this
void ButtPlug() {
//this is the end
%>
(end)

now set FixASP.asp as your StartPage
and hit F5

Nov 19 '05 #1
23 1628
You should fix the way you refer to ASP.NET as ASP,
and explain why you use the .asp extension, in ASP.NET,
instead of using .aspx.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
This shows you how to implement html rendering methods
and libraries in ASPX pages.

This also means super fast debugging as no re-initialising
of IIS is required after editting!

This gets around the ridiculous situation of ASPX pages
not being allowed to have methods.

I am working on a way to do this with classes as well!

Here is how to do it:

you will create two ASPX pages:

- FixASP.asp (the page that actually gets called)
- Library.asp (the page that provides library methods to FixASP.asp)

the key thing to note is that we are tricking the ASP.NET compiler
by closing the hidden render method with a brace, then we omit
the last closing brace of our code because ASP.NET will put it in for
us!

Contents of FixASP.asp:

(start)
<%
InitLib(__outpu t, parameterContai ner);
PageStart("ASP. NET is sane again!");
PageHeader();
PageMethod();
PageFooter();
PageEnd();
%><!--#Include File="Library.a spx"--><%
}
void PageMethod() {
%>this is the page method<%
%>
(end)

Contents of Library.asp:

(start)
<%}
//Don't change this bit
private System.Web.UI.H tmlTextWriter __output;
private System.Web.UI.C ontrol parameterContai ner;
void InitLib(System. Web.UI.HtmlText Writer o, System.Web.UI.C ontrol pc)
{
__output = o;
parameterContai ner = pc;
}
//Convenience methods go here
string HTML(string data) {
return HttpUtility.Htm lEncode(data);
}
string URL(string data) {
return HttpUtility.Url Encode(data);
}
string QPX(string name, string val) {
return URL(name) + "=" + URL(val) + "&";
}
//Add your rendering methods here!
void RenderLink(stri ng Title, string URL) {
%><a href="<%=HTML(U RL)%>"><%=HTML( Title)%></a><%
}
void PageStart(strin g Title) {
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title><%=HTML( Title)%></title>
</head>
<body><%
}
void PageHeader() {
%><h1>This is the page header</h1><hr/><%
}
void PageFooter() {
%><hr/><h1>This is the page footer</h1><%
}
void PageEnd() {
%></body>
</html><%
}
//Don't change anything after this
void ButtPlug() {
//this is the end
%>
(end)

now set FixASP.asp as your StartPage
and hit F5

Nov 19 '05 #2
Hi John,
This shows you how to implement html rendering methods and libraries
in ASPX pages.

This also means super fast debugging as no re-initialising of IIS is
required after editting!

This gets around the ridiculous situation of ASPX pages not being
allowed to have methods.


I would apply for a job with the asp.net team. I think these guys realy could
use you :)

Of course aspx files can have methods :

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<script runat="server">

Sub Output()
Response.Write( "Hi John. I'm a method, really")
End Sub

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<% Output()%>
</div>
</form>
</body>
</html>

Cheers,
Tom Pester
Nov 19 '05 #3

i meant methods with codeblocks

as you well know

you guys are still too dumb to get it

somebody at microsoft sat down

and decided no methods with codeblocks

why?

it is possible - i just did it

and it has simplified my asp.net evaluation project
significantly

for example, how would you do this?

void RenderMenuItem( string Title, string Link) {
%><tr>
<td style="backgrou nd-image:url(Image s/MenuItem.gif)"
height="22">&nb sp;&nbsp;<img
src="Images/ArrowGrey.gif"/>&nbsp;&nbsp;<b ><a
href="<%=HTML(L ink)%>"><%=HTML (Title)%></a></b></td>
</td>
</tr><%
}

such a simple thing

yet how would you do this in .net?

response.write is ridiculous - this is a chunk of html, where is color
coding and completion, let alone copy and paste from html page etc.

user controls are ridiculous - what if i wanted 12 menu items generated
dynamically?

custom controls are also ridiculous

can you not see that the CORRECT approach is the one from Classic ASP?

and that this situation is extremely strange and suspect?


tom pester wrote:
Hi John,
This shows you how to implement html rendering methods and libraries
in ASPX pages.

This also means super fast debugging as no re-initialising of IIS is
required after editting!

This gets around the ridiculous situation of ASPX pages not being
allowed to have methods.


I would apply for a job with the asp.net team. I think these guys realy could
use you :)

Of course aspx files can have methods :

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<script runat="server">

Sub Output()
Response.Write( "Hi John. I'm a method, really")
End Sub

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<% Output()%>
</div>
</form>
</body>
</html>

Cheers,
Tom Pester


Nov 19 '05 #4


why would you reply about a typo

and not reply constructively to the point in hand?

what are you a human spell checker?

hit F7 and Juan will come and check your stuff ...

like a spell checker he won't understand the words and sentences ...

ha ha ha
Juan T. Llibre wrote:
You should fix the way you refer to ASP.NET as ASP,
and explain why you use the .asp extension, in ASP.NET,
instead of using .aspx.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
This shows you how to implement html rendering methods
and libraries in ASPX pages.

This also means super fast debugging as no re-initialising
of IIS is required after editting!

This gets around the ridiculous situation of ASPX pages
not being allowed to have methods.

I am working on a way to do this with classes as well!

Here is how to do it:

you will create two ASPX pages:

- FixASP.asp (the page that actually gets called)
- Library.asp (the page that provides library methods to FixASP.asp)

the key thing to note is that we are tricking the ASP.NET compiler
by closing the hidden render method with a brace, then we omit
the last closing brace of our code because ASP.NET will put it in for
us!

Contents of FixASP.asp:

(start)
<%
InitLib(__outpu t, parameterContai ner);
PageStart("ASP. NET is sane again!");
PageHeader();
PageMethod();
PageFooter();
PageEnd();
%><!--#Include File="Library.a spx"--><%
}
void PageMethod() {
%>this is the page method<%
%>
(end)

Contents of Library.asp:

(start)
<%}
//Don't change this bit
private System.Web.UI.H tmlTextWriter __output;
private System.Web.UI.C ontrol parameterContai ner;
void InitLib(System. Web.UI.HtmlText Writer o, System.Web.UI.C ontrol pc)
{
__output = o;
parameterContai ner = pc;
}
//Convenience methods go here
string HTML(string data) {
return HttpUtility.Htm lEncode(data);
}
string URL(string data) {
return HttpUtility.Url Encode(data);
}
string QPX(string name, string val) {
return URL(name) + "=" + URL(val) + "&";
}
//Add your rendering methods here!
void RenderLink(stri ng Title, string URL) {
%><a href="<%=HTML(U RL)%>"><%=HTML( Title)%></a><%
}
void PageStart(strin g Title) {
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title><%=HTML( Title)%></title>
</head>
<body><%
}
void PageHeader() {
%><h1>This is the page header</h1><hr/><%
}
void PageFooter() {
%><hr/><h1>This is the page footer</h1><%
}
void PageEnd() {
%></body>
</html><%
}
//Don't change anything after this
void ButtPlug() {
//this is the end
%>
(end)

now set FixASP.asp as your StartPage
and hit F5


Nov 19 '05 #5
re:
you guys are still too dumb to get it
Yup. That is *exactly* your problem.
Everybody's dumb...except you.

Bye...

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
i meant methods with codeblocks
as you well know

you guys are still too dumb to get it
somebody at microsoft sat down
and decided no methods with codeblocks

why?

it is possible - i just did it

and it has simplified my asp.net evaluation project
significantly

for example, how would you do this?

void RenderMenuItem( string Title, string Link) {
%><tr>
<td style="backgrou nd-image:url(Image s/MenuItem.gif)"
height="22">&nb sp;&nbsp;<img
src="Images/ArrowGrey.gif"/>&nbsp;&nbsp;<b ><a
href="<%=HTML(L ink)%>"><%=HTML (Title)%></a></b></td>
</td>
</tr><%
}

such a simple thing
yet how would you do this in .net?

response.write is ridiculous - this is a chunk of html, where is color
coding and completion, let alone copy and paste from html page etc.

user controls are ridiculous - what if i wanted 12 menu items generated
dynamically?

custom controls are also ridiculous
can you not see that the CORRECT approach is the one from Classic ASP?
and that this situation is extremely strange and suspect? tom pester wrote:
Hi John,
> This shows you how to implement html rendering methods and libraries
> in ASPX pages.
>
> This also means super fast debugging as no re-initialising of IIS is
> required after editting!
>
> This gets around the ridiculous situation of ASPX pages not being
> allowed to have methods.


I would apply for a job with the asp.net team. I think these guys realy could
use you :)

Of course aspx files can have methods :

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<script runat="server">

Sub Output()
Response.Write( "Hi John. I'm a method, really")
End Sub

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<% Output()%>
</div>
</form>
</body>
</html>

Cheers,
Tom Pester

Nov 19 '05 #6
1. You cannot fix something you don't understand. How could you fix, for
example, a watch, if you didn't know how it works?
2. An ASP.Net Page is a class. All classes can have methods.
3. Making ASP.Net procedural is a step backwards not a step forwards.
4. ASP.Net was developed over more than 6 years by architects, designers,
and programmers who make most of us look like amateurs. What you have done
is the equivalent of what Mr. Bean did to the Mona Lisa.
5. If you don't want to learn, stick to ASP.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Paranoia is just a state of mind.

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
This shows you how to implement html rendering methods
and libraries in ASPX pages.

This also means super fast debugging as no re-initialising
of IIS is required after editting!

This gets around the ridiculous situation of ASPX pages
not being allowed to have methods.

I am working on a way to do this with classes as well!

Here is how to do it:

you will create two ASPX pages:

- FixASP.asp (the page that actually gets called)
- Library.asp (the page that provides library methods to FixASP.asp)

the key thing to note is that we are tricking the ASP.NET compiler
by closing the hidden render method with a brace, then we omit
the last closing brace of our code because ASP.NET will put it in for
us!

Contents of FixASP.asp:

(start)
<%
InitLib(__outpu t, parameterContai ner);
PageStart("ASP. NET is sane again!");
PageHeader();
PageMethod();
PageFooter();
PageEnd();
%><!--#Include File="Library.a spx"--><%
}
void PageMethod() {
%>this is the page method<%
%>
(end)

Contents of Library.asp:

(start)
<%}
//Don't change this bit
private System.Web.UI.H tmlTextWriter __output;
private System.Web.UI.C ontrol parameterContai ner;
void InitLib(System. Web.UI.HtmlText Writer o, System.Web.UI.C ontrol pc)
{
__output = o;
parameterContai ner = pc;
}
//Convenience methods go here
string HTML(string data) {
return HttpUtility.Htm lEncode(data);
}
string URL(string data) {
return HttpUtility.Url Encode(data);
}
string QPX(string name, string val) {
return URL(name) + "=" + URL(val) + "&";
}
//Add your rendering methods here!
void RenderLink(stri ng Title, string URL) {
%><a href="<%=HTML(U RL)%>"><%=HTML( Title)%></a><%
}
void PageStart(strin g Title) {
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title><%=HTML( Title)%></title>
</head>
<body><%
}
void PageHeader() {
%><h1>This is the page header</h1><hr/><%
}
void PageFooter() {
%><hr/><h1>This is the page footer</h1><%
}
void PageEnd() {
%></body>
</html><%
}
//Don't change anything after this
void ButtPlug() {
//this is the end
%>
(end)

now set FixASP.asp as your StartPage
and hit F5

Nov 19 '05 #7
> What you have done is the equivalent of what Mr. Bean did to the Mona Lisa.

'Winslow's Mother' was the actual name of the painting. Still the
funniest reply I have yet to read on this newsgroup.

Nov 19 '05 #8
A typo is something that happens once.

Careless posting happens when you include
several typos in the same post, as it did in your post.

Or, maybe, you're so fixated on ASP, that you
-mindlessly- write asp when you mean to write aspx.

In any case, I won't waste any more time on your posts.

<plonk>

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .

why would you reply about a typo
and not reply constructively to the point in hand?

what are you a human spell checker?
hit F7 and Juan will come and check your stuff ...

like a spell checker he won't understand the words and sentences ...
ha ha ha
Juan T. Llibre wrote:
You should fix the way you refer to ASP.NET as ASP,
and explain why you use the .asp extension, in ASP.NET,
instead of using .aspx.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
This shows you how to implement html rendering methods
and libraries in ASPX pages.

This also means super fast debugging as no re-initialising
of IIS is required after editting!

This gets around the ridiculous situation of ASPX pages
not being allowed to have methods.

I am working on a way to do this with classes as well!

Here is how to do it:

you will create two ASPX pages:

- FixASP.asp (the page that actually gets called)
- Library.asp (the page that provides library methods to FixASP.asp)

the key thing to note is that we are tricking the ASP.NET compiler
by closing the hidden render method with a brace, then we omit
the last closing brace of our code because ASP.NET will put it in for
us!

Contents of FixASP.asp:

(start)
<%
InitLib(__outpu t, parameterContai ner);
PageStart("ASP. NET is sane again!");
PageHeader();
PageMethod();
PageFooter();
PageEnd();
%><!--#Include File="Library.a spx"--><%
}
void PageMethod() {
%>this is the page method<%
%>
(end)

Contents of Library.asp:

(start)
<%}
//Don't change this bit
private System.Web.UI.H tmlTextWriter __output;
private System.Web.UI.C ontrol parameterContai ner;
void InitLib(System. Web.UI.HtmlText Writer o, System.Web.UI.C ontrol pc)
{
__output = o;
parameterContai ner = pc;
}
//Convenience methods go here
string HTML(string data) {
return HttpUtility.Htm lEncode(data);
}
string URL(string data) {
return HttpUtility.Url Encode(data);
}
string QPX(string name, string val) {
return URL(name) + "=" + URL(val) + "&";
}
//Add your rendering methods here!
void RenderLink(stri ng Title, string URL) {
%><a href="<%=HTML(U RL)%>"><%=HTML( Title)%></a><%
}
void PageStart(strin g Title) {
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title><%=HTML( Title)%></title>
</head>
<body><%
}
void PageHeader() {
%><h1>This is the page header</h1><hr/><%
}
void PageFooter() {
%><hr/><h1>This is the page footer</h1><%
}
void PageEnd() {
%></body>
</html><%
}
//Don't change anything after this
void ButtPlug() {
//this is the end
%>
(end)

now set FixASP.asp as your StartPage
and hit F5

Nov 19 '05 #9

coding horror :
void RenderMenuItem( string Title, string Link) {
%><tr>
<td style="backgrou nd-image:url(Image s/MenuItem.gif)"
height="22">&nb sp;&nbsp;<img
src="Images/ArrowGrey.gif"/>&nbsp;&nbsp;<b ><a
href="<%=HTML(L ink)%>"><%=HTML (Title)%></a></b></td>
</td>
</tr><%
}
much better :

str &= "<tr><td class=c1>"
str &= "<img src=""Images/ArrowGrey.gif"" />"
str &= String.Format(" <a class=c2 href=""{0}"">{0 }</a>", Link)
str &= "</td></tr>"

Make a user control if you want HTML designer support. ASP.NET doesnt suppor
render functions, get over it?
i meant methods with codeblocks
You mean rendering functions I suppose.

After reading some of your comments in the other posts I see that you don't
understand asp.net yet. So don't expect any serious responses after you do.

Cheers,
Tom Pester
i meant methods with codeblocks

as you well know

you guys are still too dumb to get it

somebody at microsoft sat down

and decided no methods with codeblocks

why?

it is possible - i just did it

and it has simplified my asp.net evaluation project significantly

for example, how would you do this?

void RenderMenuItem( string Title, string Link) {
%><tr>
<td style="backgrou nd-image:url(Image s/MenuItem.gif)"
height="22">&nb sp;&nbsp;<img
src="Images/ArrowGrey.gif"/>&nbsp;&nbsp;<b ><a
href="<%=HTML(L ink)%>"><%=HTML (Title)%></a></b></td>
</td>
</tr><%
}
such a simple thing

yet how would you do this in .net?

response.write is ridiculous - this is a chunk of html, where is color
coding and completion, let alone copy and paste from html page etc.

user controls are ridiculous - what if i wanted 12 menu items
generated dynamically?

custom controls are also ridiculous

can you not see that the CORRECT approach is the one from Classic ASP?

and that this situation is extremely strange and suspect?

tom pester wrote:
Hi John,
This shows you how to implement html rendering methods and libraries
in ASPX pages.

This also means super fast debugging as no re-initialising of IIS is
required after editting!

This gets around the ridiculous situation of ASPX pages not being
allowed to have methods.

I would apply for a job with the asp.net team. I think these guys
realy could use you :)

Of course aspx files can have methods :

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<script runat="server">

Sub Output()
Response.Write( "Hi John. I'm a method, really")
End Sub
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<% Output()%>
</div>
</form>
</body>
</html>
Cheers,
Tom Peste

Nov 19 '05 #10

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

Similar topics

4
7854
by: Roger Leigh | last post by:
Hello, I'm writing a fixed-precision floating point class, based on the ideas in the example fixed_pt class in the "Practical C++ Programming" book by Steve Oualline (O' Reilly). This uses a long int to store the value, and the precision (number of decimal points) is variable (it's a templated class): template <size_t _decimal_places = 4> class FixedFloat {
6
3634
by: Marie ALHOMME | last post by:
Hi everybody ! I'm new here, and I'm French, so pardon me for any and all grammar and typo mistakes ! I hope you'll understand everything anyway :) I'm working on my portfolio site, which I am completely rewriting in HTML 4. strict + CSS. In the Gallery part of the site, people can see thumbnails of my work and when they click on any work, it opens a popup (btw : I'm not here to
1
1694
by: Gernot Frisch | last post by:
Hi, I have a fixed point math class, that completely should replace "float" on PocketPC. However the 3D graphics created look a bit odd. I think there's some bug somewhere. Is there any source code that "tests" math classes like these, or do I have to write one myself? Thank you, --
11
6785
by: Linny | last post by:
Hi, I need some help in declaring an array of pointers to array of a certain fixed size. I want the pointers to point to arrays of fixed size only (should not work for variable sized arrays of the same type). eg: int arr1;//Array of 20 ints int arr2; int arr3; ............
5
10149
by: Ron Vecchi | last post by:
I know the math I need to perform on width and height to keep an aspect ratio but where and how would I implement keeping a set aspect ratio on a form when a user resizes it. Override OnResize? couldn't quite figure it out. -- Ron Vecchi
2
1718
by: Brian Henry | last post by:
In C++ you could easily create a fixed with string by creating it with char(50) or so as an example. This made it easy to write data out to a flat file with a fixed width column. What is the best way in .NET to write to a fixed width flat file? Being that the data going ot a specific column may or may not be over or under the specified width. The data must be truncated or padded to meed the fixed width. Is there any simple way to do this or...
8
4812
by: knoxautoguy | last post by:
This problem has consumed a lot of my time, and I'm aftraid someone will tell me that my whole approach to this objective is wrong; however, I would like to know if there is a way to do this. I have a web page divided into two major segments, with the top segment fixed and the bottom segment allowed to scroll, thus giving the look of frames without frames. I also have anchors so that users can click on a letter of the alphabet to jump...
2
9766
by: Eric Lindsay | last post by:
Googling suggests that IE7 may support position: fixed; I think this might be handy for some pages I want to do. Does anyone have any comments about whether fixed should be considered for use on new web pages? -- http://www.ericlindsay.com
2
12948
by: dfdavis.mtu | last post by:
I have a table that I dynamically fill with data from a database for medical companies to be able to determine if their patients meet certain criteria. However they want a fixed header for it so they can keep track of the criteria as they scroll since there can be upwards of 1000 or more patients in the table. The way I got this to work was to enter the information in a table via C# by storing it in a label. This works fine and scrolls...
8
2290
by: ms news group | last post by:
What happens if exception is thown within a fixed block? Will the pinned memory buffer get unpinned? and if the pinning pointer points to a managed memery buffer allocated within the throwing function, will the memory buffer get garbage-collected finally? I check the language spec, also searched the internet, found nothing regarding this question.
0
9705
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10568
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
10311
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,...
0
10074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
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
5516
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...
2
3813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2988
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.