microsoft.public.dotnet.framework.aspnet.mobile Archive - January 2003
Post a message to this list
Messages
Page: 1
Beep (4 replies)
microsoft.public.dotnet.framework.aspnet.mobile
I'm developing a mobile asp.net application in C#. On my pocketpc 2002 i need to play either a sound (beep) if a ccondition is true or another sound if the condition is false. May someone help me ? If possible i need the c# source code of the solution. Thanks Luca
XML error (2 replies)
microsoft.public.dotnet.framework.aspnet.mobile
i get the following error message when i try to build a new mobile project using VB. the error is reported in the web.config file which i have attached.the error is as follows. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriat...
Simple Mobile Web Form question (2 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Hi all, I've been using Visual Studio .Net for quite some time, but I'm new to the MMIT. I've created a Mobile Web Form and dragged a (Mobile) label and text box on to it. My question is how to I place them side by side on the same line ??? I can't adjust the size of form/label or text field by dragging at their handles. Is this expected behaviour? As a result when I drop a label and text field on...
ObjectList inline databinding - Help (2 replies)
microsoft.public.dotnet.framework.aspnet.mobile
I could used some help with objectlist inline databinding (which seems much harder than it should be IMHO ) After reading ms kb 309496 and implementing it's vb code example I'm getting the following error: "Must have one or more fields to databind an ObjectList" I'm binding a dataview to the objectlist datasource in page init code behind....and I know this works with the objectlist if I used speci...
Request.ServerVariables (3 replies)
microsoft.public.dotnet.framework.aspnet.mobile
In my MMIT project, the app is blowing up when I try to Request.ServerVariables["SERVER NAME"]. In ASP.NET I use the below code into the Global.asax's Application Start method. It determines if the app is running on Localhost or a production server and sets an Application variable which I use everywhere to determine things like which database to connect to. Any ideas on how I can get this informat...
HELP PLEASE! Database error... (4 replies)
microsoft.public.dotnet.framework.aspnet.mobile
In a development environment I can access a MS Access database successfully. When I deploy the proyect to our web server, in an SSL environment, for some reason I getting an "Object cannot be cast from DBNull to other types" error. If anyone has seen this before and can help me out I'd really appreciate it. TIA Steven
SelectionList event SelectedIndexChanged (2 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Hi, I have a problem with event in SelectionList. I set a event on SelectedIndexChanged but it's not raised. Anyome Can Help Me? Marco
populating a SelectionList Control (3 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Hi All, I'm having a few problems populating a SelectionList Control. I can't find any suitable examples to help my understanding. I would appeciate if someone could point me in the right direction. Essentially, I have an xml string which has all the information in the attributes e.g. " Root data ds 'description 1' os 'description 2' se 'description 3'/ /Root " I want to populate the SelectionList...
converting code from vb.net to c# please convert (2 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Public Class TradeColl Inherits System.Collections.CollectionBase 'Indexer Default Public ReadOnly Property Item(ByVal index As Integer) As Trade Get ' The appropriate item is retrieved from the List object and ' explicitly cast to the Execution type, then returned to the ' caller. Return CType(List.Item(index), Trade) End Get End Property 'Strongly typed Add method Public Sub Add(ByVal newTrade A...
showing 2 columns in a SelectionList Control dropdown (2 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Hi Everyone, Would it be possible to show 2 columns when a SelectionList control(dropdown style) is clicked. For example, ID and Description columns... I only want to show the ID column (or both, if the dropdown is clicked). I was thinking maybe inherit SelectionList control, but not sure how to go about it. Any ideas would be good. thanks hs
Printing in Pocket PC 2002 (2 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Hi, can I use the System.Drawing.Printing.PrintDocument class to send a print file to a printer connected to my PDA which is running Pocket PC 2002?? thanks a ton! Mike
How To Maintain URL variables across multiple pages (3 replies)
microsoft.public.dotnet.framework.aspnet.mobile
I'm trying to build an application specifically for Pocket PC. Basically, I have one page with 3 variables (I'll call this the variable holder page) that will get set by going to 3 different pages (VariablePage A, B, and C). What I'm having trouble doing is keeping the variables that have already been set, specifically when returning from another variable page to the variable holder page. I have m...
SelectList Control (3 replies)
microsoft.public.dotnet.framework.aspnet.mobile
On my standard ASP.NET pages I am able to bind an ADO resultset and then add a default item with the following line of code: dropClass.Items.Insert( 0, New ListItem( " none selected ", 1 ) ) The page is rendered with " none selected " at the top of the DropDownList and defaults to this item. Now I am trying to do the same using mobile web controls (SelectList). I was able to add the item with the ...
Frustrated! (3 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Using ADO and mobile forms I can read from an MS Access Database while developing. Once I deploy the app to our production server (SSL), I get the following error: "Object cannot be cast from DBNull to other types" I verified the data and everything seems to be ok. Here's my code: Try Dim cn As New ADODB.Connection() Dim rs As New ADODB.Recordset() Dim str As String Dim NewTrxID As Integer Dim rs ...
BUG? Adding items to a SelectionList object (3 replies)
microsoft.public.dotnet.framework.aspnet.mobile
I'm having a major problem adding a MobileListItem to a SelectionList object. I need to do this in the code behind, not in the MMIT designer. No matter how I try the value of the options alway starts at 0 and increments up, even when I try to explicitly set as in the below code. Is this a bug? CODE SelectionList sel new SelectionList(); sel.ID "cmbReps1"; MobileListItem ml new MobileListItem("text...
Mobile TextBox Initial Focus (4 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Is it possible to set the initial focus of a text box in a mobile web app. I've searched and searched and searched and cannot find an example. Please, please help......
ObjectList - Templated items/details problems (5 replies)
microsoft.public.dotnet.framework.aspnet.mobile
I have created an ObjectList with an ItemTemplate and an ItemDetailTemplate. I seem to have the list and detail page displaying correctly...however I'm getting errors when navigating from detail back to the list, With databinding only on posting (Ispostback false) I select my back button on the detail page and the detail page just displays again (the ItemCommand doesn't seem to fire. I press the d...
IsMobileDevice - Mobile Devices and Search Engine Spiders (13 replies)
microsoft.public.dotnet.framework.aspnet.mobile
We are using the IsMobileDevice property to automatically redirect mobile devices to our customized mobile site, while keeping standard web browser traffic flowing into our conventional website. The problem we have is search engine spiders. The code inside the Machine.Config that is added via the MMIT is setting the IsMobileDevice property to TRUE for all devices except Mozilla. Spiders such as Go...
TextBox.TextChanged event and key strokes (16 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Hi Everyone, Not sure about this, when i'm browsing my mobile webform with IE, my TextBox.TextChanged event gets fired when I hit the enter key. This event doesn't get fired when i'm browsing with the PocketPC emulater. Is this the way its mean't to be or am i doing something wrong. My Link control also doesn't work on the PocketPC emulater. My second question is regarding, the keypad. The devices...
Display data in COLUMNS (6 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Hello, I am developing with the Mobile Information Toolkit and am wondering how to display columns. For instance: TimeItem Hours Met with client xyz 3.0 Did this 2.0 Thanks for any assistance or suggestions. Tom
Asp:literal control in Mobile (4 replies)
microsoft.public.dotnet.framework.aspnet.mobile
Hi: I am doing mobile application. I am having problem in asp:literal control. %@ Register TagPrefix "mobile" Namespace "System.Web.UI.MobileControls" Assembly "System.Web.Mobile, Version 1.0.3300.0, Culture neutral, PublicKeyToken b03f5f7f11d50a3a" % %@ Page Language "vb" AutoEventWireup "false" Codebehind "mms.aspx.vb" Inherits "Mobile.mms" % meta name "GENERATOR" content "Microsoft Visual Studi...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com