Telerik gird inline column name mandatory * symbol

2 posts, 0 answers
  1. sanjayanthan
    sanjayanthan avatar
    14 posts
    Member since:
    Feb 2008

    Posted 18 Aug 2012 Link to this post

    Hi,
    We have purchased q3 2009 and q2 2012 version.

    In Q3 2009 version we have use telerik grid having inline edit option.Assume we have 2 column compnay name and contact description
    When i click edit button 2 column as attached in image show.

    My requirement is i need to append * column in company name indicating the end user as mandatory column .
    During my insert action i am to handle it but in page load i need to show

    if i give compnay name *  in label this * appear in grid column also.which i dont want * to display in grid header

    how can i achive it

    regards
    sanjay
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 20 Aug 2012 Link to this post

    Hi Sanjayanthan,

    The attachment shows the RadGrid edit mode as editforms, When you are using inplace edit mode the headerText wont be displayed in the form. In-order to show the "*" when edit mode is editform, try setting the EditFormHeaderText property of the grid columns.

    ASPX:
    <telerik:GridBoundColumn EditFormHeaderTextFormat="Company Name: *" DataField="CompanyName"  HeaderText="Company Name" UniqueName="CompanyName" />

    Thanks,
    Shinu.
Back to Top