3

I want to try load a private webpage in uiwebview. When I try to open it from the native Safari app on my iPhone, everything works well.

But when I try to open in uiwebvie, the buttons on the webpage doesn't work. Buttons are as follows

<a class="actionButtonWithoutImg" href="javascript:__doPostBack('','')">Edit</a>

Do you have any idea ?

Verbeia
  • 4,400
  • 2
  • 23
  • 44
ak_
  • 647
  • 1
  • 7
  • 9
  • 1
    Please provide the rest of the markup on the page if possible. is `__doPostBack('','')` defined in the file you are loading? is it loaded from an external js file? also i would recommend you mark up those links in this manner: `link` – Ben Dec 17 '11 at 09:52
  • 1
    Thank You Ben. Javascript is not defined in external file. But i tried in another page `link` and `href="javascript:__doPostBack('','')"` both of them are working. I don't understand the problem... – ak_ Dec 17 '11 at 10:58
  • so is the problem solved from that change..? – Ben Dec 17 '11 at 13:16
  • Unfortunately. I'm working on it. Not solved. – ak_ Dec 18 '11 at 21:31
  • Are you using ASP.NET? See this: http://stackoverflow.com/questions/7275695/uiwebview-and-iphone-content-does-not-postback-asp-net-browser-capability-issue – Witt Feb 03 '12 at 05:00

0 Answers0