Mobiles :: Get Exception Page Must Contain Atleast One Form?

Sep 17, 2010

I am developing a web application targetted for Windows Mobile. And I do have a form element in my webpage but I always get the exception

"Page must contain atleast one form."

View 3 Replies


Similar Messages:

Mobiles :: How To Set The Width Of Form On Mobile Page

May 4, 2010

how can i set the width of the form on the mobile page.....i am using .NET mobile.

View 7 Replies

RegisterStartupScript Required Atleast One Contol On Page To Work?

Jun 22, 2010

I am new to ASP.net and I am using RegisterStartupScript to register session expired alert. It works fine If my page has atleast one control like ( button, textbox etc ). If my page is empty or has only text then I didn't get any alert. Is it right that we should have one control to get alerts.Follwoing is my code.

[Code]....

View 5 Replies

Mobiles :: Exception While Calling HttpWebRequest.GetRequestStream()

Mar 17, 2010

From my windows mobile application, i want to connect to the server which resides on my local machine. I want to use HTTPS.

SSL certificates have been implemented and they dont cause any problems.

However, i get an exception at the code line

Stream requestStream = webrequest.GetRequestStream(); ----> webrequest is an object of HttpWebRequest class

The exception message is "Could not establish connection to network." InnerException is null.

View 2 Replies

Mobiles :: Close All Form And Terminate App In .net CF?

Apr 1, 2011

I've been searching for a while for a solution to accomplish above subject, I have a win app for handhelds in which the user can navigate through several windows forms form.showdialog() The question is how to close all windows and terminate the app when user press exit button.

process.getcurrentprocess().kill(); --> didn't work Foreach (Form frm in Application.OpenForms) --> doesn't work in .net Compact Framework frm.Close();

I mean if I use form.show() to open the windows, it works with Application.Exit();, but I want to prevent the user navigate away from the current form thru the icon for open windows on the right lower corner of the handheld, unless he press the close button of the form, that's why I use form.showdialog(), the other approach could be to show only the current open form of the application if the user press the icon for the open windows on the right lower corner.

View 2 Replies

Mobiles :: Print On Windows - Form Authentication Doesn't Work

Sep 11, 2010

i made a web application and i need it to work on a windows mobile system, the thing is that some control don't work the way i planned one thing is that form authentication doesn't work i have two question,

1- do i need to make a smart device project and do the whole program again

2- i need a way to print from this device (HTC TyTN II) to a bluethoot device (DPP-250).

View 1 Replies

Mobiles :: How To Use Query String With Local Html File In Windows Mobile Web Form

Mar 16, 2010

I am trying to display a local .html file in a web page. The file uses javascript to display some information about my phone. In the executable, I am retrieving two values out of the registry. I would like to pass these values in a query string (I think that is the correct terminology). Something like file://\Program Files\TestTest.html?type=newtype. I have attempted this with using webbrowser.navigate, but that is giving an unhandled exception when it tries to pass the URI string. Obviously, I have no experience with this and am using the wrong method. There has to be a simple way to open a new webpage in a form and pass it this type of string.

how to implement such a function? I have been attempting to implement this with Visual C# using the .net CF for Windows Mobile.

View 2 Replies

ADO.NET :: Need To Query Atleast 35 Tables Using Linq To Sql(SQL Server Database?

Aug 27, 2010

I am a little new to this concept so bear with me.1) I need to query atleast 35 tables using linq to sql(SQL server database) . I am not able to add all the database entities in Linq to sql classes?

2)(View Model issue) When I use List<Reportcollection> and also List<Receipt> to convert the result then its giving an error that "Cannot convert list<anonymous> to list<string>"

View 6 Replies

Data Controls :: Validate CheckBoxList Server Side For Atleast One Item Selected

Nov 27, 2012

Validate a checkbox list using server side validation, to make sure atleast one value is selected?

asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="3">
<asp:ListItem>1st</asp:ListItem>
<asp:ListItem>2nd</asp:ListItem>
<asp:ListItem>3rd</asp:ListItem>
</asp:CheckBoxList>
<asp:Button ID="Button1" runat="server" Text="Submit" />

View 1 Replies

Web Forms :: How To Test Exception Handling And Logging Locally For Email Form

Aug 19, 2010

I have a form that's used to submit emails for a project. This uses the SMTP Client class and is currently delivering the emails to a local directory , for now.

There is some logic that checks to see if a mailbox is busy or unavailable. A message is displayed for the appropriate situation. There is also some logging and exception handling.

I want to know if there is a way to test this logic, logging and exception handling while this app is local. I don't know if there is a SMTP Status Code that's returned since this is being done locally and not with a real smtp server.

Is there a way to test this locally? Can these values be set manually in the code as a test?

View 2 Replies

Javascript - Check Box Validation For Atleast One Check Box Should Cheked In .net

Feb 22, 2011

I have asp.net form having 4 check boxes. not check box list. these 4 check boxes having the ValidationGroup property with same name say "chkValied". I have added Custom Validator there. now want to check at least on check box should be check out of these.

View 3 Replies

Mobiles :: Interfacing Application With Mobiles?

Jan 1, 2010

wanted to know what is the easiest way to interface a mobile phone device with an online system. I have literally NO knowledge in this domain. However, I am brainstorming on possibility of an online application that will allow me to backup my data in nokia set 3110 such as my Address book in the application and restore it. This I want to achieve without connecting my phone to any PC. I am thinking on some way to achieve this by leveraging mobile phone line only. I beleive it may require my application to connect to mobile phone through mobile phone network. Currently my mobile phone line subscriber is offering Address Book backup/ restore service with some charge. I want to see if I can replicate similar features. I would really appreciate if you can give a direction to my random thoughts.If anything is not clear then please feel free to inquire. I look forward to your kind response.

View 2 Replies

Mobiles :: Create A Page For Mobile Web Browser?

Mar 10, 2010

I'm trying to learn Visual Web Developer 2008 and web site design. I have created a website with a 'contact us' section and it is working fine. On this page I have appx 6 Input text boxes but lots of graphics and such on the page. I'm trying to figure out how to get started building a simple version of the same page so that blackberries, android, iphone, etc... could fill out and submit the form. I don't want anything fancy on the form, just labels and text boxes.

I'm been searching the web and everything leads me to add a mobile web form to my project but in VWB 2008 there is no such thing (at least that I can find)

View 3 Replies

Mobiles :: Platform Based Page Redirect?

May 26, 2010

This will be typical question to ask, but i havent found any right soultion to this. I need to redirect pages based on devices browsing, mostly focusing on iPad, iPhone, Blackberry. But i need server side code, for this; as javascript is disabled by default on Blackberries, so tring to avoid javascript. I have checked MVP Mobile Devices, but dont know how to implement in my sites.

View 17 Replies

Mobiles :: Create A New Session On The Page If It Has Timed Out?

Mar 15, 2011

is there a way to create a new session if it has timed out ?

View 3 Replies

Mobiles :: Open .swf File Through Web Page On Window Mobile CE

Sep 24, 2010

I need to open the .swf file thru web page on platform window CE. I got a .swf file which is saving in window CE mobile device on path: My DocumentsflashParallelParking.swf. So when user browse the web page thru the mobile device, I need to open up the .swf file which is save in the particular path on the mobile device.
I try to using Process() to open the file but hits an RunTime Error: "An Application error occurred on server. The current custom error setting for this app prevents the details of the app. error from being viewed remotely."

Public Partial Class HomePage
Inherits System.Web.UI.Page
Protected Sub ImageButton5_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton5.Click
FileOpen("My DocumentsflashParallelParking.swf")
End Sub
Public Sub FileOpen(ByVal FileName As String)
Dim myProcess As New Process()
Try
myProcess.StartInfo.FileName = FileName
myProcess.StartInfo.Verb = "Open"
myProcess.Start()
Catch ex As Exception
Throw ex
End Try
End Sub
End Class

View 7 Replies

Web Forms :: How To Post Data From One Form To Other Form Using Cross-Page Technique

Jan 14, 2011

I have Master Page and ascx user controls in my application.

how would I use the Cross-Page technique using the @ PreviousPageType directive.

useful links or samples to achieve this.

I am trying to use the Page class that exposes a property named PreviousPage from my User Control.

View 3 Replies

Web Forms :: IFrame Form Data Capture Upon Parent Page Form Submit Action

Jun 8, 2010

I have a web form called default.aspx which has a form with user information. In addition to this, I have an iFrame on the same page that displays a page Secondary-Form.aspx that has a few additional dynamic data fields. I need to do two things.

1. I need to pass the parent form data in real time to the iFrame page to refresh its content and modify it's fields accordingly. Example: If the user submits their Vehicle Choice as Car on parent form, the form item in iFrame will display a radio button that says Honda, and if the user submits their Vehicle Choice as MotorCycle in the parent page, the iFrame will display Harley Davidson as the radio button choice

2. The submit button is on the parent page. I want both pieces of this information (from the parent page, as well as iFrame selection) to be passed to a server side ASPX page to process this information.the default.aspx and Secondary-Form.aspx files are located on different domains.

View 2 Replies

Web Forms :: Create Form In Asp Which Reloads Another Form Without Refreshing Page?

Jan 26, 2011

i need to create a dynamic form that switches the contents of the page without reloading or refreshing the page.

View 10 Replies

Mobiles :: Unable To Set Custom Attributes On Mobile Controls In This Page?

Aug 26, 2010

I am beginner at mobile Pages with ASP.NET. And ı want to make an application with contains a few TextBox that have different size.

it's my sample code here:
<%@Page Inherits= "System.Web.UI.MobileControls.MobilePage" Language= "C# " %>

View 6 Replies

Mobiles :: IPhone Page Shrinks Html But Blackberry Doesn't?

Dec 7, 2010

So I created a site optimized to be rendered in a mobile device. I set the Width Site is looking good on Blackberry of my <DIV> tags to be about 300px, for the most part, to account for the reduced screen size. However, the IPhone Safari browser renders this to the screen extremely small, and I can only assume that it's automatically reducing the size of the html accordingly to fit the device. Again, Blackberry does not do this.

View 5 Replies

AJAX :: Throw Exception Message "Authentication Failed" When Call Webservice Form Javascript

Aug 16, 2010

I was created webservice which has a Method:

[Code]....

Then, in my aspx page, i call that method in javascript, but i get a Exception message is "Authentication Failed", code below:

[Code]....

How to resolve this problem?

View 3 Replies

Web Forms :: Changing Form Id (form) In Child Page?

Mar 24, 2011

Previously form id in child pages was aspnetform,suddenly now the id has changed to form1, now the problem is there are lots of script used with reference to id aspnetform and they are giving error. So i want to change or override the form1 name to aspnetform to make it work again

View 4 Replies

Mobiles :: Creating Text File On Server On Web Page Button Click

Aug 8, 2010

I would like to know if the normal procedure for creating text files would work the same on a mobile website?

1. I would like a text file created on the server (not users pc) when user clicks a button on the web page.
2. How do I refresh an image every few seconds, only the image not the whole page.

View 4 Replies

Mobiles :: Web Page Displaying With Small Font In Safari On Ipod Touch

Nov 18, 2010

I had developed mobile web page in asp.net 2.0. This page is displaying with small font in safari on ipod touch and in iphone. for this i had copied iphone.browser definition file in

C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIGBrowsers

folder and run the command aspnet_regbrowsers.exe -i in command prompt. Then 2 files with ASP.BrowserCapsFactory.dll and BrowserCapsFactory.cs are created. But there is no result.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved