Re: Repeat an ASP:Image button

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"VK" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in news:1f9401c549ad
$f89f5a90$a601280a@xxxxxxx:

> Thanks for your reply. But I dont know how often the image
> has to be repeated. It is based on the height of the
> screen. I dont know how to calculate that.

You can use Javascript or a component like BrowserHawk to get the screen
resolution.


> Furthermore, I
> would like to have only one button if it is possible. If
> not please let me know how to solve that probkem.

You can bind the same event handler to multiple buttons dynamically. Or you
can make multiple buttons call the same event handler.

Binding the event is the easy part. Figuring the screen resolution of the
user's screen is probably what you should be focusing on.
--
Lucas Tam (REMOVEnntp@xxxxxxxxxx)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
.



Relevant Pages

  • Re: pop Up Window from .cs file
    ... I dont think that is going to work for me either. ... private void ResetButton_Click(object sender, ... // Code that will pop-up a window ... the ResetButton_Click event handler in the website.aspx.cs file. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • VCL event handler in a DLL
    ... I'm writing a DLL, which uses Indy TidHTTP VCL component, and I dont know ... how to assign an event handler to it. ...
    (comp.lang.pascal.delphi.misc)
  • VCL event handler in a DLL
    ... I'm writing a DLL, which uses Indy TidHTTP VCL component, and I dont know ... how to assign an event handler to it. ...
    (alt.comp.lang.borland-delphi)
  • Re: Syncing Entourage 2004 between Home/Laptop
    ... plenty if you dont have your own) since it works quite well with the ... latest entourage and keeps multiple copies (on win an osx) sync'd ...
    (microsoft.public.mac.office.entourage)
  • Re: About close program problem
    ... Hi Alan: I answered this crosspost in the CF newsgroup but I'm attaching it ... you can append the nameof ... multiple groups so that you don't multipost. ... > for above 3 method I dont know why i can't open the program in PPC again. ...
    (microsoft.public.dotnet.languages.csharp)