Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 706
  • 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

Default4.txt
0
amirmaster
Asked:
amirmaster
  • 3
1 Solution
 
amirmasterAuthor Commented:
   <form id="form1" runat="server">
    <div>
   
        <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>
   
    </div>
    </form>
0
 
amirmasterAuthor Commented:
also I checked <asp:UpdatePanel>
but it does the same page Refresh
0
 
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
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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