How to access the dropdownlist value on client side in button click
<
EditFormSettings
EditFormType
=
"Template"
>
<
FormTemplate
>
<
asp:DropDownList
ID
=
"editDropDown"
runat
=
"server"
>
<
asp:ListItem
Text
=
"Item1"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Item2"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Item3"
></
asp:ListItem
>
</
asp:DropDownList
>
<
asp:TextBox
ID
=
"TextBox1"
runat
=
"server"
></
asp:TextBox
>
<
asp:Button
ID
=
"btn"
Text
=
"btn"
runat
=
"server"
OnClientClick
=
"ddlValue();"
/>
</
FormTemplate
>
</
EditFormSettings
>