or
RadScheduler RadScheduler1 = new RadScheduler(); DataTable lrTable = oList.Items.GetDataTable(); DataView dv = new DataView(lrTable); RadScheduler1.DataSource = dv; RadScheduler1.DataSubjectField = "Title"; RadScheduler1.DataStartField = "EventDate"; RadScheduler1.DataEndField = "EndDate"; RadScheduler1.DataKeyField = "ID"; //RadScheduler1.Skin = "Windows7"; //RadScheduler1.DataRecurrenceField = "RecurrenceRule"; //RadScheduler1.DataRecurrenceParentKeyField = "RecurrenceParentID"; RadScheduler1.DataBind(); pnlCalendarView.Controls.Add(RadScheduler1);}

<telerik:GridTemplateColumn AllowFiltering="false" UniqueName="OtherPay" HeaderText="Other<br />Pay"> <ItemTemplate> <asp:Label runat="server" ID="lblOtherPay">0</asp:Label> <telerik:RadToolTip runat="server" ID="ttPPED" TargetControlID="lblOtherPay" Position="BottomRight" Title="Other Pay" AutoCloseDelay="3000" Sticky="true" RelativeTo="Element" EnableShadow="false" EnableEmbeddedSkins="false" Skin="KMBlack"> </telerik:RadToolTip> </ItemTemplate> <HeaderStyle Width="8%" HorizontalAlign="Right" /> <ItemStyle HorizontalAlign="Right" /> <FooterStyle HorizontalAlign="Right" /></telerik:GridTemplateColumn>protected void grid_CustomAggregate(object sender, GridCustomAggregateEventArgs e) { switch(e.Column.UniqueName) { // For some reason adds the string "Custom : " to the footer cell... case "OtherPay": e.Result = string.Format("{0:#,##0}", _otherPayTotal); break; }}protected void gridPayPlanEntries_ItemDataBound(object sender, GridItemEventArgs e) { GridFooterItem footerItem = e.Item as GridFooterItem; // Very strange Telerik issue here. You may ask yourself, why didn't // we do this as a custom aggregate on the GridTemplateColumn for other // pay? Well for some reason Telerik was adding the text "Custom : " // to the cell in the footer with no apparent way to get rid of it. // Doing it here is kind of a pain, but it works. if(footerItem != null) { footerItem["OtherPay"].Text = string.Format("{0:#,##0}", _otherPayTotal); return; }}

Hello,
On my page I have some DropDownLists (created in codebehind) that works great .
Skin: Default
When there is no DropDownListItem in the DropDownList, I set myDdl.Enabled = false;
I want change the style for the disabled DropDownList:
color: lightgrey
border: lightgrey
image on the right side: lightgrey
How can I achive this?
thanks
Bernie
