Re: User control event problem

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Rob,

Every Control has a member called "Page" which is a reference to the Page it
is run in.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
There's a seeker born every minute.
- Dr. "Happy" Harry Cox

"Rob Morgan" <rob.morgan@xxxxxxxxxxxxxxx> wrote in message
news:eL2Pkm55FHA.2576@xxxxxxxxxxxxxxxxxxxxxxx
> My methods don't seem to be in Page or am I mising something simple?
>
> "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:#eaP0E55FHA.3876@xxxxxxxxxxxxxxxxxxxxxxx
>> Page.MethodName()
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> Complex things are made up of
>> Lots of simple things.
>>
>> "Rob Morgan" <rob.morgan@xxxxxxxxxxxxxxx> wrote in message
>> news:OxuAga45FHA.2600@xxxxxxxxxxxxxxxxxxxxxxx
>> >I have a grid and a user control on the same page. The user control has
> a
>> > save button that triggers a click event server side. Once the click
> event
>> > happens the page renders, but I need to update the grid information
> before
>> > it renders. Once a conrol's event finishes is there a way to run a
> method
>> > on the parent page so I can update the gid? Any thoughs on how I might
>> > accomplish this?
>> >
>> >
>>
>>
>
>


.


Quantcast