or
Protected Sub RadCalendar1_DayRender(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.DayRenderEventArgs) Handles radCal1.DayRender Dim label As New Label() Dim div As HtmlGenericControl = New HtmlGenericControl("div") div.Attributes.Add("class", "CalG") label.Text = e.Day.[Date].Day.ToString() 'Gregorian Day div.Controls.Add(label) Dim div1 As HtmlGenericControl = New HtmlGenericControl("div") div1.Attributes.Add("class", "CalH") Dim label1 As Label = New Label() label1.ForeColor = Drawing.Color.Brown Dim d As DateTime = e.Day.Date Dim objDateConv As New DatesConversion label1.Font.Size = FontSize.Small label1.Height = "5" label1.Text = objDateConv.GregToHijri(d, "Day") & "/" & objDateConv.GregToHijri(d, "Month") 'hijri Day and month div1.Controls.Add(label1) If e.Day.Date.DayOfWeek = 4 Then 'Disable week day Dim calendarSkin = radCal1.Skin If (calendarSkin = "") Then calendarSkin = "Default" End If Dim otherMonthCssClass As String = String.Format("otherMonth_{0}", calendarSkin) e.Cell.Text = "" e.Cell.CssClass = otherMonthCssClass ' set new CssClass for the disabled calendar day cells (e.g. look like other month days here) Dim calendarDay As RadCalendarDay = New RadCalendarDay calendarDay.Date = e.Day.Date calendarDay.IsSelectable = False calendarDay.ItemStyle.CssClass = otherMonthCssClass radCal1.SpecialDays.Add(calendarDay) e.Cell.BackColor = Drawing.Color.LightYellow End If div.Attributes.Add("class", "CalG") div1.Attributes.Add("class", "CalH") e.Cell.Controls.Add(div) e.Cell.Controls.Add(div1) End Subm_treeList.AllowSorting = true;m_treeList.AllowMultiColumnSorting = true;if (!Page.IsPostBack){ TreeListSortExpression sort = new TreeListSortExpression(); sort.FieldName = "Caption"; sort.SortOrder = TreeListSortOrder.Ascending; m_treeList.SortExpressions.Add(sort);}var rcbAssigneeObject = $find("<%=rcbAssignee.ClientID %>");$(".AssigneeTag").find(":checkbox").click( function () { var allItems = $(this).closest(".rcbList").find(".rcbItem"); //check item types here });var myItem = $(this).closest(".rcbItem").attr("id");var rcb = $(this).pathToRadComboBoxControl().Get();<telerik:GridDropDownColumn DataField="CategoryID" DataSourceID="SqlDataSource2" HeaderText="Category" ListTextField="CategoryName" ListValueField="CategoryID" UniqueName="CategoryID" ColumnEditorID="GridDropDownColumnEditor1"> </telerik:GridDropDownColumn><telerik:RadMaskedTextBox ID="radMaskedSingle" runat="server" DisplayPromptChar="X" HideOnBlur="true" HoveredStyle-BorderColor="#18d330" Mask="####" PromptChar="" SelectionOnFocus="None" Width="100px"></telerik:RadMaskedTextBox>
<telerik:RadMaskedTextBox ID="radMaskedStandard" runat="server" DisplayPromptChar="X"
HideOnBlur="true" HoveredStyle-BorderColor="#18d330" Mask="####" PromptChar=""
SelectionOnFocus="None" Width="100px" EnableSingleInputRendering="true"></telerik:RadMaskedTextBox>
protected void Page_Load(object sender, EventArgs e){ radMaskedSingle.Text = "0123"; radMaskedStandard.Text = "0123";}<table className="bold"> <tbody> <tr> If I use the apply css dropdown from the main editor tool-bar then class attribute is correctly added.
Do you have any ideas what could be wrong?
The Telerik.Web.UI.dll version is 2011.1.315.35.
