How can I disable RadDropDownTree node based on nodeid?
I want to disable the first and second node in the tree based on the database nodeid 1 and 2
<
telerik:RadGrid
ID
=
"RelatedProductsGrid"
runat
=
"server"
Width
=
"95%"
ShowStatusBar
=
"true"
AutoGenerateColumns
=
"False"
PageSize
=
"20"
AllowSorting
=
"False"
AllowMultiRowSelection
=
"False"
AllowPaging
=
"True"
>
<
pagerstyle
mode
=
"NextPrevAndNumeric"
></
pagerstyle
>
<
mastertableview
width
=
"100%"
datakeynames
=
"PartId"
allowmulticolumnsorting
=
"False"
>
<
DetailTables
>
<
telerik:GridTableView
DataKeyNames
=
"PartId"
Name
=
"RelatedProducts"
Width
=
"100%"
>
<
Columns
>
<
telerik:GridTemplateColumn
HeaderStyle-HorizontalAlign
=
"Right"
ItemStyle-HorizontalAlign
=
"Right"
>
<
ItemTemplate
>
<
telerik:RadButton
ID
=
"RemoveRelatedProductButton"
runat
=
"server"
CommandName
=
"Delete"
>
</
telerik:RadButton
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
telerik:GridTableView
>
</
DetailTables
>
When I upgrade an existing project to a newer version the Upgrade Wizard Log shows success but I get this error:
https://drive.google.com/open?id=1l1KqfmqRnsCgWJ5O5LeBDCH_fpjDoiRr
Also if I bring up the Launch Toolbox Configurator and then click "Finish" button, I get the same error.
I do NOT run VS 2015 "As Admin" for many reason I don't want to get into, so please don't suggest that ;)
Cheers, Rob.
protected void OnSettingsTreeListDeleteCommand(object sender, TreeListCommandEventArgs e)
{
TreeListDataItem treeListDataItem = e.Item as TreeListDataItem;
TableRow tableRow = e.Item as TableRow;
if (treeListDataItem != null && tableRow != null)
{
string name = tableRow.Cells[3].Text;
string id = treeListDataItem.GetDataKeyValue("Id").ToString();
SettingsTreeListDataTable.Rows.RemoveAt(Convert.ToInt32(id));
PropertyType.GetPropertyType(typeof(Brand)).RemoveSetting(name);
}
}
Hello ,
Can you please advise how the Tree view should be setup to give this type of functionality with database table attached ?
thanks
Hello..........
I want to create a check box to show by group. Where it will show only 1 checkbox per 1 group
- I Can pic1.png
- I want pic2.png