
| <telerik:RadComboBox ID="RadComboBox3" |
| runat="server" |
| Width="186px" |
| CssClass="ComboBox_Cities" |
| OnClientItemsRequested="ItemsLoaded" |
| OnItemsRequested="RadComboBox3_ItemsRequested" |
| AppendDataBoundItems="true" |
| ShowMoreResultsBox="false" |
| NoWrap="true" |
| EnableScreenBoundaryDetection="false" |
| EmptyMessage="Type a city name" |
| AllowCustomText="false" |
| MarkFirstMatch="true"> |
| <Items> |
| <telerik:RadComboBoxItem Text="other, please specify" Value="-1" /> |
| </Items> |
| </telerik:RadComboBox> |
| Private Sub Page_Load(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.DayRenderEventArgs) Handles RadCalendar1.DayRender |
| startDate = CType(RadCalendar1.CalendarView, MonthView).MonthStartDate |
| endDate = CType(RadCalendar1.CalendarView, MonthView).MonthEndDate |
| Dim _Date As Date = "2009-09-11" |
| Do While _Date <= Now.AddYears(1) |
| DayOfMonth = _Date.Day |
| MonthMonth = _Date.Month |
| YearYear = _Date.Year |
| Dim CurrentDate As DateTime = e.Day.Date |
| If startDate <= CurrentDate And CurrentDate <= endDate Then |
| If CurrentDate.Day = DayOfMonth And CurrentDate.Month = MonthMonth And CurrentDate.Year Then |
| Dim currentCell As TableCell = e.Cell |
| currentCell.Style("background-color") = "green" |
| End If |
| End If |
| _Date = _Date.AddDays(14) |
| Loop |
| End Sub |


Hi,
Iam able to create a summary of appointments in the month view by following thesuggestions in this thread
Iwould like this to happen only in the month view. How to stop it from happeningin the other views?
Thanks
Sabrish
if (item.Cells[j].Text == "Policy Information")
{
....Apply some formatting...if
( e.Item.OwnerTableView.Name == "ClientSchedDetl" )
{
if (e.Item is GridDataItem)
{
int j = 0;
GridDataItem item = e.Item as GridDataItem;
foreach (TableCell cell in item.Cells)
{
if (item != null)
{
if (item.Cells[j].Text == "Policy Information")
{
item[
"Policy Information"].Style["height"] = "20px";
//item["EnglishName"].Style["font-weight"] = "bolder";
//item["Description"].Style["font-size"] = "10px";
//item["OriginalName"].Style["font-family"] = "Arial Unicode MS";
//item["OriginalName"].Style["color"] = "#bbbbbb";
//item["Description"].Style["text-align"] = "center";
cell.Style[
"font-family"] = "Arial Unicode MS";
cell.Style[
"text-align"] = "left";
cell.Style[
"font-size"] = "16px";
cell.Style[
"height"] = "24px";
cell.Style[
"font-weight"] = "bold";
}
else
{
if (j == 0) //Column One (no DataKey entries so 0 is the first visble column) MAKE BOLD
{
cell.Style[
"font-family"] = "Arial Unicode MS";
cell.Style[
"text-align"] = "left";
cell.Style[
"font-size"] = "13px";
cell.Style[
"height"] = "24px";
cell.Style[
"font-weight"] = "bold";
}
else //Columns two and on..Non-Bold
{
cell.Style[
"font-family"] = "Arial Unicode MS";
cell.Style[
"text-align"] = "left";
cell.Style[
"font-size"] = "10px";
cell.Style[
"height"] = "24px";
//cell.Style["font-weight"] = "normal";
}
}
j += 1;
}
}
thanks
Neal
RadPageView? I tried
$find("<%=RadEditor1.ClientID%>"); but it returs null. Is it because its in a
RadPageView which is inside a RadMultiPage, which is inside a RadPane, which is inside a RadSplitter, etc?
I have a reference to the RadPageView that the RadEditor is in obtained with multiPage.get_pageViews().getPageView(x)
Thanks,
Brian