Validator Control is not working in Live site.

  • Thread starter Thread starter BSM
  • Start date Start date
B

BSM

Hi,

I have used some validator controls in my project and itz working fine
in developement enviro. But it does not work in the Live site.

Help me to solve this issue.
bsm
 
Howdy,

It's difficult to quess - could you provide some code or explain in details
which validation controls you're using.
 
Hi,

Sorry for the late reply. I have used RequiredFieldValidator Control.

I have one Textbox and One RequiredFieldValidator Control. This is
working fine in my Development Enviro. But When I deploy the app in
live site. It doesn't work.

Here is the code
------------------------
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator1"
runat="server" ErrorMessage=">>" ControlToValidate="TextBox1"></
asp:RequiredFieldValidator>

Thanks & regards
Senthilmurugan.B
 
Howdy,

Sorry for my late reply. Change the code to:

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ErrorMessage=">>"
ControlToValidate="TextBox1">
</asp:RequiredFieldValidator>
 
Thank your very much.

Howdy,

Sorry for my late reply. Change the code to:

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ErrorMessage=">>"
ControlToValidate="TextBox1">
</asp:RequiredFieldValidator>
 
I forgot ASP.NET forums encodes html input, should be:

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ErrorMessage="&gt;&gt;"
ControlToValidate="TextBox1">
</asp:RequiredFieldValidator>

--
Milosz


BSM said:
Thank your very much.

Howdy,

Sorry for my late reply. Change the code to:

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ErrorMessage=">>"
ControlToValidate="TextBox1">
</asp:RequiredFieldValidator>
--
Milosz

BSM said:
Sorry for the late reply. I have used RequiredFieldValidator Control.
I have one Textbox and One RequiredFieldValidator Control. This is
working fine in my Development Enviro. But When I deploy the app in
live site. It doesn't work.
Here is the code
------------------------
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator1"
runat="server" ErrorMessage=">>" ControlToValidate="TextBox1"></
asp:RequiredFieldValidator>
Thanks & regards
Senthilmurugan.B
On Feb 27, 3:59 pm, Milosz Skalecki [MCAD] <[email protected]>
wrote:
Howdy,
It's difficult to quess - could you provide some code or explain in details
which validation controls you're using.
I have used some validator controls in my project and itz working fine
in developement enviro. But it does not work in the Live site.
Help me to solve this issue.
bsm
 
Back
Top