hello
i have created a nodetemplate for a comments system. (this is part of my code)
my problem is that the text inside the div or in any element is not acting regulary like when its
not in a nodetemplate.
the text inside the div is not selectable, i cant select text in it and like copy or somthing like that.
why its acting like that?
i have created a nodetemplate for a comments system. (this is part of my code)
my problem is that the text inside the div or in any element is not acting regulary like when its
not in a nodetemplate.
the text inside the div is not selectable, i cant select text in it and like copy or somthing like that.
why its acting like that?
<
telerik:RadTreeView
runat
=
"server"
ID
=
"RadTreeView1"
Skin
=
"Vista"
>
<
NodeTemplate
>
<
div
style
=
"width:400px;"
dir
=
"rtl"
>
<
div
id
=
"CommentTopSection"
runat
=
"server"
style="cursor: pointer; font-size: 12px; width:100%;
color: Black; font-family: Arial; text-align: right;">
<
asp:Label
ID
=
"lbl_CommentID"
runat
=
"server"
Text='<%# Eval("CommentID") %>' Visible="False"></
asp:Label
>
<
asp:Label
ID
=
"lbl_CommentNumer"
runat
=
"server"
Text='<%# Eval("CommentIncerment") %>'></
asp:Label
>
<
asp:Label
ID
=
"lbl_CommentTitle"
runat
=
"server"
Text='<%# Eval("CommentTitle") %>'></
asp:Label
>
<
br
/>
<
span
style
=
"font-size: 12px; color: Gray; font-family: arial;"
><%# Eval("Name") %> , <%# Eval("CommentDate") %>
</
span
>
</
div
>
<
div
id
=
"CommentExpand"
runat
=
"server"
style
=
"padding-bottom:5px; font-family:Arial; font-size:12px; color:Black; text-align:right; visibility: hidden; height: 0px; width: 400px; border: 1px 1px 0px 1px solid #C0C0C0; background-color: #F1F5FA"
>
<
br
/>
<%# Eval("CommentContent") %>
<
br
/> <
br
/>
<
span
id
=
"span_AddNewComment"
runat
=
"server"
style
=
"padding-left:10px; cursor:pointer; font-family:Arial; font-size:12px; font-weight:bold; text-decoration:underline; color:Black;"
> ????? ???? </
span
>
<
span
id
=
"span_AddParentComment"
runat
=
"server"
style
=
"cursor:pointer; font-family:Arial; font-size:12px; font-weight:bold; text-decoration:underline; color:Black;"
> ????? ?????? </
span
>
</
NodeTemplate
>
<
DataBindings
>
<
telerik:RadTreeNodeBinding
Expanded
=
"True"
/>
</
DataBindings
>
</
telerik:RadTreeView
>