04-18-04 03:52 PM
I don't think this is the problem. I do have code in the Page_Load event
and this is where I am getting the error. However, the debugger only goes
through this event once and I get the error the first time through.
Furthermore, I removed the "AddToShowList" entry that was adding the
"GeneralInfo" key to the UserProfileEditControl. Even after removing that,
I still get the error. Do you have any other ideas? Thanks.
"Tomas Vera" <tavera@NOxSPAMsbcglobal.net> wrote in message
news:o9pq70516l8ebpboohvhe53hbi7vne0f7m@
4ax.com...
> Are you running any code in the Page_Load (or other funciton) for this
control?
>
> I've seen this happen where I included a control on my page, then called
the
> control's public function ("ReloadControl()" ) to load values into the
control
> from the containers' Page_Load event. After this, the control's own
Page_Load
> ran and tried to re-load the control, giving the exception you are
getting.
>
> The answer was to call ReloadControl() in the Page_PreRender function to
allow
> the container to load the control, modify some data, and then re-draw the
> control in the PreRender handler.
>
> This may not be your issue, but that's what was holding me up.
>
> Hope this helps,
>
> -tomas
>
>
>
>
>
> On Thu, 8 Apr 2004 16:05:49 -0400, "Jason" <jason.garrett@brulant.com>
wrote:
>
problem.[vbcol=seagreen]
the[vbcol=seagreen]
already[vbcol=seagreen]
'GeneralInfo'[vbcol=seagreen]
User[vbcol=seagreen]
for a[vbcol=seagreen]
me[vbcol=seagreen]
>
[ Post a follow-up to this message ]
|