For the life of me i can not figure out why the collapse/expand are missing. I took the page out and put it in its own project and it still doesnt show. I removed all code and script code. Basically a skeleton, but the +/- are no where to be seen! I can drag and drop and the database is updating correctly and TreeList, but he doesnt add in the +/-. It never shows, not even reload with the new data.
You can see from the attached files that the tree is missing the +/- for the third task. I attached the table screen shot too. I also had a problem with BOOTSTRAP theme not even showing the lines for the tree +/-.
This is a huge issue, that doesnt seem to have any rhyme or reason why it is missing. Please throw a bone my way on why this would not work.
I have another problem too - why can we not decorate the drag container? I would like all the row data not to show, just maybe a box or a label - "dragging" or something I want. If i put in a height for the TreeList the drag container matches this for some messed up reason. If that can be changed in CSS, please let me know. By all means change the default container height to match the drag row height NOT the grid height.
Thanks for the help Telerik
<
html
>
<
head
>
<
title
>Test</
title
>
</
head
>
<
body
>
<
form
id
=
"Form1"
runat
=
"server"
>
<
asp:ScriptManager
runat
=
"server"
ID
=
"ScriptManager1"
>
</
asp:ScriptManager
>
<
telerik:RadTreeList
runat
=
"server"
ID
=
"RadTreeListProjectTasks"
Skin
=
"Web20"
DataSourceID
=
"SqlDataSource1"
DataKeyNames
=
"TaskProjectDetailId"
ParentDataKeyNames
=
"ParentTaskProjectDetailId"
AutoGenerateColumns
=
"false"
Width
=
"100%"
>
<
ClientSettings
AllowItemsDragDrop
=
"true"
>
<
Selecting
AllowItemSelection
=
"true"
/>
</
ClientSettings
>
<
Columns
>
<%--hidden columns for updating emails in user control--%>
<
telerik:TreeListBoundColumn
UniqueName
=
"TaskProjectDetailId"
DataField
=
"TaskProjectDetailId"
Display
=
"false"
/>
<
telerik:TreeListBoundColumn
UniqueName
=
"ParentTaskProjectDetailId"
DataField
=
"ParentTaskProjectDetailId"
Display
=
"false"
/>
<
telerik:TreeListBoundColumn
UniqueName
=
"UserProfileId"
DataField
=
"UserProfileId"
Display
=
"false"
/>
<
telerik:TreeListDragDropColumn
UniqueName
=
"TreeListDragDropColumn"
HeaderStyle-Width
=
"30px"
>
</
telerik:TreeListDragDropColumn
>
<
telerik:TreeListTemplateColumn
HeaderText
=
"Source"
DataField
=
"Subject"
>
<
ItemTemplate
>
<
table
class
=
"templateTable"
width
=
"400px"
>
<
tr
>
<
td
class
=
"templateHeader"
>
<
asp:Label
ID
=
"Subject"
runat
=
"server"
Text='<%# Bind("Subject") %>'></
asp:Label
>
<
asp:Label
ID
=
"Description"
runat
=
"server"
Text='<%# Bind("Description") %>'></
asp:Label
>
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:TreeListTemplateColumn
>
</
Columns
>
</
telerik:RadTreeList
>
<
asp:SqlDataSource
ID
=
"SqlDataSource1"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:TestDbConnectionString %>"
UpdateCommand="UPDATE [_TasksProjectDetailTBL] SET [ParentTaskProjectDetailId]=@ParentTaskProjectDetailId WHERE [TaskProjectDetailId] = @TaskProjectDetailId"
SelectCommand="SELECT * FROM [_TasksProjectDetailTBL] TPD WHERE [TPD].TaskProjectMasterId IN (1)">
<
UpdateParameters
>
<
asp:Parameter
Name
=
"TaskProjectDetailIdParentId"
Type
=
"Int16"
></
asp:Parameter
>
<
asp:Parameter
Name
=
"TaskProjectDetailId"
Type
=
"Int64"
></
asp:Parameter
>
</
UpdateParameters
>
</
asp:SqlDataSource
>
</
form
>
</
body
>
</
html
>