Re: 2 controls on the same page and wrong events fire
- From: lisa@xxxxxxxxxxxx
- Date: 2 Jun 2005 04:18:33 -0700
Have you tried the ClientID?
Lisa
justengland@xxxxxxxxx wrote:
> I have a button control that uses the <button> tag. I use the render
> control method. I have the name attribute set to the control unique
> id.
>
> When I have 2 of these buttons on the same page, the page gets confused
> as to what control fired the event. How can I make it work. Basically
> it calls the last event in the list no matter which button I use to
> cause the postback. I use the __dopostback to call the postback. I
> have tried both calls
> psudo code of course
> __dopostback('controlname','');
> and
> __dopostback('unique id','');
>
> I am sure that many people have had this issue so please help me.
>
> Thanks
> Justin
.
- Follow-Ups:
- Re: 2 controls on the same page and wrong events fire
- From: justengland
- Re: 2 controls on the same page and wrong events fire
- References:
- 2 controls on the same page and wrong events fire
- From: justengland
- 2 controls on the same page and wrong events fire
- Prev by Date: EditCommandColumn problem!!
- Next by Date: Re: 2 controls on the same page and wrong events fire
- Previous by thread: 2 controls on the same page and wrong events fire
- Next by thread: Re: 2 controls on the same page and wrong events fire
- Index(es):