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.

Orubase for a Multi-Page MVC4 Web Application

Thread ID:

Created:

Updated:

Platform:

Replies:

105818 Nov 20,2012 09:03 AM Feb 11,2013 02:03 AM Orubase 16
loading
Tags: Orubase
Mijail O Tornes
Asked On November 20, 2012 09:03 AM

Hello,

My understanding from the video presentations is that Orubase offers native shell containers for MVC4 projects. Each one of them has to be locally compile for the target platform and will gain access to hardware resources using the JavaScript API.

Do you have a methodology to encapsulate existing multi-page, multi-project, MVC4 solutions using VS2010?

Thanks

Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On November 23, 2012 02:23 AM

Hi Mijail,
 
Thanks for your interest in Syncfusion Products
 
Could you please clarify your query with more details like, whether you want to convert the existing multiple page application into Orubase Application? So that we could resolve your requirements.
 
Please let us know if any clarifications
 
Regards,
Ponmalar P

Mijail O Tornes
Replied On November 30, 2012 09:06 AM

That's correct,
I'm referring to an existing multipage MVC 4 application that takes advantage of many of the Razor Engine's capabilities. 

Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On December 4, 2012 11:04 PM

Hi Mijail,

 

You  can use an existing MVC application with our Orubase apps generated by the wizard. Using our Orubase Wizard, generate multi tab projects for IOS, Android and WP7. Replace the URLs specified with an existing URLs you have.

 

Android: (MainActivity.java)

addTabItem("<Your URL>", "tab1", resource.getDrawable(R.drawable.tab1));

 

IOS: (DemoAppDelegate.m)

OrubaseClient *vc1=[[OrubaseClient alloc]initWithUrl:[NSURL URLWithString:@"<Your URL>"]];

 

WP7: (MainPage.xaml.cs)

mailclient.addPivotItem("tab1", "<Your URL>");

 

Please let us know if you have any queries.

 

Regards,

Ponmalar P


krishnaveni
Replied On December 26, 2012 08:03 AM

Hii,

    Your forums are very help full to me, But I have stucked with a problem. In my application I am using the tab web compnent like this  @Html.Orubase().Tab("tab_template").RenderMode(RenderMode.Auto).ContentPosition(Position.Top).Items(tabitem =>
{
    tabitem.Add().Text("Home").ActiveImageUrl(Url.Content("~/images/tab1_unselected.png"));
    tabitem.Add().Text("Search").ImageUrl(Url.Content("~/images/tab4_unselected.png"));
    tabitem.Add().Text("Messages").ImageUrl(Url.Content("~/images/tab3_unselected.png"));
    tabitem.Add().Text("Settings").ImageUrl(Url.Content("~/images/tab5_unselected.png"));
});
Now, I want the functionality: When I click on home tab it should go to the home page, how shall I give that?

Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On December 28, 2012 05:37 AM

Hi Krishnaveni,
 
To achieve your requirement you can use Tab’s “LoadAjaxContent” API which accepts action and controller name as parameters. This is used to load tab item content on demand.
 
Please find the below code snippet for your reference.
 
@{
Html.Orubase().Tab("tab_template").RenderMode(RenderMode.Auto).Items(tabitem =>
{
    tabitem.Add().Text("Home").ActiveImageUrl(Url.Content("~/images/tab1_unselected.png")).Content(@<div></div>);
    tabitem.Add().Text("Search").ImageUrl(Url.Content("~/images/tab4_unselected.png")).LoadAjaxContent("AjaxContent", "Home");
    tabitem.Add().Text("Messages").ImageUrl(Url.Content("~/images/tab3_unselected.png")).LoadAjaxContent("AjaxContent", "Home");
    tabitem.Add().Text("Settings").ImageUrl(Url.Content("~/images/tab5_unselected.png")).LoadAjaxContent("AjaxContent", "Home");
}).Render();
}
 
Please let us know if you have any further queries.
 
Regards,
Ponmalar P

krishnaveni
Replied On January 4, 2013 12:47 AM

Hi Ponmalar,

        Thank you for the post, that is working fine. Can you please provide me with a sample orubase application for playing, recording and uploading audiio and video files.

Thanks in advance,

krishnaveni.

Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On January 7, 2013 06:53 AM

Hi Krishnaveni,

 

Thanks for your patience

 

We have created the Orubase sample for recording and playing the audio and video. Please check the attachment for the sample.  

 

Please let us know if you have any queries

 

Regards,

Ponmalar P


AudioVideoUpload_c1c0f420.zip

krishnaveni
Replied On January 11, 2013 08:46 AM

Hi,

     I am using LoadAjaxContent for loading the tab contents that was working fine, I have a listview under a tab when i select a list item it is rendering another content and the tab is remaining, when I click on the back button of the emulator application gets quit, but what I want is that should go to the listview again.

Thanks in advance.

Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On January 14, 2013 05:56 AM

Hi Krishnaveni,

Sorry for the inconvenience caused.

We are analyzing about the " Back button is not allowing to move to the previous page" issue. We will update you about this in one business day ( 1/15/2013).

Please let us know if you have any queries.

Regards,

Ponmalar P


Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On January 15, 2013 03:41 AM

Hi Krishnaveni,

 

We are able to reproduce the "Back button is not allowing to move to the previous page" issue. We will fix this issue in any of our upcoming Orubase releases. We would request you to create incident in DirectTrac  for follow up.

 

Please let us know if you have any queries

 

Regards,

Ponmalar P


krishnaveni
Replied On January 21, 2013 12:54 AM

Hi,
 
        I have created the incident, I am very thank full for the replies. I need a sample application for uploading audio and video files which are already existed in the mobile gallery or sd card in to my application. I will be very thank full for any suggestions.
 
 

Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On January 22, 2013 12:24 AM

Hi Krishnaveni,

Currently we don't have support to "upload audio and video files which are already exists with the device memory or SD card". We will consider this as feature request. We will include this feature in any of our upcoming Orubase releases.

Please let us know if you have any queries

Regards,
Ponmalar P


krishnaveni
Replied On January 28, 2013 07:51 AM

Hi,

Back button is not allowing to move to the previous page
Is this issue solved, please suggest me any solution for this issue.

Thanks in advance.


Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On January 29, 2013 12:12 AM

Hi Krishnaveni,

 

We have considered the "Back button is not allowing to move to the previous page"  issue and it will be available in Vol 1, 2013 Orubase release.

 

Please let us know if you have any queries

 

Regards,

Ponmalar P


Mijail O Tornes
Replied On February 8, 2013 04:10 PM

Hello,

Is it possible to remove the tabs in the Orubase Android app?
I'll like to open only "http://mywebsite.com/".
Will the absence of the Tabs and Bar component affect the interface between the website and the Orubase components? 
Thanks

Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On February 11, 2013 02:03 AM

Hi Mijail,

 

Yes, We can load single URL without using Orubase Tab control in Android application. To load the given URL, you can use addhome method from Orubase as below,

 

Syntax:

addHome(Context context, String url);

 

Example:

addHome(this, http://mywebsite.com/);

 

for more details about addHome method, please refer the link : http://help.syncfusion.com/UG/orubase/Documents/addhomecontextcontextstringurl.htm

 

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.

;