Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DropDownlist initial value
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01314718
Message ID:
01314758
Vues:
8
>>
>> 'System.EventArgs' does not contain a definition for 'FindControl' and no extension method 'FindControl' accepting a first argument of type 'System.EventArgs' could be found (are you missing a using directive or an assembly reference?)
>>
>>Also my problem is that control is not being found so it would still return null.
>>
>
>Dang, serves me right for pasting code into the editor on the UT then making changes. The code should be:
>
>protected void DropDownList2_DataBound(object sender, ListViewItemEventArgs e)

Hi Paul

now I get

System.Web.UI.WebControls.ListViewItemEventArgs' does not contain a definition for 'FindControl' and no extension method 'FindControl' accepting a first argument of type 'System.Web.UI.WebControls.ListViewItemEventArgs' could be found (are you missing a using directive or an assembly reference?)

Nick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform