If my tree node text is empty I want to display special text to the user but I when the node is edited I want the text to be blank. How can I achieve this? Currently when hitting F2 I still have the "(Not Set)" text displayed.
<telerik:RadTreeView telerik:TextSearch.TextPath="DisplayName"
public
override
string
DisplayName
{
get
{
if
(
string
.IsNullOrEmpty ())
{
return
"(Not Set)"
;
}
return
this
.m_displayName;
}
set
{
this
.m_displayName = value;
}
}