gridList.ExportSettings.FileName =
"test"
gridList.ExportSettings.OpenInNewWindow =
True
gridList.MasterTableView.ExportToPdf()
This is the grid:
<telerik:RadGrid ID="gridList" runat="server" EnableViewState="true" AllowMultiRowSelection="true" >
<MasterTableView TableLayout="Auto">
<Columns>
<telerik:GridBoundColumn DataField="Col1" DataType="System.String" HeaderText="Term Description"
UniqueName="TC_TermDescription" Visible="true" />
</Columns>
</MasterTableView>
<ClientSettings AllowColumnsReorder="false" ReorderColumnsOnClient="true" ClientEvents-OnGridCreated="gridCreated">
<Resizing ClipCellContentOnResize="true" AllowRowResize="false" EnableRealTimeResize="true"
ResizeGridOnColumnResize="true" AllowColumnResize="true" />
</ClientSettings>
</telerik:RadGrid>
RadGrid3.MasterTableView.Items(j).ChildItem.NestedTableViews(0).Items(i).Selected =
True
RadGrid3.MasterTableView.Items(j).ChildItem.NestedTableViews(0).HierarchyDefaultExpanded =
True
RadGrid3.MasterTableView.HierarchyDefaultExpanded =
True
RadGrid3.MasterTableView.Items(j).Selected =
True
<
telerik:GridBoundColumn
DataField
=
"GROSS_FREIGHT_COST"
HeaderText
=
"Bruttofrakt [K]"
UniqueName
=
"GROSS_FREIGHT_COST"
DataType
=
"System.Decimal"
Aggregate
=
"Sum"
>
</
telerik:GridBoundColumn
>
Hello,
I have a problem to get back my appointment occurrences with the TryParse() method when I use TimeZoneOffset. Here is a procedure I use:
I setup my scheduler for UTC-8:
RadScheduler1.TimeZoneOffset = new TimeSpan(-8, 0, 0);
I enter a new appointment in the schedule: from Wednesday 1 December 2010 08h00PM to 10h00PM, with a recurrence rule: Weekly, Wednesday and Friday, up to 2 occurrences.
This gives me 2 appointments in the scheduler:
Wednesday 1 December 8:00pm
Friday 7 December 8:00pm
The data obtains in the appointment object are in UTC time zone, with values:
Start = {12/2/2010 4:00:00 AM}
End = {12/2/2010 6:00:00 AM}
RecurrenceRule = "DTSTART:20101202T040000Z\r\nDTEND:20101202T060000Z\r\nRRULE:FREQ=WEEKLY;COUNT=2;INTERVAL=1;BYDAY=WE,FR\r\n"
My problem appears when I use the method Telerik.Web.UI.RecurrenceRule.TryParse() on the Recurrence Rule. I obtain a rule with 2 occurrences:
[0] {12/3/2010 4:00:00 AM}
[1] {12/8/2010 4:00:00 AM}
This means in UTC-8:
Thursday 2 December 8:00pm
Friday 8 December 8:00pm
This is not what I scheduled. This appends when the start of the appointment changes of day between local time and UTC time. I think TryParse() cannot restore the occurrence properly because it do not store the time zone in which the rule has been encoded.
I am missing something? Is there another method to get my occurrence from the recurrence rule?
Thank you very much for your help,
Mathieu