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

How can i set Text in InsertCaption and CaptionFormatString of EditFormSettings in Code Behind

2 Answers 188 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Henry John
Top achievements
Rank 1
Henry John asked on 01 Aug 2011, 12:08 PM
Please help me to set Text in InsertCaption and  and CaptionFormatString of EditFormSettings in Code Behind. Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 01 Aug 2011, 12:27 PM
Hello Henry,

Try the following code snippet to show InsertCaption and CaptionFormatString from code behind.

C#:
protected void Page_Load(object sender, EventArgs e)
{
  RadGrid1.MasterTableView.EditFormSettings.InsertCaption = "Your Text";
  RadGrid1.MasterTableView.EditFormSettings.CaptionFormatString = "Your Text";
}

Thanks,
Princy.
0
Henry John
Top achievements
Rank 1
answered on 02 Aug 2011, 03:28 AM
Thanks Princy
Tags
Grid
Asked by
Henry John
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Henry John
Top achievements
Rank 1
Share this question
or