473,811 Members | 3,151 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WebControl, to select part of a web-image.

Hi,
I'm looking for an ASP.NET web-control in wich I can show a generated image
to user, the user should then be able to select part of the image using the
mouse (rubberbanding) , a postback should result from this action returning
the coordinates of the upper-left and lower-right corners for furthrt
processing.

I've looked around on the internet and found some, but these were 'heavy'
imaging controls wich have far more functionality than is necessary, I'm not
even sure that control will return the right data to me on postback. I don't
mind paying for this type of control but don't want to because I'm paying
for (95%) functionality wich I'm not using.

Has anyone fabricated something like this and is willing to share (or sell)
? I've also been looking into javascripting but have no experience in that
field and am pressed for time...
Kind regards,
Jurjen.
Nov 19 '05 #1
3 1424

"Jurjen de Groot" <in**@gits-online.nl> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Hi,
I'm looking for an ASP.NET web-control in wich I can show a generated image to user, the user should then be able to select part of the image using the mouse (rubberbanding) , a postback should result from this action returning
the coordinates of the upper-left and lower-right corners for furthrt
processing.

I've looked around on the internet and found some, but these were 'heavy'
imaging controls wich have far more functionality than is necessary, I'm not even sure that control will return the right data to me on postback. I don't mind paying for this type of control but don't want to because I'm paying
for (95%) functionality wich I'm not using.

Has anyone fabricated something like this and is willing to share (or sell) ? I've also been looking into javascripting but have no experience in that
field and am pressed for time...
Kind regards,
Jurjen.

You should take a look at the Graphics Class. I have not done it but I think
it would be fairly easy to do with that class.
Mike
Nov 19 '05 #2
Graphics is of no use in an asp.net context. You need to use JavaScript
....
have a look at flickr.com, they use javascript and rubberbanding around
images

Nov 19 '05 #3

"Stefan" <Cl*********@gm ail.com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Graphics is of no use in an asp.net context. You need to use JavaScript
...
have a look at flickr.com, they use javascript and rubberbanding around
images

Graphics can certainly by used in an asp.net context. I do it all the time.
Take a look at the System.Drawing Namespace. You can resize images, draw on
them, put text on them, or display selected portions of them. I think that
is what the OP was looking to accomplish.
Mike
Nov 19 '05 #4

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

Similar topics

0
1765
by: Harry F. Harrison | last post by:
Here's the situation...Context - Using an Inherited WebControl object as a base for server custom controls. In a web custom control, whenever I create a child control and add it to the Controls class, it takes 3 lines of code. Example: Dim TextBox as System.Web.UI.WebControls.TextBox 1..TextBox = New System.Web.UI.WebControls.TextBox
0
1601
by: Lucas, Todd | last post by:
Hello everyone! I'm having a problem with a WebControl that I'm designing for a Menu. I've been at it for about 3 weeks now, and can't seem to get around this problem. So I'm hoping that someone can help me ... My environment: VS 2003 v7.1.3088, Win2K v5.0.2195 SP3, IE6 v6.0.2800.1106 browser. I have a class (C3Menu) derived from WebControl, with a property (MenuItems) that is a collection of menu items. The collection property is...
0
1821
by: Novice | last post by:
Hey all, I've already posted this question and two posters offered suggestions and they worked - but now I would like to know why - and if possible the answer to a second question. Here is my problem: I am trying to write a custom WebControl - at some point this WebControl will output a bunch of controls into several Panel objects. But I just recently got my WebControl to output a single button and attach an event handler to that...
1
4008
by: Hutty | last post by:
I would like to convert the code below into an asp.net application where I can run it via the web. It works ok for vb.net, but my goal is to do it through the browser. I have in a few areas, in particular the "application.startuppath" where it's not part of the System.Web. HttpApplicationState. Another area is "trv.Nodes.Add(text_line.Trim())" where value of type string cannot be converted to Microsoft.web.ui.webcontrol.treenode. ...
0
1538
by: Matt Howeson | last post by:
I have a problem with a usercontrol that is dynamically loaded, from a web control and is not restoring it's viewstate properly. Here's the scenario. Within our content management system, I have a webcontrol which allows a admin user to select a usercontrol to include within a page when in "edit mode". When a user is editing the page they see a dropdown list of available controls and select one and save the page, kind of irrelevant to...
1
1409
by: Dariusz Tomon | last post by:
Hi In my project I have got several webcontrol (ascx). How can I handle with the problem: I would like to have some ASPNET object (DropDownList, InputBox etc.) in one webcontrol (this webcontrol is a part of Default.aspx page where I have <form runat=server> tag. But this tag does not cover this webcontrol - let's say "header" webcontrol 'cos it is needed by other webcontrols. So ... telling in short I cannot have <form runat=server> in...
0
1752
by: Henrik Stidsen | last post by:
I need to get the HTML output from a webcontrol as a string instead of it being rendered on the page. I have the following code: Dim SiteMapSource As New SiteMapDataSource() Dim TreeView1 As New TreeView() TreeView1.DataSource = SiteMapSource TreeView1.ShowExpandCollapse = True
3
1666
by: Guillaume Hanique | last post by:
Hi, I feel very stupid. I simply want to derive a control from system.web.ui.webcontrols.button and use that on my webform, but I just can't get it done. Can anyone tell me how to do that? I can create my own usercontrol (Menu: Website Add new item... Web User Control). This creates an aspx and an aspx.vb file in the root folder, which inherits nicely from system.web.ui.usercontrol. But I want to inherit...
0
1616
by: Vaibhav Shah | last post by:
Hi, While loading a user control with IE WebControl's tree view in it, on a webpart, i am getting this error. Error: unable to load ~\UserControls\TreeViewControl.ascx Details: Parser Error: Could not load type Microsoft.Web.UI.WebControls.Design.CssCollectionEditor from assembly mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
0
1157
by: JohnK82 | last post by:
Hi guys I have a webcontrol that displays an article in multiple parts. You can jump back and forward between the parts (I call them sheets) by clicking on a label. Each sheet has a label. The control is used like this: <john:MyControl runat="server"> <john:Sheet label="Intro"> This is the first part of the text... </john:Sheet>
0
9734
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
9607
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
10652
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
10408
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
10137
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...
1
7673
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
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3874
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3026
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.