| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScheduler ID="RS1" AllowEdit="false" |
| ShowHeader="false" FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" ShowNavigationPane="false" |
| ShowViewTabs="false" SelectedView="WeekView" ShowFooter="false" ShowAllDayRow="false" |
| DataKeyField="ID" DataSubjectField="Subject" DataEndField="End" DataStartField="Start" |
| runat="server" WeekView-ColumnHeaderDateFormat="ddd" > |
| </telerik:RadScheduler> |
| </div> |
| </form> |
| public partial class Test : System.Web.UI.Page |
| { |
| public class ItemSchedule |
| { |
| public string Subject; |
| public DateTime Start; |
| public DateTime End; |
| public string ID; |
| public ItemSchedule(string subject, DateTime start, DateTime end) |
| { |
| Subject = subject; |
| Start = start; |
| End = end; |
| ID = Guid.NewGuid().ToString(); |
| } |
| } |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| List<ItemSchedule> items = new List<ItemSchedule>(); |
| items.Add(new ItemSchedule("test", DateTime.Now, DateTime.Now.AddHours(1))); |
| RS1.DataSource = items; |
| } |
| } |
| var requestInProgress; |
| function OnRequestStart(sender, args) { |
| requestInProgress = args.XMLHttpRequest; |
| } |
| function ResetRequest() { |
| requestInProgress.abort(); |
| } |
| <telerik:GridTemplateColumn |
| ReadOnly="false" |
| DataField="Name" |
| HeaderText="Name" |
| AllowFiltering="false" |
| UniqueName="Name" |
| HeaderStyle-Width="100%" |
| SortExpression="Name"> |
| <ItemTemplate> |
| <img src='<%# Eval("ImageUrl") %>' alt="" style="vertical-align: middle; margin-right: 7px;" /> |
| <%# Eval("Name") %> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
Have a RadGrid with the Skin set to “Web20” but the DataPicker on a GridDataTimeColumn does not show the header items like prev, next, month and year when I click on the calendar. “<< < Month Year > >>” If I switch to “Vista” or "Windows7" it works fine. Looks like same problem exists with "WebBlue".
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="LinqDataSource1" Skin="Web20"
GridLines="None" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
AllowAutomaticUpdates="True" onitemcreated="RadGrid1_ItemCreated1" AllowSorting="True"
AllowPaging="True" PageSize="15" Width="100%">
<PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
<telerik:GridDateTimeColumn UniqueName="Date" PickerType="DatePicker" HeaderText="Date" DataField="Date" DataFormatString="{0:MM/dd/yyyy}" HeaderButtonType="TextButton">
<ItemStyle Width="120px" />
</telerik:GridDateTimeColumn>