Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child Business Objects definitely not working right
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01474206
Message ID:
01474310
Vues:
42
That would have saved me tons of time! So simple.
I'm curious why ASP.Net doesn't respect HTML commenting though....

Thanks,

Eric

>>All my problems are not solved, but I'm making progress ;)
>>
>>Here's basically what I had in my code:
>>
>><!--
>><mm:mmDropDownList ID="cboContactType" runat="server" AccessLevel="Full" AppendDataBoundItems="True"
>>                BindingSource="dsContactTypes" BindingSourceDisplayMember="txtContactType" BindingSourceValueMember="txtContactType"
>>                BindingValueSource="MemInd" BindingValueSourceMember="txtType" ControlID="00000000-0000-0000-0000-000000000000"
>>                IsPostBack="False" SecuritySetup="True" Width='150px' DataSourceID="dsContactTypes"
>>                DataTextField="txtContactType" DataValueField="txtContactType" Visible="false">
>>                <asp:ListItem Value='0' Text=""></asp:ListItem>
>>            </mm:mmDropDownList>
>>-->
>>
>>
>>Even though it looks to me like it's commented out (and wasn't on the screen due to it's 'visible' attribute set to false, when I traced through the code I could see during the BindBack() method (not sure of the actual name) it was still binding the value of this control back to the element.
>>
>>It's kind of a gotcha.
>>
>>Eric
>>
>Did you try to comment in ASP style commenting? E.g. highlight this block and press Ctrl+K/Ctrl+C ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform