Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I did a very simple website using vb.net (aspx forms) to run queries. It works great from a standard pc but doesn't work when I try to run the queries from my mobile device that has window ce. The page loads fine but it errs when I try and run the query.

 

"Run the query"

 

1. Dataset is created

2. HTML Table is populated with the dataset

 

As I said the page is loading ok so I'm lost as to why I get an error for such seemingly simple task.

 

Any help would be greatly appreciated.

  • *Experts*
Posted

ASP.NET forms rely on client-side JavaScript or

VBScript to post the forms back to the server. Because you're using

Windows CE, it may not be able to hadle the JavaScript correctly.

 

VBScript was made by MS, so the Pocket IE may support it more

fully than JavaScript. Change the client-side script to VBScript and

see if that helps any. To do this in VS.NET, right-click on the web

project and click Properties. In the Designer Defaults page,

change the option of "Client script language" to VBScript. You can

also try changing the target schema to an older browser.

 

Good luck.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

  • *Experts*
Posted

Have you tried scattering some Response.Write statements with Response.End to see how far you get? If your main problem is locating the bad code, I'd try that first. You can write out some of the values that are being passed as well, to see what the potential problem is.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

Button Control

 

It has something to do with the button control click event. I deleted all the code from the button click event and it still erred out.

 

 

Currently I've moved all the code from the button1 click to the formload. So when I initially open the page everthing works fine query loads and populates the grid but it won't do it again. I have a dropdownlist that I've set autopostback to true so when the user changes the index the form will load with whatever they've selected as the criteria. Once again, works fine on a normal pc but not on my pocket pc. For some reason it can't handle events control.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...