barski Posted January 14, 2003 Posted January 14, 2003 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. Quote
*Experts* Bucky Posted January 14, 2003 *Experts* Posted January 14, 2003 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. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
barski Posted January 15, 2003 Author Posted January 15, 2003 Still not working. it is erring almost immediately. I don't think it is even getting to the part where I query the database Quote
*Experts* Nerseus Posted January 15, 2003 *Experts* Posted January 15, 2003 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 Quote "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
barski Posted January 15, 2003 Author Posted January 15, 2003 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.