• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 713
  • Last Modified:

How to stop page refresh while using asp:RequiredFieldValidator in IE Mobile

Very simple problem

I am developing pages which are supposed to use on windows mobile 5 pocket pc
and i simply used some validators like <asp.RequiredFieldValidator1>
and some AJAX like <asp:UpdatePanel>
but the probliem is with those simple controls and submit the button, the page REFRESHes
How can I stop these and have a page like the pages in IE 7 or IE 6

  • 3
1 Solution
amirmasterAuthor Commented:
   <form id="form1" runat="server">
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="Button" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
            ControlToValidate="TextBox1" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
amirmasterAuthor Commented:
also I checked <asp:UpdatePanel>
but it does the same page Refresh
amirmasterAuthor Commented:
i found the answer myself
you should try to change some parameters in BrowserFile which shoud be inserted in your project path
in other hand
if you use "Opera 8.60u2 for Windows Mobile 5 Pocket PC"
you wont encounter such an error
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now