Hello,
I have two RadNumericTextBox on my page and a RadScriptManager. These components don't have a RequiredFieldValidator, but others on the same page have.
Theses validators are not working and it started hapenning after the inclusion of the RadNumericTextBox.
I took the RadNumeric out and the validators started working again.
Has someone ever seen a situation like this?
My code:
Tks,
Sorry for my poor english.
Thiago
I have two RadNumericTextBox on my page and a RadScriptManager. These components don't have a RequiredFieldValidator, but others on the same page have.
Theses validators are not working and it started hapenning after the inclusion of the RadNumericTextBox.
I took the RadNumeric out and the validators started working again.
Has someone ever seen a situation like this?
My code:
<
asp:Content
ID
=
"Content2"
ContentPlaceHolderID
=
"ContentPlaceHolder1"
Runat
=
"Server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
EnableScriptLocalization
=
"True"
>
</
telerik:RadScriptManager
>
<
div
>
<
table
cellpadding
=
"0"
cellspacing
=
"0"
width
=
"100%"
>
<
tr
>
<
td
> </
td
>
</
tr
>
<
tr
>
<
td
><
strong
>Cadastro de educação </
strong
></
td
>
</
tr
>
<
tr
>
<
td
> </
td
>
</
tr
>
<
tr
>
<
td
>Nome:
<
asp:Label
ID
=
"lblNome"
runat
=
"server"
Text
=
""
></
asp:Label
>
</
td
>
</
tr
>
<
tr
>
<
td
> </
td
>
</
tr
>
<
tr
>
<
td
>Tipo: <
asp:DropDownList
ID
=
"dropTipo"
runat
=
"server"
onselectedindexchanged
=
"dropTipo_SelectedIndexChanged"
AutoPostBack
=
"True"
DataSourceID
=
"sqlTiposEducacao"
DataTextField
=
"tipoFluxo_desc"
DataValueField
=
"tipoFluxo_id"
>
</
asp:DropDownList
>
<
asp:SqlDataSource
ID
=
"sqlTiposEducacao"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:GCConnectionString %>"
SelectCommand="SELECT * FROM tipofluxo WHERE tipofluxo_id >= 1 and tipofluxo_id <= 8"></
asp:SqlDataSource
>
<
asp:Label
ID
=
"lblEspecifique"
runat
=
"server"
Text
=
"Especifique:"
Visible
=
"false"
></
asp:Label
>
<
asp:TextBox
ID
=
"txtEspecifique"
runat
=
"server"
Width
=
"260px"
Visible
=
"false"
ValidationGroup
=
"form"
></
asp:TextBox
>
</
td
>
</
tr
>
<
tr
>
<
td
> </
td
>
</
tr
>
<
tr
>
<
td
>
Data de início: <
asp:TextBox
ID
=
"txtDataInicio"
runat
=
"server"
ValidationGroup
=
"form"
></
asp:TextBox
>
mm/aaaa
<
asp:RequiredFieldValidator
ID
=
"rfvDataInicio"
runat
=
"server"
ControlToValidate
=
"txtDataInicio"
ErrorMessage
=
"*"
ValidationGroup
=
"form"
></
asp:RequiredFieldValidator
>
</
td
>
</
tr
>
<
tr
>
<
td
> </
td
>
</
tr
>
<
tr
>
<
td
>
Data de término: <
asp:TextBox
ID
=
"txtDataTermino"
runat
=
"server"
ValidationGroup
=
"form"
></
asp:TextBox
>
mm/aaaa <
asp:RequiredFieldValidator
ID
=
"rfvDataTermino"
runat
=
"server"
ControlToValidate
=
"txtDataTermino"
ErrorMessage
=
"*"
ValidationGroup
=
"form"
></
asp:RequiredFieldValidator
>
</
td
>
</
tr
>
<
tr
>
<
td
> </
td
>
</
tr
>
<
tr
>
<
td
>
Valor anual:
<
telerik:RadNumericTextBox
ID
=
"txtValorAnual"
runat
=
"server"
Culture
=
"pt-BR"
Type
=
"Currency"
Width
=
"125px"
>
</
telerik:RadNumericTextBox
>
ou Valor mensal:
<
telerik:RadNumericTextBox
ID
=
"txtValorMensal"
runat
=
"server"
Culture
=
"pt-BR"
Type
=
"Currency"
Width
=
"125px"
>
</
telerik:RadNumericTextBox
>
</
td
>
</
tr
>
<
tr
>
<
td
> </
td
>
</
tr
>
<
tr
>
<
td
align
=
"center"
class
=
"style1"
>
<
asp:LinkButton
ID
=
"btnSalvar"
runat
=
"server"
Text
=
"Salvar"
onclick
=
"btnSalvar_Click"
ValidationGroup
=
"form"
/>
<
asp:LinkButton
ID
=
"btnExcluir"
runat
=
"server"
Text
=
"Excluir"
onclick
=
"btnExcluir_Click"
/>
<
asp:HyperLink
ID
=
"linkCancelar"
runat
=
"server"
NavigateUrl
=
"~/educacao.aspx"
>Cancelar</
asp:HyperLink
>
</
td
>
</
tr
>
</
table
>
</
div
>
</
asp:Content
>
Tks,
Sorry for my poor english.
Thiago