or
var
orgIdCell = rgUsers.MasterTableView.get_dataItems()[i].get_cell("OrgIDColumn");
| <telerik:RadCalendar ID="DiaryCal" runat="server" Font-Names="Arial,Verdana,Tahoma" |
| Skin="Office2007" |
| ForeColor="Black" |
| Style="border-color: #ececec" AutoPostBack="True" |
| CultureInfo="English (United Kingdom)" |
| EnableMultiSelect = "false" |
| OnSelectionChanged="DiaryCal_OnSelectionChanged" |
| OnDayRender="DiaryCal_DayRender" |
| ShowDayCellToolTips="false" |
| > |
| </telerik:RadCalendar> |
| <asp:Table ID="Table1" runat="server" CellSpacing="1" BorderWidth="0" Width="175"> |
| <asp:TableRow ID="TableRow1" runat="server" > |
| <asp:TableCell BackColor="#daf3cb" HorizontalAlign="Center" Width="25%" Height="8px"></asp:TableCell> |
| <asp:TableCell BackColor="#aade8a" HorizontalAlign="Center" Width="25%" Height="8px"></asp:TableCell> |
| <asp:TableCell BackColor="#6dc738" HorizontalAlign="Center" Width="25%" Height="8px"></asp:TableCell> |
| <asp:TableCell BackColor="#4e991f" HorizontalAlign="Center" Width="25%" Height="8px"></asp:TableCell> |
| </asp:TableRow> |
| <asp:TableRow ID="TableRow2" runat="server"> |
| <asp:TableCell HorizontalAlign="Center" Width="25%"> |
| <asp:Label ID="Label1" runat="server" Text="1-10" /> |
| </asp:TableCell> |
| <asp:TableCell HorizontalAlign="Center" Width="25%"> |
| <asp:Label ID="Label2" runat="server" Text="11-20" /> |
| </asp:TableCell> |
| <asp:TableCell HorizontalAlign="Center" Width="25%"> |
| <asp:Label ID="Label3" runat="server" Text="21-30" /> |
| </asp:TableCell> |
| <asp:TableCell HorizontalAlign="Center" Width="25%"> |
| <asp:Label ID="Label4" runat="server" Text="40+" /> |
| </asp:TableCell> |
| </asp:TableRow> |
| </asp:Table> |
<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" ShowCallout="False" Skin="Office2007" style="display: none;" ShowDelay="0" />
|
| Protected Sub DiaryCal_DayRender(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.DayRenderEventArgs) |
| Dim cellID As String |
| cellID = String.Format("{0}_{1}_{2}", DiaryCal.ClientID, e.Day.[Date].ToString("yyyy_M_d"), 0) |
| If DiaryCounts IsNot Nothing Then |
| For Each diaryCount As Safe.CRM.DAL.BusinessObjects.DiaryCount In DiaryCounts ' contains a list of days and counts |
| If diaryCount.ActivityCompleteBy = e.Day.Date Then |
| Dim iCounts As Integer = diaryCount.Counts |
| If iCounts >= 1 And iCounts <= 10 Then |
| e.Cell.Style("background-color") = "#daf3cb" |
| ElseIf iCounts >= 11 And iCounts <= 20 Then |
| e.Cell.Style("background-color") = "#aade8a" |
| ElseIf iCounts >= 21 And iCounts <= 30 Then |
| e.Cell.Style("background-color") = "#6dc738" |
| ElseIf iCounts >= 31 Then |
| e.Cell.Style("background-color") = "#4e991f" |
| End If |
| cellID = String.Format("{0}_{1}_{2}", DiaryCal.ClientID, e.Day.[Date].ToString("yyyy_M_d"), iCounts) |
| Exit For |
| End If |
| Next |
| End If |
| e.Cell.Attributes.Add("id", cellID) |
| RadToolTipManager1.TargetControls.Add(cellID, True) |
| End Sub |
| Protected Sub RadToolTipManager1_AjaxUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs) Handles RadToolTipManager1.AjaxUpdate |
| ' get the event date from the cell id |
| Dim idParts As String() = e.TargetControlID.Split(New Char() {"_"c}) |
| Dim year As Integer = Int32.Parse(idParts(idParts.Length - 4)) |
| Dim month As Integer = Int32.Parse(idParts(idParts.Length - 3)) |
| Dim day As Integer = Int32.Parse(idParts(idParts.Length - 2)) |
| Dim eventDate As New DateTime(year, month, day) |
| Dim items As Integer = Int32.Parse(idParts(idParts.Length - 1)) |
| ' display the proper content based on the event date |
| Dim tooltipActivitesLabel As New Label() |
| Dim tooltipDateLabel As New Label() |
| Dim toolTipPanel As New Panel |
| If items = 0 Then |
| tooltipActivitesLabel.Text = "" |
| ElseIf items = 1 Then |
| tooltipActivitesLabel.Text = String.Format("{0} activity.", items) |
| Else |
| tooltipActivitesLabel.Text = String.Format("{0} activities.", items) |
| End If |
| tooltipDateLabel.Text = String.Format("{0}", eventDate.ToString(CType(DiaryCal, Telerik.Web.UI.RadCalendar).DayCellToolTipFormat)) |
| If tooltipActivitesLabel.Text <> "" Then |
| toolTipPanel.Controls.Add(tooltipActivitesLabel) |
| toolTipPanel.Controls.Add(New LiteralControl("<br />")) |
| End If |
| toolTipPanel.Controls.Add(tooltipDateLabel) |
| toolTipPanel.HorizontalAlign = HorizontalAlign.Center |
| e.UpdatePanel.ContentTemplateContainer.Controls.Add(toolTipPanel) |
| End Sub |
| <telerik:RadFileExplorer |
| ID="EquipmentFileExplorer" |
| runat="server" |
| InitialPath="~/AppData/Uploads/" |
| VisibleControls="TreeView, Grid, Toolbar, ContextMenus"> |
| <Configuration |
| MaxUploadFileSize="2004800" |
| SearchPatterns="*.doc,*.pdf,*.gif,*.jpg,*.jpeg,*.tif,*.tiff" |
| DeletePaths="~/App_Data/Uploads/" |
| UploadPaths="~/App_Data/Uploads/" |
| ViewPaths="~/App_Data/Uploads/"> |
| </Configuration> |
| </telerik:RadFileExplorer> |
When I run the project, either locally or on a dev server, I receive an alert saying "Cannot Write To Target Folder". NETWORK SERVICE has modify set on the folder, so it should be ok?
I am using the latest ASP.NET release. Puzzled.
Richard
Me
.RadTreeView1.DataSource = oDS.Tables(0)
Me.RadTreeView1.DataFieldID = "ID"
Me.RadTreeView1.DataFieldParentID = "ParentID"
Me.RadTreeView1.DataTextField = "Name"
Me.RadTreeView1.DataValueField = "ID"
Me.RadTreeView1.DataBind()
| Name | ID | ParentID |
| Be Four | C2202 | NULL |
| Art-Kindergarten | C2840 | NULL |
| Students will share information about themselves and friends at school. | K29266 | T17348 |
| Students will practice math, early reading, music, art and career skills while investigating the zoo. | K352465 | T35358 |
| Students will practice language, math, and critical thinking skills while partcipating in events that happen in fall. | K43131 | T25425 |
| Students will practice math, language, and reading concepts through various pumpkin activities. | K43168 | T25479 |
| Students will practice art, science, oral language, early reading and gross motor skills while investigating the topic of spiders. . | K43416 | T25697 |
| Students will practice early reading skills, science, art and critical thinking while describing the characteristics of a turkey and its environment. | K43502 | T25766 |
| Students will practice science, oral language and early reading skills through various bee actitivies. | K44445 | T26705 |
| Students will identify body parts, the letter H, healthy habits, and make healthy choices. | K46533 | T28728 |
| Students will practice math and early reading skills. | K46563 | T28761 |
| Students will develop speaking, math, health and higher level thinking skills. | K56777 | T34794 |
| Students will continue to develop early reading, math, art and higher level thinking skills while creating a snowman. | K56961 | T34851 |
| Students will continue to develop early reading, science, math and recall skills while participating in activities around Penguins and Polar Bears. | K57096 | T34941 |
| Students will practice early reading, math, social iskills, art, creative thinking, listening and speaking skills while listening to The Three Bears story. | K57489 | T35264 |
| Students will further develop early reading, music, social, creative art, and gross motor skills while participating in nursery rhyme activities. | K57570 | T35303 |
| Students will use creative thinking, early reading, math, art and science skills when being introduced to the concept of outer space. | K57844 | T35402 |
| Students will practice math, science, early reading and career skills when investigating farm animals. | K70571 | T40464 |
| Students will develop science, early reading, art and speaking skills while observing seasonal change. | K70834 | T40607 |
| Students will develop science, early reading, math and art while investigating flowers and insects. | K71159 | T40720 |
| Students will develop speaking and listening skills, social interaction, art, creative thinking, and writing skills when making a book. | K71236 | T40741 |
| All About Me | T17348 | U7019 |
| Fall (apples, leaves, fire prevention) | T25425 | U10022 |
| Fall (pumpkins and jack o lanterns) | T25479 | U10022 |
| Spiders | T25697 | U10163 |
| Turkeys | T25766 | U10163 |
| Bees | T26705 | U7019 |
| Healthy Habits | T28728 | U11326 |
| Shapes | T28761 | U11326 |
| Winter Clothing | T34794 | U13952 |
| Snowmen | T34851 | U13952 |
| Penguins & Polar Bears | T34941 | U13952 |
| The Three Bears | T35264 | U14054 |
| Nursery Rhymes | T35303 | U14054 |
| Zoo Animals | T35358 | U14077 |
| Outer Space | T35402 | U14077 |
| Farm Animals | T40464 | U15979 |
| Spring Changes | T40607 | U15979 |
| Flowers and Bugs | T40720 | U16033 |
| Moms and Dads | T40741 | U16033 |
| October | U10022 | C2202 |
| November | U10163 | C2202 |
| December | U11326 | C2202 |
| January | U13952 | C2202 |
| February | U14054 | C2202 |
| March | U14077 | C2202 |
| April | U15979 | C2202 |
| May | U16033 | C2202 |
| All About Me | U64839 | C2840 |
| Landscapes | U64840 | C2840 |
| September | U7019 | C2202 |
| <SortingSettings SortedAscToolTip="Ordinamento Ascendente." SortedBackColor="LemonChiffon" |
| SortedDescToolTip="Ordinamento Discendente." SortToolTip="Clicca qui per ordinare la griglia." /> |