[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

Can not use javascript on mobile ASP.NET ?

ryanp

8/22/2003 4:06:00 PM

I understand I can use an older version on javascript with asp.net
mobile. My problem is I can't get javascript to appear at all. If
someone can look at my code piece below and tell me why this doesnt
appear, I would appreciate it.

<mobile:Form id="FormControl1" runat="server">
<mobile:Panel id="PanelControl1" runat="server">
<mobile:DeviceSpecific id="DeviceSpecificControl" runat="server">
<Choice Filter="isHTML32">
<ScriptTemplate>
<script language="Javascript">
<!--
function foo() { alert("javascript works"); }
// -->
</script>
</ScriptTemplate>
1 Answer

ryanp

9/2/2003 1:46:00 PM

0

I was able to get jscript/javascript working if I added the script
inside the contenttemplate rather than the script template. If anyone
has an explaination I would like to here it.

thanks