[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

How to enable frames in web mobile application?

Roman O

11/18/2004 3:52:00 PM

Hello.

I can insert <frameset> and <frame> tags using devicespecific filter and
<asp:xml> control. But they're situated within <body> tag and browser ignore
them.

Is another way to insert frame tags or how to remove <body> tag?

Thanks!


1 Answer

Roman O

11/19/2004 6:47:00 AM

0

OK! I''ve just solved this problem!
Use <mobile:devicespecific> and <scripttemplate>. Following code
demonstrates it:
<mobile:DeviceSpecific id="DeviceSpecific1" runat="server">
<choice filter="isHTML32"
xmlns="http://schemas.microsoft.com/mobile/html32template...
<scripttemplate>
<frameset border="0" rows="*,20">
<frame src="Content.aspx" scrolling="auto"
name="Content"></frame>
<frame src="Navigation.aspx" scrolling="no"></frame>
</frameset>
</scripttemplate>
</choice>
</mobile:DeviceSpecific>

Best regards, Roman Ogolikhin.