T
Tim_Mac
hi,
i have the following code in an aspx page, inside a server form:
<asp:TextBox ID="txtPageTitle" runat="server"
dir='<%# this.HtmlTextDirection %>'
lang='<%# this.HtmlLanguageCode %>'>
</asp:TextBox>
the dir and lang attributes are not included at all in the rendered
html.
the unusual thing is that i use the same code inside the
EditItemTemplate of a GridView and it works correctly.
can anyone tell me why the two scenarios behave differently? i would
obviously like to have the attributes rendered wherever they exist in
the aspx source.
thanks
tim
i have the following code in an aspx page, inside a server form:
<asp:TextBox ID="txtPageTitle" runat="server"
dir='<%# this.HtmlTextDirection %>'
lang='<%# this.HtmlLanguageCode %>'>
</asp:TextBox>
the dir and lang attributes are not included at all in the rendered
html.
the unusual thing is that i use the same code inside the
EditItemTemplate of a GridView and it works correctly.
can anyone tell me why the two scenarios behave differently? i would
obviously like to have the attributes rendered wherever they exist in
the aspx source.
thanks
tim