We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Navigating native pages

Thread ID:

Created:

Updated:

Platform:

Replies:

108344 Apr 15,2013 09:20 AM Apr 17,2013 06:13 AM Orubase 2
loading
Tags: Orubase
Jeroen Heijster
Asked On April 15, 2013 09:20 AM

I was wondering if there is a way to go to another xaml/xml/whatever-it-is-for-ios page from a Orubase webpage. The flow I want in the app I am making is:

input screen (without pivots) -> result screen (with 2 pivots). (you can also see the attachment for this)

The only option I currently see is the web tab http://help.syncfusion.com/UG/orubase/Documents/tab.htm 

The problem with it is that it doesn't look as good as the native app would.

So I wonder, is it possible to navigate the phone page through the asp.net page?



pages_af3d6246.zip

Jeroen Heijster
Replied On April 16, 2013 03:50 AM

Not really sure why this was moved to Tools Mobile MVC since this was an Orubase question.


Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On April 17, 2013 06:13 AM

Hi Jeroen,

 

Thanks for your interest in Orubase.

 

For the query, "Navigation from webpage(without tab) to Tab page"

 

We can create an app for navigation from simple webpage to tab page from Orubase Project Wizard. For creating the project with "Login Page On", please follow the steps in this link http://help.syncfusion.com/UG/orubase/Documents/gettingstartedwithor.htm .  If you do not want login page, then you can change the layout of login page(Views/Account/LogOn.cshtml) in this created project.  To show Tabs page when submitting the form you have to redirect the page to View1.cshtml and add the following  in View1.cshtml page(Content of tab1 –Views/Home/ ).

 

<script type="text/javascript">

    $("div[data-role='page']").bind("pagebeforeshow", function () {

                                Orubase.Utility.getDeviceName();

     // For iOS

        if (Orubase.Utility.isIOSDevice())

            document.location = "iphone:AuthorizedUser";

    //For Android

        if (Orubase.Utility.getDeviceName() == "android")

            Android.ProcessJavaScript("AuthorizedUser", null, null);

//For WindowsPhone

        if (Orubase.Utility.getDeviceName() == OrubaseEnums.DEVICENAMES.WINDOWS_PHONE) {

            window.external.notify("wp7:AuthorizedUser");

        }

    });

</script>

 

For the query, "Why this was moved to Tools Mobile MVC?"

We regret the inconvenience caused, the product has been changed to Orubase now

 

Please let us know if you have any queries

 

Regards,

Ponmalar P


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;