Re: Usercontrols not being VISUALLY updated
- From: "Cirene" <cirene@xxxxxxxxxxx>
- Date: Sun, 18 May 2008 08:57:28 -0400
Oh by the way, all these controls are within a MASTER page. I wonder if
that matters...
"Cirene" <cirene@xxxxxxxxxxx> wrote in message
news:%23QwIzWOuIHA.1316@xxxxxxxxxxxxxxxxxxxxxxx
If I do this...
CType(FormView1.FindControl("ucToMon"), common_ucTimeSelect).GetWholeTime
I DO see that the control should have a time of "2:02 PM". But visually
it does not.
Is this because the usercontrols have the same name in the various
templates?
"Rain" <me@xxxxxxxxxxx> wrote in message
news:OmnR0FOuIHA.3716@xxxxxxxxxxxxxxxxxxxxxxx
What happens if you manually set a text field on one of the controls in
the page's pre-render event. Does the change get reflected ?
If not, does it get reflected if you do the same for the user control ?
Take some basic steps to see where this is falling down.
"Cirene" <cirene@xxxxxxxxxxx> wrote in message
news:e4bMRRFuIHA.4772@xxxxxxxxxxxxxxxxxxxxxxx
I have some user controls that are inside a formview control. I use the
usercontrols in the EditItemTemplate, ItemTemplate and the
InsertItemTemplate of the formview. In a 3 templates the user controls
have the exact same name (uc1, uc2, uc3).
In my formview_modechanging even I am trying to autopopulate the user
controls, if data exists. I debug the code and I can see the before and
after results of the text fields changing etc... in each user control.
It seems to work fine.
But, when the code finishes and the form is shown they are still
untouched/empty.
Any ideas what could be wrong?
Thanks.
.
- References:
- Usercontrols not being VISUALLY updated
- From: Cirene
- Re: Usercontrols not being VISUALLY updated
- From: Rain
- Re: Usercontrols not being VISUALLY updated
- From: Cirene
- Usercontrols not being VISUALLY updated
- Prev by Date: Re: App not running from sub folder
- Next by Date: Re: Failed to access IIS metabase
- Previous by thread: Re: Usercontrols not being VISUALLY updated
- Next by thread: App not running from sub folder
- Index(es):
Relevant Pages
|