473,480 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Using two frames in one page..

Hey guys,

Just wondered how we can divide the page in two sections, and use one
section to load a jpeg image, and the other section to add some other
controls to manipulate the jpeg.

Useful feedback will be appreciated.

Thanks,

I.A
Nov 19 '05 #1
5 1985
Don't use frames. You'll end up with a lot headaches. They usually require
a lot of client side code.
Instead you should usually divide logical sections of your page(s) into user
controls (or custom controls if you want to reuse them between different
projects.)

Here's more info:
http://SteveOrr.net/faq/UserCustom.aspx
http://msdn.microsoft.com/library/de...ebControls.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Irfan Akram" <Ir********@discussions.microsoft.com> wrote in message
news:94**********************************@microsof t.com...
Hey guys,

Just wondered how we can divide the page in two sections, and use one
section to load a jpeg image, and the other section to add some other
controls to manipulate the jpeg.

Useful feedback will be appreciated.

Thanks,

I.A

Nov 19 '05 #2
There are several ways to do this. If you are going to use aspx controls
you will need to interlace some java script to get one page to talk to the
other. With out knowing exactly how you want to accomplish this i do not
know which code you will need.

"Irfan Akram" <Ir********@discussions.microsoft.com> wrote in message
news:94**********************************@microsof t.com...
Hey guys,

Just wondered how we can divide the page in two sections, and use one
section to load a jpeg image, and the other section to add some other
controls to manipulate the jpeg.

Useful feedback will be appreciated.

Thanks,

I.A

Nov 19 '05 #3
On 15 Feb 2005, "=?Utf-8?B?SXJmYW4gQWtyYW0=?="
<Ir********@discussions.microsoft.com> postulated in news:949D7512-
17*************************@microsoft.com:
Hey guys,

Just wondered how we can divide the page in two sections, and use one
section to load a jpeg image, and the other section to add some other
controls to manipulate the jpeg.

Useful feedback will be appreciated.

Thanks,

I.A


Why not?

And isn't this is an html feature and not really an ASP.NET issue?

-- ipgrunt
Nov 19 '05 #4
actually no frames are need. you can just refresh the image.

<table>
<tr>
<td>
<!-- place controls here -->
</td>
<td>
<img id=myimg runat=server>
</td>
</tr>
</table>

another common approach

<table>
<tr>
<td>
<form target=imgFrame method=post action=editimg.aspx >
<!-- place controls here -->
</form>
</td>
<td>
<iframe src="editimg.aspx" name=imgFrame>
</td>
</tr>
</table>

if you want to use a serverside form try this trick:

<form id=mainForm runat=server>

<script>document.getElementById('mainForm').target ="imgFrame";</script>

on postback, the page should only render the modified image

-- bruce (sqlwork.com)
"Irfan Akram" <Ir********@discussions.microsoft.com> wrote in message
news:94**********************************@microsof t.com...
| Hey guys,
|
| Just wondered how we can divide the page in two sections, and use one
| section to load a jpeg image, and the other section to add some other
| controls to manipulate the jpeg.
|
| Useful feedback will be appreciated.
|
| Thanks,
|
| I.A
Nov 19 '05 #5
Hi Mark,

Basicall I am designing a mrking system. I will load in a jpeg scanned image
of an examination script, i.e. 1 page at a time, in to one part of the page,
and then use the remaining part of the page to have a marking tool for the
examiner to mark the question displayed on the script.

I hope that answers your question, and you can now suggest to me the best
way of achieving it.

Thanks,

I.A

"Mark Sandfox" wrote:
There are several ways to do this. If you are going to use aspx controls
you will need to interlace some java script to get one page to talk to the
other. With out knowing exactly how you want to accomplish this i do not
know which code you will need.

"Irfan Akram" <Ir********@discussions.microsoft.com> wrote in message
news:94**********************************@microsof t.com...
Hey guys,

Just wondered how we can divide the page in two sections, and use one
section to load a jpeg image, and the other section to add some other
controls to manipulate the jpeg.

Useful feedback will be appreciated.

Thanks,

I.A


Nov 19 '05 #6

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

Similar topics

1
4837
by: Jawahar Rajan | last post by:
All, I have an ASP site that uses frames two frames. (yes I should be using include files, but we started ou using frames so we have been stuck with frames.) When I get a page expired warning...
1
5942
by: Phoenix | last post by:
I have a site that is supposed to be 'real-time' which has a frameset of 2 rows (the bottom row is 1 pixel so essentially invisible to IE users which is the requirement for the product). The bottom...
25
43163
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
7
2967
by: dj Bass | last post by:
simple, they don't like things that restrict the server-side controls... and when it comes to frames, you need client side stuff and that stuff's up the asp.net strategy. right or wrong?
3
1395
by: Patrick | last post by:
I need to develop a website bearing the following in mind, - the site will have to be dymanic (i.e. the layout can change from time to time), - its a church website My initial intention was to...
8
9393
by: '69 Camaro | last post by:
Perhaps I'm Googling for the wrong terms. Does anyone have links to examples of the syntax necessary to read the HTML on another Web page when that HTML is produced from JavaScript using the...
0
1198
by: thompson_38 | last post by:
Is the difference between calling a HTML page by it location (axWebBrowser.Navigate("C:projecthome\home.htm" ref 0, ref 0, ref 0, ref 0)) and being able to access the frames in that page using ...
4
2803
by: sirumalla.srinivas | last post by:
Hi, I have link to the various documents which is stored on the server. When ever user click on any link, the respective document should be opened. Here what i need is to have all the links on...
3
1966
meenakshia
by: meenakshia | last post by:
hi forum i m facing a problem regarding printing withing the frames page i have a main frame page. which has on the left the menu html page loaded and on the right the target content page. when i...
0
7048
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,...
0
6911
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...
0
7091
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6743
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...
0
5344
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,...
0
4488
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...
0
2999
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...
0
2988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
564
muto222
php
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.