Hi Team,
I am using Timeline view with 7 time slots and each slot is representing as a day. My requirement is when I click on Timeline column header; Day view should open for that specific date. But the problem is that when I go to click any of the column headers in Timeline view, there is no link button occurs so I am unable to click any time slot. Please give me some suggestion so that I can implement this functionality.
Thanks,
Deepak
Hi Team,
Here I have a scenario, in which I set AdaptiveRowHeight property as true. But the problem is because of this property is true, I am unable to drag my appointments vertical in different rows of month view. If there is any row which have at least one appointment then I can easily drag my appointments in that row, but if any row which haven’t any appointment in that case I am unable to drag it but if I will set AdaptiveRowHeight property as false then it works and I need to make this property true. Please give some suggestion.
Thanks,
Deepak
"RadTreeView1_NodeExpand
" event on button click<
asp:UpdatePanel
ID
=
"StepUpdatePanel"
runat
=
"server"
>
<
ContentTemplate
>
<
telerik:RadTreeView
ID
=
"trvSteps"
runat
=
"server"
Height
=
"400px"
Style
=
"border: 1px solid #CBE7F5;"
OnNodeExpand
=
"RadTreeView1_NodeExpand"
OnDataBinding
=
"RadTreeView1_NodeExpand"
>
<
DataBindings
>
<
telerik:RadTreeNodeBinding
Expanded
=
"True"
/>
</
DataBindings
>
</
telerik:RadTreeView
>
<%-- <
asp:TreeView
ID
=
"trvSteps"
runat
=
"server"
ShowLines
=
"true"
ExpandDepth
=
"0"
SelectedNodeStyle-BackColor
=
"LightBlue"
>
</
asp:TreeView
>--%>
</
ContentTemplate
>
<
Triggers
>
<
asp:AsyncPostBackTrigger
ControlID
=
"btnReloadTreeview"
EventName
=
"Click"
/>
</
Triggers
>
</
asp:UpdatePanel
>
Protected Sub RadTreeView1_NodeExpand(ByVal sender As Object, ByVal e As RadTreeNodeEventArgs)
Dim objFileRouteStep As Business.FileRouteStep
Dim dt As DataTable
Try
objFileRouteStep = New Business.FileRouteStep
objFileRouteStep.Fields.FileRouteID.FileRouteID = hdnRouteID.Value.ToString()
objFileRouteStep.Fields.Methods.AddInputParameter("@MonitoringDirectoryID", System.Data.SqlDbType.Int, 18, hdnMDirectoryID.Value)
dt = objFileRouteStep.GetFileRouteStepDataTable(Data.FileRouteStep.SqlProcedures.USP_select_Step_ByFileRouteID)
If (trvSteps.Nodes.Count = 0) Then
Dim rootNode As New RadTreeNode("Root")
rootNode.Value = "0"
'rootNode.ImageUrl = "~/TreeView/Img/Vista/folder.png"
rootNode.ExpandMode = TreeNodeExpandMode.ServerSideCallBack
trvSteps.Nodes.Add(rootNode)
BindTreeToDirectory(e.Node.Value, e.Node)
End If
Catch ex As Exception
End Try
End Sub
Private Sub BindTreeToDirectory(ByVal StepID As String, ByVal parentNode As RadTreeNode)
Dim objFileRouteStep As Business.FileRouteStep
Dim dt As DataTable
Try
dt = New DataTable
If (StepID = "0") Then
objFileRouteStep = New Business.FileRouteStep
objFileRouteStep.Fields.FileRouteID.FileRouteID = hdnRouteID.Value.ToString()
objFileRouteStep.Fields.Methods.AddInputParameter("@MonitoringDirectoryID", System.Data.SqlDbType.Int, 18, hdnMDirectoryID.Value)
dt = objFileRouteStep.GetFileRouteStepDataTable(Data.FileRouteStep.SqlProcedures.USP_select_Step_ByFileRouteID)
For Each dr As DataRow In dt.Rows
Dim node As New RadTreeNode(dr("Step").ToString() + "-" + dr("Desc").ToString(), dr("StepID").ToString(), "javascript:clickNode(this, '" + dr("StepID").ToString() + "');")
node.Value = dr("StepID").ToString()
If (dr("SubNode").ToString() = "0") Then
Else
node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack
End If
parentNode.Nodes.Add(node)
Next
Else
objFileRouteStep = New Business.FileRouteStep
objFileRouteStep.Fields.Methods.AddInputParameter("@FileRouteID", System.Data.SqlDbType.Int, 18, StepID)
dt = objFileRouteStep.GetFileRouteStepDataTable(Data.FileRouteStep.SqlProcedures.USP_select_childStep_ByFileRouteID)
For Each dr As DataRow In dt.Rows
'If (dr("ParentID").ToString() = virtualPath.ToString()) Then
Dim node As New RadTreeNode(dr("Step").ToString() + "-" + dr("Desc").ToString(), dr("StepID").ToString(), "javascript:clickNode(this, '" + dr("StepID").ToString() + "');")
node.Value = dr("StepID").ToString()
node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack
parentNode.Nodes.Add(node)
'End If
Next
End If
Catch ex As Exception
Finally
objFileRouteStep = Nothing
dt = Nothing
End Try
End Sub
function
showWizard() {
var
oWnd = $find(
"<%= RadWindow1.ClientID %>"
);
oWnd.show();
}
VisibleOnPageLoad
VisibleOnPageLoad
<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"RadAsyncUpload1"
HttpHandlerUrl
=
"~/UploadHandler.ashx"
MultipleFileSelection
=
"Disabled"
MaxFileInputsCount
=
"1"
OnClientFileUploaded
=
"fileUploaded"
EnableInlineProgress
=
"False"
Skin
=
"Default"
>
</
telerik:RadAsyncUpload
>