This is a migrated thread and some comments may be shown as answers.

Telerik gird inline column name mandatory * symbol

1 Answer 43 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sanjayanthan
Top achievements
Rank 1
sanjayanthan asked on 18 Aug 2012, 07:44 AM
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

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Aug 2012, 05:37 AM
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.
Tags
General Discussions
Asked by
sanjayanthan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or