Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / October 2004

Tip: Looking for answers? Try searching our database.

Spash page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sara T. - 16 Oct 2004 14:40 GMT
How can I create spash screen page?

I mean user will see test1.aspx page for a while (5 second) and then
redirect to the other page i.e. test1.aspx automatically.

I thought it could be easily if it is a WebForm, not a MobileForm.
JuanDG - 19 Oct 2004 18:20 GMT
I think you mean Splash instead of spash.....(Typo??)

Anyways there's an easy way to do this in mobile web forms (easier than the
JavaScript used for this in web forms).

Since it's a splash screen you won't be needing any fancy ASP.NET features
so you don't have to use a mobile web form, instead you can use plain WML.

let's say you'll call your splash screen "splash.wml" the code you'll put in
it will be something like this:

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>

<card id="Splash" title="Welcome!" ontimer="Index.aspx">
<timer value="xxx"/>

<p>
Welcome to my Mobile Site!.
</p>
</card>

</wml>

The trick is the "ontimer" property of the "card" element and the "timer"
element inside the card, in the "value" property xxx is the number of
seconds you want the splash screen to be displayed.

It works fine if you're aiming for WAP devices, if you're not, let me know
and we'll work something in xhtml-mp.

--

Juan David Gomez A.
Microsoft Certified Professional
Analista de Desarrollo - PSL S.A.
Web and Wireless Banking
Medellin - Colombia

> How can I create spash screen page?
>
> I mean user will see test1.aspx page for a while (5 second) and then
> redirect to the other page i.e. test1.aspx automatically.
>
> I thought it could be easily if it is a WebForm, not a MobileForm.
Sara T. - 20 Oct 2004 00:11 GMT
Thanks a lot for your help.

But the code is in WML, could you have any coding in ASP.NET with using
mobile controls.
Because I still so not know how can I insert some WML script or WML code to
ASP.NET.

Best Regards,
Sara T.

> I think you mean Splash instead of spash.....(Typo??)
>
[quoted text clipped - 37 lines]
> Web and Wireless Banking
> Medellin - Colombia
JuanDG - 25 Oct 2004 16:12 GMT
You don't have to insert WML code into ASP.NET!!!!!

Simply save the code I gave you in a *.wml file, the file will automatically
redirect the user after a few seconds to your *.aspx file

if you want to build your splash page in the .NET IDE you can do a little
trick by constructing the page there and then viewing it in an emulator,
like Openwave and viewing the wml output generated (in Openwave go to view
menu then click Source) and copy this output into a *.wml file, add the
timer code I showed you and you'll have your splash page.

--

Juan David Gomez A.
Microsoft Certified Professional
Analista de Desarrollo - PSL S.A.
Web and Wireless Banking
Medellin - Colombia

> Thanks a lot for your help.
>
[quoted text clipped - 53 lines]
>> Web and Wireless Banking
>> Medellin - Colombia

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.