asp.net 2.0
I have a web page with a repeater control... In the ItemTemplate of the
repeater control have I placed a ImageMap. So every row in the repeater
control has a ImageMap. (it's the same ImageMap, but it's repeated to every
line in the repeater control)
A ImageMap has a "click" event. How can the click event know which ImageMap
in the repeater control has been clicked? I need to know this, because I
want to retrieve some data from that row and embedd it into a querystring
Any suggestions?
JeffJeff,
First parameter passed to the event handler is the source of the event. You
can set a breakpoint inside the handler and watch what is being passed
there.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Jeff" <it_consultant1@.hotmail.com.NOSPAMwrote in message
news:eqWqOkSsGHA.4472@.TK2MSFTNGP02.phx.gbl...
Quote:
Originally Posted by
hey
>
asp.net 2.0
>
I have a web page with a repeater control... In the ItemTemplate of the
repeater control have I placed a ImageMap. So every row in the repeater
control has a ImageMap. (it's the same ImageMap, but it's repeated to
every line in the repeater control)
>
A ImageMap has a "click" event. How can the click event know which
ImageMap in the repeater control has been clicked? I need to know this,
because I want to retrieve some data from that row and embedd it into a
querystring
>
Any suggestions?
>
Jeff
>
0 comments:
Post a Comment