How to fix length of label inside itemtemplate of datagrid RRS feed

  • Question

  • User-971915141 posted

    Hi All,

    I am new to Asp.net ... , and got stucked in fixing up length of a Label control which is placed inside datagrid. and i don't want to put code on my Itemdatabound events of datagrid . Is it possible to set length for label between item templates in HTML only.

     Plz Help ..

    Friday, November 23, 2007 8:15 AM


  • User-217808514 posted

    Should be:


        <asp:Label Text="Some Text" ID="myLabel" Width="100" Runat="Server"/>
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 23, 2007 9:38 AM