or
Hello,
I have a RadGrid in which i have a textbox in one of the columns and for that textbox i wanted to have a popupcontrol extender with bigger textbox in it.
All i wanted to have is a big textbox which i can't put in the grid row because of its size.
Now the problem is, When i entered text in the textbox within popupcontrolextender, that text is not being saved in to the grid textbox when the popup is closed.
Hope i am making sense.
Appreciate the help
Thanks
Here is the code:
<
telerik:GridTemplateColumn
HeaderText
=
"Income Source"
UniqueName
=
"MemSourceofIncome"
>
<
ItemTemplate
>
<
asp:TextBox
ID
=
"txtMemSourceofIncome"
runat
=
"server"
CssClass
=
"Text"
ToolTip
=
"Member Source of Income"
Width
=
"80px"
>
</
asp:TextBox
>
<
asp:PopupControlExtender
ID
=
"IncomeSrcPopEx"
runat
=
"server"
TargetControlID
=
"txtMemSourceofIncome"
PopupControlID
=
"IncomeSrcPanel"
Position
=
"Left"
CommitProperty
=
"text"
CommitScript
=
"e.text"
/>
<
asp:Panel
ID
=
"IncomeSrcPanel"
runat
=
"server"
CssClass
=
"PopupModalWindow"
Style
=
"display: none"
>
<
table
>
<
tr
>
<
td
>
<
telerik:RadTextBox
ID
=
"txtIncSrc"
runat
=
"server"
CssClass
=
"Text"
TextMode
=
"MultiLine"
Width
=
"280px"
>
</
telerik:RadTextBox
>
</
td
>
</
tr
>
</
table
>
</
asp:Panel
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
My web site pages are centered in the browser. When the grid has data width that is larger than the grid width
tree.DataTextField =
"Name"
tree.DataValueField =
"NodeID"
tree.DataFieldID =
"NodeID"
tree.DataFieldParentID =
"ParentNodeID"
tree.DataSource = nodes
tree.DataBind()
<
tel:RadTreeView
runat
=
"server"
ID
=
"trvHierarchy"
CheckBoxes
=
"true"
CheckChildNodes
=
"false"
OnNodeDataBound
=
"TreeNodeDataBound"
OnNodeCheck
=
"HierarchyTreeNodeCheck"
></
tel:RadTreeView
>
Protected
Sub
TreeNodeDataBound(
ByVal
sender
As
Object
,
ByVal
args
As
RadTreeNodeEventArgs)
If
Not
args.Node
Is
Nothing
Then
Dim
check
As
Boolean
=
False
For
Each
assignedNode
As
KeyValuePair(Of
Integer
,
String
)
In
_assignments
If
assignedNode.Key =
CType
(args.Node.Value,
Integer
)
Then
check =
True
End
If
Next
If
check
Then
args.Node.Checked =
True
Else
args.Node.Checked =
False
End
If
End
If
End
Sub