This is a migrated thread and some comments may be shown as answers.

a few questions

3 Answers 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rayne
Top achievements
Rank 1
Rayne asked on 27 Jul 2012, 06:38 PM
New user here trying to figure things out. I understand how remote views work, but I have a question. What happens if a user arrives at a secondary page without going home first? 

A user comes to our submission page via direct link on another site. They fill in the info, submit the form. Once our staff process the information they provided, they get an automated email response with a link that takes them directly to another page on the site (which requires a querystring parameter).

How do I make this work so that it doesn't matter which page they hit first? 

Also, is there a way to have a multi-select control where a user can select more than one option?

3 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 30 Jul 2012, 09:21 AM
Hi Rayne,

Up to your first question: The scenario you describe is working out of the box. 
As per your second question: You can take a look at our multi-select demo here: 

http://demos.kendoui.com/mobile/forms/checkboxes.html 

Kind regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Rayne
Top achievements
Rank 1
answered on 30 Jul 2012, 01:32 PM
Thanks. But I'm still a bit confused. 

In the docs, it mentions that km won't look at the header content. it will find the first data role view and ignore the rest of the page for remote views, so there is no need to have all the script tags, etc on the remote view. That's great, if you've loaded the first page, then click a link. But if I go to that page directly, it doesn't work, since there are no script tags, etc on the page. How do I make that work?

Say I have two pages, search.aspx and submit.aspx. I want to be able to type www.domain.com/submit.aspx and go to that page, or type www.domain.com/search.aspx and go to that page. Right now, you have to go to index.aspx then click a link to get to the other page if you want the mobile layout to work.

Do I need to add all the script stuff (and defined layouts) to every page, just in case?
0
Petyo
Telerik team
answered on 30 Jul 2012, 03:57 PM
Hello,

If the mobile application is the only means to navigate to the remote page in question, than its URL will not be www.domain.com/search.aspx, but www.domain.com/submit.aspx#search.aspx - which, upon load, will instantiate the mobile application correctly, and load the corresponding remote mobile view. 

I think that if you provide the URL from the mobile application in your email messages (for example), you should be good to go. 

Hope this helps,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Rayne
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Rayne
Top achievements
Rank 1
Share this question
or