How to enable frames in web mobile application?

Discussion in 'ASP .Net Mobile' started by Roman O, Nov 18, 2004.

  1. Roman O

    Roman O Guest

    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!
     
    Roman O, Nov 18, 2004
    #1
    1. Advertisements

  2. Roman O

    Roman O Guest

    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.
     
    Roman O, Nov 19, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Patrick
    Replies:
    1
    Views:
    947
  2. Stephan
    Replies:
    0
    Views:
    543
    Stephan
    Jul 29, 2003
  3. Zahoor
    Replies:
    1
    Views:
    997
    Darryl L. Pierce
    Nov 15, 2003
  4. Ernie Sty
    Replies:
    5
    Views:
    2,468
    Ernie Sty
    Oct 2, 2004
  5. =?Utf-8?B?QWxleCBNYWdoZW4=?=

    Non "mobile" controls on Mobile ASPX

    =?Utf-8?B?QWxleCBNYWdoZW4=?=, Aug 17, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    902
    Steven Cheng[MSFT]
    Aug 20, 2007
  6. chen selina
    Replies:
    0
    Views:
    1,634
    chen selina
    Jul 13, 2010
  7. Rohit
    Replies:
    0
    Views:
    266
    Rohit
    Mar 12, 2006
  8. Nitin

    Web Enable an MFC application

    Nitin, Nov 14, 2003, in forum: ASP General
    Replies:
    1
    Views:
    196
    Mark Schupp
    Nov 15, 2003
Loading...