or
Need help with the following:.
I am loading a treeview on pageload.
The user clicks on a button... at serverside I want to insert several new nodes to a Parent Node only if the child nodes does not already exists.
Now I can find the parent node... it exists. By doing the following I thought I get a count of the "child" nodes. I am getting 0 (zero) count event though that node (that I found) has child nodes.
pNode = rtv.FindNodeByValue(nodeVal.ToUpper(),
true);
if (pNode != null)
{
int count = pNode.Nodes.Count
}
How can I determine if a node has child nodes serverside?
Thanks.
function resizeRTB(obj, height, width){ obj._originalTextBoxCssText = "width:" + width + "px;height:" + height + "px;"; obj.updateCssClass(); }<telerik:RadTextBox ID="rtbExample" runat="server" TextMode="MultiLine" Width="550px" Height="150px" EmptyMessage="Example text..." ClientEvents-OnFocus='resizeRTB(this,300,550);' ClientEvents-OnBlur='resizeRTB(this,150,550);' />| <telerik:RadAsyncUpload ID="rauImage" |
| runat="server" |
| AllowedFileExtensions=".jpg" |
| MaxFileInputsCount="1" |
| MaxFileSize="5242880" |
| InitialFileInputsCount="1" |
| OverwriteExistingFiles="true" |
| TemporaryFileExpiration="05:00:00"> |
| </telerik:RadAsyncUpload> |
