| <telerik:RadTreeView ID="RadTreeView1" Runat="server" |
| DataSourceID="LinqDataSource1" DataFieldID="ItemID" DataFieldParentID="ParentID" |
| DataTextField="Title" EnableAjaxSkinRendering="true" Skin="Default" |
| CausesValidation="False" EnableDragAndDrop="True" |
| EnableDragAndDropBetweenNodes="True" MaxDataBindDepth="25" |
| SingleExpandPath="True" Width="350px" > |
| <CollapseAnimation Type="OutQuint" Duration="100"></CollapseAnimation> |
| <ExpandAnimation Duration="100"></ExpandAnimation> |
| </telerik:RadTreeView> |
| <br /> |
| <br /> |
| <asp:LinqDataSource ID="LinqDataSource1" runat="server" |
| ContextTypeName="DataClassesDataContext" OrderBy="ParentID, SortOrder" |
| TableName="Items" Where="ClientID == @ClientID"> |
| <WhereParameters> |
| <asp:ControlParameter ControlID="DropDownList1" DefaultValue="1" |
| Name="ClientID" PropertyName="SelectedValue" Type="Int64" /> |
| </WhereParameters> |
| </asp:LinqDataSource> |
| function CloseAndRebind() { |
| //var ctrl = document.getElementById('tvDivisionTree.ClientID'); |
| var tree = $find('<%= DivisionPicker1.FindControl("tvDivisionTree").ClientID %>'); |
| var node = tree.get_selectedNode(); |
| GetRadWindow().Close(oArg); |
| if (node) { |
| GetRadWindow().BrowserWindow.ReloadPlace(node.get_text()); |
| } |
| else |
| GetRadWindow().BrowserWindow.ReloadPlace(""); |
| } |
<
uc1:DivisionPicker ID="DivisionPicker1" TreeEnabled="true" runat="server" />
I seem to be running out of options to locate my RadTree clientID. As you can see above I have been trying both $find and getElementByID.
| function ReloadPlace(departmentID) { |
| //var txtbox = $find('<%# MyRepeaterListitem.....ClientID %>'); |
| alert(departmentID); |
| } |

<
telerik:GridButtonColumn FooterText="" DataTextFormatString="Approve"
UniqueName="approve" HeaderText="Approve" CommandName="MyCommandName" CommandArgument="" DataTextField="id">
<ItemStyle Width="100px" />
</telerik:GridButtonColumn>
On some condition i want to make this approve link disable and enable on run time. How we can get this at link run time and on which event we can enable and disable this link.
Thanks
Amarinder
<
AppointmentTemplate>
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/tickbox.gif" />
</AppointmentTemplate>
So every appointment is represented by an image. They all go one below the other. Is it possible to organise then so the go horizontally, one next to the other, and then new line if they no longer fit?
Thanks a lot
Kati