function editInit(nodeValue){
var tree= $find("<%= RadTreeView1.ClientID %>");
var node = tree.findNodeByValue(nodeValue);
tree._startEdit(node);
}
This does not work because I get javascript errors saying used methods are not supported on findNodeByValue due to the RadTreeView not being fully loaded yet. However, when i combine calling the editInit function with a setTimeout function (100 milliseconds), so that it waits a few milliseconds before calling the function, it works perfectly. However, I don't like this approach, because I don't know how reliable it's going to be once it's deployed online and the tree grows in size.
Isn't there an easier way to do this? Can't I set a property of a RadTreeNode which puts the node in Edit mode, the same way the property "Selected" works?
<radC:RadPanelBar ID="RadPanelBarPhysicianInformation" ExpandMode="SingleExpandedItem" Width="100%" runat="server" OnItemClick="RadPanelBarPhysicianInformation_ItemClick" >
<CollapseAnimation Duration="100" Type="None" />
<ExpandAnimation Duration="100" Type="None" />
<Items >
<radC:RadPanelItem Text="Constitution" >
<items>
<radC:RadPanelItem Value="PhysicianOptions" runat="server">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
<
Telerik:RadGrid ID="rgApptType1" EnableAJAX="True" runat="server" Skin="WebBlue" Width="100%" ShowStatusBar="True"
AutoGenerateColumns="False" PageSize="7" AllowSorting="True" AutoGenerateDeleteColumn="true"
ValidationSettings-CommandsToValidate="Insert" AutoGenerateEditColumn="True"
AllowPaging="True" GridLines="None" >
<PagerStyle Mode="NumericPages"></PagerStyle>
<MasterTableView CommandItemDisplay= "Top" EditMode="InPlace" DataKeyNames="ApptEncounterData_ID">
<
Columns >
<telerik:GridTemplateColumn HeaderText="AppointmentType Name" UniqueName="ApptType_ID">
<
ItemTemplate>
<asp:Label ID="lblApptType_ID" runat="server" Text='<%# Eval("ApptEncounterData_Field")%>'></asp:Label>
</ItemTemplate>
</
telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Display Order" UniqueName="ApptType_Name">
<
ItemTemplate>
<
asp:Label ID="lblApptType_Name" runat="server" Text='<%# Eval("ApptEncounterData_DisplayOrder")%>'></asp:Label>
</
ItemTemplate>
</
telerik:GridTemplateColumn>
</
Columns>
</
MasterTableView>
</
Telerik:RadGrid> </ItemTemplate>
how to stop to close the radpanel when click on radgrid?
Thanks,
Puru
| .RadTabStrip_Office2007 .rtsLevel1 .rtsLI, |
| .RadTabStrip_Office2007 .rtsLevel1 .rtsLink |
| { |
| color: red !important; |
| } |
| .RadTabStrip_Office2007 .selectedtab |
| { |
| color: green !important; |
| } |
var grid = <%= rgDRFormASPPFCaseInfo.ClientID %>;
var tableView = grid.MasterTableView;
alert(tableView);
Hi,
I am using Version 7.0.0.0 of RadEditor, Version 3.0.0.0 of the
RadSpell. and .Net framework 1.1
I set the value in RadControls\Editor\Config.xml to be false for AllowAddCustom but it doesn't work.
<property
name="AllowAddCustom">false</
In the config file, there are some “property element valid attributes” given but there is no property called “AllowAddCustom”.
I added “AllowAddCustom” to this section but still it did not work.
On page load, I cannot code these properties to change or set any values because the spell checker is used in several places and making the changes in the page load in every page will involve lot of coding effort.
How do I resolve this problem?
Note:
When I make changes to the RadControls\Editor\toolsFile.
