Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot find control-name in control-parameter
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01407076
Message ID:
01408201
Vues:
40
>>>>Paul, unfortunately your suggestion doesn't work. When I entered cUserId = Me.Page.RoundPanel1.FindControl("HIddenField1").UniqueId, I got the squiggly blue line under it and when I hovered the mouse over it, it said that RoundPanel1 is not a member of class Page. This is so frustrating! Everything I try fails. It shouldn't be this difficult, should it?
>>>
>>>It sounds like it may be nested inside of other controls. If that's the case, you may not actually be able to refer to it directly from the code behind w/o calling FindControl of the container object. For example, if your RoundPanel1 is inside of some other section of another control. Post a small section of your ASP.NET page here up to where the HiddenField1 is.
>
>
>Try:
>
>
>Page.ASPxRoundPanel1.FindControl("HiddenField1").UniqueID
>
Naomi suggested the same without Page, and that seemed to work. It gets past this point. But I am still getting that could not find control error. Ugh!

Dana
Where's the damned Any Key?...too late
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform