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:
01408267
Vues:
34
>>>>>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
>>
>

Ah, yeah, you don't need (and can't use) Page. Sorry, totally cut and pasted that w/o reading it.

Have you tried ClientID instead of UniqueID?
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform