hi,
just like james in this thread, I need to mark certain rows according to a condition.
every time the user opens and watch an idea, the row of the watched idea should be in lightblue.
that for itself works great.
My problem is, that when I click a row it gets lightblue, but then- when I click another row, the previous row change color to white.
How can I keep the condition working for alternating item style too?
that my code :
<telerik:RadGrid Skin="innovation" EnableEmbeddedSkins="false" ID="RadGrid1" dir="rtl" HeaderStyle-ForeColor="White" AllowFilteringByColumn="True" AllowSorting="True" AllowPaging="True" BorderColor="#74ABAE" BackColor="White" BorderWidth="2px" runat="server" HeaderStyle-Font-Size="Small" ItemStyle-Font-Size="Small" AlternatingItemStyle-Font-Size="Small" ItemStyle-BackColor="White" ItemStyle-ForeColor="Black" PageSize="7" AutoGenerateColumns="False" PagerStyle-Font-Size="Small" AlternatingItemStyle-ForeColor="Black" Culture="Hebrew" GridLines="Vertical" Width="666px" style="margin-right: 30px"> <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Black"> </HeaderContextMenu> <ItemStyle BackColor="White" Font-Size="Small" ForeColor="Black" /> <PagerStyle mode="NumericPages" ShowPagerText="false"></PagerStyle> <MasterTableView> <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings> <Columns> <telerik:GridBoundColumn CurrentFilterFunction="Contains" DataField="IDEA_CODE" UniqueName="IDEA_CODE" HeaderText="ideanum" AutoPostBackOnFilter="true" DataType="System.Int32"> </telerik:GridBoundColumn> <telerik:GridBoundColumn UniqueName="LINK" DataField="LINK" HeaderText="" DataType="System.String" Display="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ROWNUM" HeaderText="#" Visible="false" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" DataType="System.Int32"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="SENDER_ID" HeaderText="id" UniqueName="SENDER_ID" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" DataType="System.String"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FULLNAME" HeaderText="namef" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" DataType="System.String"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="SUBJECT" HeaderText="sub" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" DataType="System.String"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DESCRIPTION" HeaderText="status" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" DataType="System.String"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="SEND_DATE" HeaderText="sdate" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" DataType="System.DateTime" DataFormatString="{0:dd/MM/yy}"> </telerik:GridBoundColumn> <telerik:GridImageColumn HeaderText="comments" UniqueName="FBIMG"> </telerik:GridImageColumn> </Columns> <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"> <HeaderStyle Width="20px"> </HeaderStyle> </RowIndicatorColumn> <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"> <HeaderStyle Width="20px"></HeaderStyle> </ExpandCollapseColumn> <EditFormSettings> <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn> </EditFormSettings> </MasterTableView> <SelectedItemStyle BackColor="LightBlue" /> <HeaderStyle ForeColor="White"></HeaderStyle> <ClientSettings> <Selecting AllowRowSelect="true" /> <ClientEvents OnRowSelected="OpenIdea" /> </ClientSettings> <FilterMenu EnableImageSprites="False"></FilterMenu> </telerik:RadGrid> Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound Try If TypeOf e.Item Is GridDataItem Then Dim item As GridDataItem = CType(e.Item, GridDataItem) Dim idea_code As Integer = CInt(item("IDEA_CODE").Text) If (StoredProcedures.Is_Watched_Idea(idea_code, userID) = True) Then 'if the ideas was watched then item.BackColor = Drawing.Color.LightBlue 'color the row End If…. End sub 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