JScript for the .NET Framework


clientside javascript in Pocket Pc2002 and pocket Pc2003


Hi, I've encountered a strange situation. I'm not sure if this is an expected behaviour. Kindly share your thoughts on it. The application i'm working on is developed in VS .NET2002 and .Net Framework 1.0. It is an ASP.NET/C# application and is accessed from a mobile device having Pocket PC 2002. The UI has a main form and 2 input controls (Username and Password) on it. The input controls are in seperate forms inside a table row in the main form. Only the Password form has runat=server. When I access the application from Pocket PC 2002 device, enter the username in username field and press enter, only the client side code is executed. The page is posted to the server only when password (which is inside a form having runat = server) is entered and enter is pressed. But when I access the same application from Pocket PC 2003 device, the page is posted to the server even when I press enter on entering the Username. Could anybody please help in understanding this scenario? The code looks like: <form id="Login" onsubmit="this.submit()" method="post"> <TABLE cellSpacing="0" cellPadding="0" width="240" border="0"> <TR> <TD align="center" width="240" colSpan="2"><form id="UserName" onsubmit= return UserName();this.submit()" method="post" name="UserName"> <font color="#425aad" size="3"><strong>Username:</strong></font><br> <input id="txtUserName" type="text" size="15" name="txtUserName"> </form> </TD> </TR> <TR> <TD align="center" width="240" colSpan="2"> <form id="Password" name="Password" onsubmit=return Password(); this.submit()" method="post" runat="server"> <TABLE cellSpacing="0" cellPadding="0" width="240" border="0"> <tr> <TD align="center" width="240" colSpan="2"><font color="#425aad" size="3"><strong>Password:</strong></font><br> <input id="txtPassword" type="password" size="15" name="txtPassword" runat="server"> </TD> </tr> <TR> <TD align="left" width="240" colSpan="2"><asp:label id="lblMessage" runat="server" Font-Names="Arial" Font-Size="Small" ForeColor="#C60000"></asp:label></TD> </TR> <TR> <TD align="center" width="240" colSpan="2"><asp:imagebutton id="SignIn" runat="server" height="17" width="65" BorderWidth="0px" ImageUrl="file:///images/Button_Footer_SignIn.gif"></asp:imagebutton></TD> </TR> <tr> <IMG alt="" src="file:///images/Shunt.gif" width="3" height=3> </tr> <TR> <TD align="right" width="240" colSpan="2"><asp:label id="lblVersionNo" runat="server" Font-Names="Arial" Font-Size="Small" ForeColor="#C60000"></asp:label><IMG alt="" src="file:///images/Shunt.gif" width="6"<TD></TD> </TR> </TABLE> <input id="hdnUserName" type="hidden" name="hdnUserName" runat="server"> </form> </TD> </TR>
If you haven't found an answer yet, you should post the question to http://forums.asp.net
 

Related Links

IMG onclick error
URGENT: Time Session for my Internet Banking Project
InfoPath JScript - Loop through repeating elements in a Data Source programmatically
jquery intellesnese
To display a Yes/No dialog box after reading a file !!
Is there a VBScript for .NET?
Microsoft.JScript.Vsa.VsaEngine
HOWTO set a AJAX:TabContainer's height in javascript at run time.
Consume Web Service with Transport Layer Security (HTTPS) from JavaScript
Multi-threading in javascript
Click handler on popup does not run properly in a .NET environment
How to update ASP.NET image control periodically?
Format date before SQL Query execution
Alert window in aspx page.
Class doesn't support automation - or - how to install WS 5.7 on an XP SP3
how to do validation in cshtml (MVC)

Categories

MSDN
Using Forums
Microsoft Office for D...
Learning
Smart Device Development
Windows Embedded Standard
Windows Forms
Windows Server
Windows Live Developer
Development
Bing Maps
Archived Forums SA-SM
Archived Forums T-U
Internet of Things
Forums Issues (not pro...
Windows Desktop Search...
Windows Hardware Testi...
General Office Develop...
SharePoint 2013 - Usin...
Azure SQL Database
Service Bus
Azure Pack
Azure Search
Azure Cache
Azure CDN
Azure Data Factory
Machine Learning
Azure Service Fabric
Language Understanding...
Azure Data Catalog
Azure Functions
Team Foundation Server...
Architecture General
Software Modeling Tools
JScript Native
Transact-SQL
Microsoft StreamInsight
SQL Server Manageability
SQL Server 2012 Analys...
SQL Server 2012 Master...
Windows Forms Data Con...
Server Virtualization
Live Connect (Archived)
WebsitePanel - Support
Visio General Question...
Microsoft Unified Comm...
Silverlight Installati...
Getting Started with S...
Retired InfoPath Forms...
Retired SharePoint Col...
.NET StockTrader Sampl...
ADO.NET Entity Framewo...
ASMX Web Services and ...
App Producer (archived)
Developer Documentatio...
Installing and Registe...
LINQ Project General
Microsoft "Data Explor...
Monitor, Alert and Aut...
Phoenix
Project Codename:  Jasper
Search Server: Frequen...
SQL Server 2014 Databa...
SQL Server 2014 Master...
SQL Server 2014 Integr...
Tellme Studio (retired)
Tools for Windows Phon...
Visual Basic Power Packs
Visual Studio 2008 Exp...
Visual Studio Performa...
Visual Studio Source C...
Visual Studio Team Sys...
Visual Studio Team Sys...
Visual Studio UI Autom...
WCF Data Services (Pre...
Web Gadget Development
Web Sandbox - Exploits
Windows Live Alerts De...
Windows XP Wireless SDK
XNA Game Studio Express
Reporting
Windows Phone Preview ...
SQL Server 2016 Preview
Windows IoT
Skype Web SDK
Windows Containers

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile