Hi,
I have a radgrid which uses a modal popup window to insert new items as shown below. Does anyone know how I can find the textbox value through javascript?
I have a radgrid which uses a modal popup window to insert new items as shown below. Does anyone know how I can find the textbox value through javascript?
<
EditFormSettings
InsertCaption
=
"Add Note"
CaptionFormatString
=
"View Note"
EditFormType
=
"Template"
>
<
PopUpSettings
Modal
=
"true"
/>
<
FormTemplate
>
<
table
id
=
"tblAddNote"
cellspacing
=
"1"
cellpadding
=
"1"
width
=
"250px"
border
=
"0"
>
<
tr
>
<
td
>
<
asp:TextBox
ReadOnly='<%# !(Container is GridEditFormInsertItem) %>' Width="400px" Height="150px" TextMode="MultiLine" ID="txtNote" Text='<%# Bind( "Content") %>' runat="server">
</
asp:TextBox
>
</
td
>
</
tr
>
</
table
>
<
table
style
=
"width: 100%"
>
<
tr
>
<
td
align
=
"right"
colspan
=
"2"
>
<
asp:Button
ID
=
"btnUpdate"
Text='<%# (Container is GridEditFormInsertItem) ? "Add" : "Close" %>'
runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Cancel" %>'>
</
asp:Button
>
<
asp:Button
ID
=
"btnCancel"
Visible="<%# (Container is GridEditFormInsertItem) %>" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel">
</
asp:Button
>
</
td
>
</
tr
>
</
table
>
</
FormTemplate
>
</
EditFormSettings
>