Friday, March 16, 2012

on method for handling dynamic control events

Hi Paul,

Can you pass the codes to me? I am running into some troubles with Context
menu. I had tried the 'CuttingEdge0502' context menu which is downloadable in
the net. I tried to add this control dynamically but it seems nothing appears
when I activate it. Dunno how to continue. U come across this control?

Thanks

"PJ6" wrote:

> After a couple of months of learning ASP.NET, I think I have something worth
> sharing.
> The purpose of this example was to create a web control that would get its
> code fired on postback, even if had been dynamically added from code within
> a user event such as from a button click.
> If you like this idea and/or have something to add to it please let me know.
> Paul
>It's all there as an attachment in my original post. I can post in in plain
text here if you can't see it.

Paul

"JJ" <JJ@.discussions.microsoft.com> wrote in message
news:E41467C7-3AC5-404E-AB4C-B4D593648983@.microsoft.com...
> Hi Paul,
> Can you pass the codes to me? I am running into some troubles with Context
> menu. I had tried the 'CuttingEdge0502' context menu which is downloadable
> in
> the net. I tried to add this control dynamically but it seems nothing
> appears
> when I activate it. Dunno how to continue. U come across this control?
> Thanks
> "PJ6" wrote:
>> After a couple of months of learning ASP.NET, I think I have something
>> worth
>> sharing.
>>
>> The purpose of this example was to create a web control that would get
>> its
>> code fired on postback, even if had been dynamically added from code
>> within
>> a user event such as from a button click.
>>
>> If you like this idea and/or have something to add to it please let me
>> know.
>>
>> Paul
>>
>>
>
Hi Paul,

Can't see the attachment. Thks!

"PJ6" wrote:

> It's all there as an attachment in my original post. I can post in in plain
> text here if you can't see it.
> Paul
> "JJ" <JJ@.discussions.microsoft.com> wrote in message
> news:E41467C7-3AC5-404E-AB4C-B4D593648983@.microsoft.com...
> > Hi Paul,
> > Can you pass the codes to me? I am running into some troubles with Context
> > menu. I had tried the 'CuttingEdge0502' context menu which is downloadable
> > in
> > the net. I tried to add this control dynamically but it seems nothing
> > appears
> > when I activate it. Dunno how to continue. U come across this control?
> > Thanks
> > "PJ6" wrote:
> >> After a couple of months of learning ASP.NET, I think I have something
> >> worth
> >> sharing.
> >>
> >> The purpose of this example was to create a web control that would get
> >> its
> >> code fired on postback, even if had been dynamically added from code
> >> within
> >> a user event such as from a button click.
> >>
> >> If you like this idea and/or have something to add to it please let me
> >> know.
> >>
> >> Paul
> >>
> >>
> >>
>

0 comments:

Post a Comment