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

Reference fields on pageviews that are not currently selected in a tabstrip

1 Answer 31 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 18 Dec 2014, 05:06 PM
I have several different pageviews within a multipage control that is within a tabstrip. My first tab/pageview contains fields that the each of the following pageviews needs access to. This is a multi-step, complex form that is not saved until the last step so I need to know what the values of the fields are currently on the unsaved form instead of say pulling them from a database.

I can find no way to access the field values before the form is submitted. I cannot read the values client-side (using jQuery) for tabs/pageviews that are not active as the fields are not in the DOM.  I cannot get any data from the viewstate as it is encrypted no matter what my web.config says to the contrary.  I can get data from Request.Form, but only for the fields that are on the tab that immediately precedes the current one, not from the whole form.

Is there some shadow copy of the DOM that is persisting the data across page loads? Or, better yet, some way to access the current form field values sever-side when the page reloads? 
 
I cannot be the first person to encounter this issue....

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 23 Dec 2014, 12:42 PM
Hi Michael,

There is not shadow copy of the DOM. Probably content of the mutltipages is loaded inside iframes. Inspect the output html. Please paste your code.

Regards,
Hristo Valyavicharski
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TabStrip
Asked by
Michael
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or