I have a webview showing asp.net page. I cant set value asp.net label
or any control from andriod side by Javascript calling but if the page
is in html then i can set value to any html control. Does anybody know
why this problem occurred

Here is my code:

StringBuilder buf=new
StringBuilder("javascript:document.getElementById('lblStartTime').innerHTML='");
buf.append(mTimeDisplay);
buf.append("';");
webview.loadUrl(buf.toString());


And on aspx file:

<asp:Label ID="lblStartTime" runat="server" ClientIDMode="Static"
Text="00:00"></asp:Label>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to