This question is locked. New answers and comments are not allowed.
how can i get the url parameter in a view?
I've got a view with a list of Persons (template):
as you can see i want to open the view "showPerson-view" with the id of this Person.
how can i access this Id in the view "showPerson-view"?
Is this even possible?
I've got a view with a list of Persons (template):
<
ul
data-role
=
"listview"
data-bind
=
"source:dataSource"
data-style
=
"inset"
data-template
=
"person-template"
>
</
ul
>
<
script
id
=
"person-template"
type
=
"text/x-kendo-template"
>
<
a
href
=
"\#showPerson-view?id=#: Id #"
>
<
div
class
=
"name"
>#: name #</
div
>
<
div
class
=
"surname"
>#: birthday #</
div
>
<
div
class
=
"phone"
>#: gifts #</
div
>
</
a
>
</
script
>
as you can see i want to open the view "showPerson-view" with the id of this Person.
how can i access this Id in the view "showPerson-view"?
Is this even possible?