[ASP.NET]wssuc récupérer le title

cs_fred02 Messages postés 1 Date d'inscription mercredi 19 mai 2004 Statut Membre Dernière intervention 4 avril 2010 - 20 mars 2008 à 14:15
jesusonline Messages postés 6814 Date d'inscription dimanche 15 décembre 2002 Statut Membre Dernière intervention 13 octobre 2010 - 21 mars 2008 à 02:59
Bonjour,

J'ai un soucis pour récupérer la valeur du titre du composant <wssuc:InputFormSectionrunat="server"ID="lsociete"Title="Societe">
comment faire en asp.Net

j'ai accés au txtsociete en faisant this.txtsociete mais impossible avec lsociete !!

Merci par avance

<



wssuc
:
InputFormSection



runat
="server"



ID
="lsociete"



Title
="Societe
">

<
Template_InputFormControls
>

<
wssuc
:
InputFormControl



Title
="LSociete"



runat
="server"



ID
="tooltipSociete"



Display
="Dynamic"



LabelText
="Type the Societe:">

<
Template_Control
>





<
wssawc
:
InputFormTextBox



Title
="Societe"



class
="ms-long"



maxlength
="255"



ID
="txtSociete"



Direction
="LeftToRight"



Runat
="server"



/>

<
wssawc
:
InputFormRequiredFieldValidator



ID
="InputFormRequiredFieldValidator3"



ControlToValidate
="txtSociete"



Display
="Dynamic"



Runat
="server"/>

<
asp
:
Label



ID
="lblSociete"



runat
="server"



Text
=""



ForeColor
="red"></
asp
:
Label
>

</
Template_Control
>

</
wssuc
:
InputFormControl
>

</
Template_InputFormControls
>
</
wssuc
:
InputFormSection
>

1 réponse

jesusonline Messages postés 6814 Date d'inscription dimanche 15 décembre 2002 Statut Membre Dernière intervention 13 octobre 2010 29
21 mars 2008 à 02:59
Bonjour,

Tu as une erreur ? peux tu nous montrer le code que tu essaye de faire ? (et aussi ce qui fonctionne)

lsociete est null, non définit (donc ca compilo pas), ou autre ?

<hr />Cyril - MSP - MCPD ASP.net & MCTS SQL - Consultant indépendant
0
Rejoignez-nous