Using two frames in one page..

G

Guest

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
 
M

Mark Sandfox

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.
 
I

IPGrunt

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
 
B

bruce barker

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)


| 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
 
G

Guest

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
 

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

Staff online

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top