๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.aspdotnet.general
4 messages
4 total messages Started by Pablo Soligo Thu, 19 Jun 2008 21:27
What element generate the request?
#8
Author: Pablo Soligo
Date: Thu, 19 Jun 2008 21:27
7 lines
1278 bytes
Hi...
Somebody knows how to obtain the control that the execute the "Request" ?
In the Page_Load I wanna obtain the cause of the postback....
I Wanna know if is a determinate button o other control....

Thanks in advance
Pablo.
Re: What element generate the request?
#9
Author: John Moshakis
Date: Fri, 20 Jun 2008 14:57
23 lines
1181 bytes
Pablo Soligo wrote:

> Hi...
> Somebody knows how to obtain the control that the execute the
> "Request" ?  In the Page_Load I wanna obtain the cause of the
> postback....  I Wanna know if is a determinate button o other
> control....
> 

Hi Pablo,

I think in the case of simple controls for example a button the id
would appear in

self.request.forms


Cheers,
John


-- 
Blog: http://blog.moshine.com/
Re: What element generate the request?
#10
Author: Nick Crisp
Date: Fri, 20 Jun 2008 15:39
27 lines
1873 bytes
Hi Pablo

I've just found out the __EVENTTARGET I mentioned in the ECO group is not 
filled in for buttons and imagebuttons.

Have a read of....

http://www.aspdotnetfaq.com/Faq/How-to-determine-which-Control-caused-PostBack-on-ASP-NET-page.aspx

Regards

Nick


"Pablo Soligo" <psoligo@unisolutions.com.ar> wrote in message 
news:485acf5d$1@newsgroups.borland.com...
> Hi...
> Somebody knows how to obtain the control that the execute the "Request" ?
> In the Page_Load I wanna obtain the cause of the postback....
> I Wanna know if is a determinate button o other control....
>
> Thanks in advance
> Pablo.
>
>
>
> 
Re: What element generate the request?
#11
Author: Pablo Soligo
Date: Fri, 20 Jun 2008 18:32
38 lines
1831 bytes
Thanks to all,

that link is the answer...

Regards
Pablo


"Nick Crisp" <nospam@njcss.co.uk> escribi๏ฟฝ en el mensaje 
news:485bcf4b@newsgroups.borland.com...
> Hi Pablo
>
> I've just found out the __EVENTTARGET I mentioned in the ECO group is not 
> filled in for buttons and imagebuttons.
>
> Have a read of....
>
> http://www.aspdotnetfaq.com/Faq/How-to-determine-which-Control-caused-PostBack-on-ASP-NET-page.aspx
>
> Regards
>
> Nick
>
>
> "Pablo Soligo" <psoligo@unisolutions.com.ar> wrote in message 
> news:485acf5d$1@newsgroups.borland.com...
>> Hi...
>> Somebody knows how to obtain the control that the execute the "Request" ?
>> In the Page_Load I wanna obtain the cause of the postback....
>> I Wanna know if is a determinate button o other control....
>>
>> Thanks in advance
>> Pablo.
>>
>>
>>
>>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads