or


I'm currently exporting to Excel a RadGrid and I have some cells that have the text "1 / 10" meaning that they had 1 hour used for 10 units. When this gets to Excel, it thinks the cell is a date, so it changes the cell to be January-10 which is not what I'm wanting.
I've gone the other direction before (changing a string to a number/date by setting the cell style's mso-number-format property) but I've never had the issue where I needed to make Excel keep the cell as a string and not try to change the format.
How do I do this? I've tried adding a apostrophe to the beginning of the cell text:
e.Cell.Text = String.Format("'{0}", e.Cell.Text);
<telerik:RadGrid Width="95%" ID="pogrid" runat="server" AutoGenerateColumns="true" OnColumnCreated="Grid_ColumnCreated" CellSpacing="0" > </telerik:RadGrid></div>protected void Grid_ColumnCreated(object sender, Telerik.Web.UI.GridColumnCreatedEventArgs e) { if (e.Column is GridBoundColumn) { GridBoundColumn col = (GridBoundColumn)e.Column; if (col.DataTypeName != "System.DateTime") { col.AllowFiltering = true; ...<telerik:RadAjaxPanel runat="server" ID="pnlSchedule" EnableAJAX="true"> <telerik:RadScheduler runat="server" id="radSch">
<AppointmentContextMenuSettings EnableDefault="True" />
<TimeSlotContextMenuSettings EnableDefault="True" />
</telerik:RadScheduler></telerik:RadAjaxPanel>"...
JavaScript runtime error: Sys.InvalidOperationException: Type
Telerik.Web.UI.ExpandDirection has already been registered. The type may
be defined multiple times or the script file that defines it may have
already been loaded. ...". To diagnose I creating a web user
control with just a RadDropDownList on it, then I assign the control to
the UserControlName property of an <EditFormSettings> tag on my list control. When I
click to edit in the grid I still get the error, This was a working project before the update. I need to know how to downgrade the controls so I can get back to work.