Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2005

Tip: Looking for answers? Try searching our database.

How to make rectangles on aweb page?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Luis Esteban Valencia - 25 Jul 2005 23:10 GMT
Hello I want to make rectangles programatically on a webpage. How can I
achieve this?
Kev - 26 Jul 2005 09:18 GMT
Rectangle code for a web page:

<table width=200 height=200 bgcolor="red"><tr><td> </td></tr></table>

Or you can do shape drawing using VML (only on IE 5+)

Or use Flash

Or use Smart Client .NET app

K

> Hello I want to make rectangles programatically on a webpage. How can I
> achieve this?
Luis Esteban Valencia - 26 Jul 2005 14:01 GMT
I want on awebpage not on a winform, and I want to make them programatically
with asp.net not VML or HTML.

> Rectangle code for a web page:
>
[quoted text clipped - 10 lines]
> > Hello I want to make rectangles programatically on a webpage. How can I
> > achieve this?
Kev - 27 Jul 2005 11:41 GMT
Well, you know, ASP.NET uses HTML to "render" to the client in the web
browser so you have a couple of options:

1) Generate the HTML code to draw a rectangle.
For example (ASP.NET)
Response.Write("<table width=200 height=200 bgcolor=red><tr><td>
</td></tr></table>");

2) Create an image on the server and include an image tag reference to it in
your ASP.NET page.
For example (ASP.NET)
CreateRectImage(filename);
Response.Write("<img src=filename>");

K

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.