Hi All,
Let me start off by saying I am a noob when it comes to using asp.net and telerik. With that being said I am having an issue updating the headers of the rad grid. When I run the application in Visual Studio the headers are correct, however when I build the solution and run the application on the internet the headers still reflect the old text (before the text change).The application in question was built by someone else using asp.net, c#, javascript, ajax, etc. I am pretty sure the version of telerik used originally is much older than the version I am using today which is the most current version as of 9/15/15 . I should also mention there are two versions of the application one being used now by employees and one I am working on a development sever. The header text that should be changed should be both the Approval and Status text.
I added two images below to show you what the app looks like in visual studio vs what it looks when run on the internet.
Code ASCX:
<
telerik:RadGrid
ID
=
"HistoryCard"
runat
=
"server"
OnNeedDataSource
=
"HistoryCard_NeedDataSource"
OnItemDataBound
=
"HistoryCard_ItemDataBound"
>
<
MasterTableView
AutoGenerateColumns
=
"false"
>
<
Columns
>
<
telerik:GridBoundColumn
HeaderText
=
"Due Date"
DataField
=
"due_date"
DataFormatString
=
"{0:MM/dd/yyyy}"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Inspection Dates"
DataField
=
"inspection_date"
DataFormatString
=
"{0:MM/dd/yyyy}"
/>
<
telerik:GridTemplateColumn
HeaderText
=
"Status"
UniqueName
=
"Status"
>
<
ItemTemplate
>
<%# Common.EquipmentStatus.GetLabel(Eval("current_use")) %>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"Approval"
UniqueName
=
"Approval"
>
<
ItemTemplate
>
<%# Common.HistoryStatus.GetLabel(Eval("status")) %>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"Adjusted"
>
<
ItemTemplate
>
<%# GiTools.DataTypes.Bool.Format(Eval("adjusted"), "Yes", "No") %>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Remarks:"
DataField
=
"remarks"
ItemStyle-CssClass
=
"history_card_links"
/>
<
telerik:GridTemplateColumn
HeaderText
=
"Inspector"
>
<
ItemTemplate
>
<%# GiTools.Mail.MailHelper.MakeMailToLink(null, null, Eval("email"), Eval("name")) %>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>