1
Vote

Error on HTC device when dynamicly adding controls

description

Hi
I am quite new on devloping for mobile devices so this might be a simple or a rookie error.
I am using the mdbf to get information on what kind a device and size on screen users have to use when i generate the page.
The page is then generated dynamicly based on who the user is and what kind of work he have been assigned in a database.
The page is working relativly fine without the mdbf but i want to get more info on the device.
But when i add the file i get this error on my device when opening the page
//!<CDATA[ var the Form = document.forms['form1']; fi (!theForm) { theForm = document.form1; } function __doPostBack(eventTarget, eventArgument) { if (!theForm.onSubmit || (theForm.onsubmit() !=
The error seems to appear when i start adding controls and the controls i am adding are Image, Label and Button.
The device i am trying on is a HTC Touch Pro Dimond
What am i doing wrong?

comments

Joa wrote Jun 3, 2010 at 3:11 PM

Tested som more and realized it is only in Opera i get this error not in Internet Explorer
but in IE i can't get QueryString on Postback to work.

wrote Feb 14, 2013 at 7:36 PM