Oct 04, 2008 08:06 AM|codetoad|LINK
I have a problem implementing the mobile command button as the image button. The command button is suppose to behave like an ImageButton is we set its Imageurl property.But this does not happens.
Following are the issues when i create a mobile command on the page load programmatically with its imageurl property set to and image url and click event mapped to a event handler
1.The problem is that when i access the page from a mobile device the the image button dosent shows the image which i set in the imageurl property, althought it shows if i view the page on the pc browser.
2.Second problem is that the event doesnt fine if i click the button.this is the problem with pc as wel as mobile browsers.
Following is the code that i use:
System.Web.UI.MobileControls.Command cd =
Although i got the solution to the first problem from this solution
Please suggest me a solution for this problem. I am using vs2005
Mobile Web form
adaptive rendering mobile device nokia
Mobile Web Forms Visual Studio 2003
Mobile Web Forms
Mobile controls asp.net httpbrowsercapabilities ismobiledevice
MobileOptimized desktop layout mobile
mobile device asp link buttons