Questions tagged [pass-data]
252 questions
4
votes
2 answers
How to pass data in reactjs using typescript
How to pass object to child component in reactjs using tsx. I'm geting this error when I tried this way. Where I can declare the type?
Property 'value' does not exist on type 'IntrinsicAttributes &…

SKL
- 1,243
- 4
- 32
- 53
4
votes
2 answers
Facebook iFrame application: How to pass data from URL Query String
I have a Facebook application that has a picture gallery. It's build in Flex 4.
I want to allow users to link to a specific image.
How can that be done?
The only way I see this being done is adding a GET var like &my_picture=asd.jpg in the Facebook…

Francisc
- 77,430
- 63
- 180
- 276
4
votes
3 answers
iOS SWRevealViewController - pass data between controllers
I am using SWRevealViewController to implement a slide menu (from the left side) in my application. Everything is working fine but now I am facing a little problem.I want to pass data from my "main" view controller (the one that is full visible, and…

user3466562
- 465
- 2
- 10
- 23
3
votes
2 answers
angularjs Pass data has list data
I want to pass data what has list of child like here
{
id : 1,
title : 'test',
childs : [
{ id : 1, name: 'name1' },
{ id : 2, name: 'name2' },
{ id : 3, name: 'name3' }]
}
I want it pass to web api controller
public…

Hadi Jahangiri
- 119
- 11
3
votes
2 answers
How can I pass data from parent to child view?
I have a container view, which uses a storyboard embed segue to load an embedded static table view. The segue ID is 'CONTAINER'.
When I run the following code, the prepareForSegue never actually gets called so no data is passed from the parent to…

Andy A
- 236
- 3
- 12
3
votes
4 answers
Pass array from controller to view - Codeigniter
I tried to print the array in the controller, before passing it to a view and this is the output
Array ( [annunci] => Array ( [0] => stdClass Object ( [EmailDatore] => you@welcom.it [Nome] => asdasd [Cognome] => asdas [IdAnnuncio] => 9 [Titolo] =>…

Raffaele Izzia
- 242
- 1
- 3
- 14
2
votes
0 answers
Pass data between two components in web component
How to pass data between two components in a web component?
I can't pass the selectedIndex from the parent select to the child component (converter-input) And then show the desired array according to selectedIndex...
index.html
...
…

fatemeh garshasbi
- 21
- 2
2
votes
2 answers
pass model data between razor pages
I try pass model data between two Razor pages, data is not string or bool or int
data that i want pass to second page is a model,
i do taht with this way,
public class AskLibrarian
{
public int Id { get; set; }
public string FullName { get;…

sunny
- 2,670
- 5
- 24
- 39
2
votes
3 answers
How to pass main and partial views values to the controller when different models are involved?
Original Question:
This might be a simple thing to do but I have been looking for it for more than 30 hrs by now and couldn't find any suitable answer that works for me (tried a tons of ways as well).
So, what I am trying to achieve is that I have…

Elsa K.
- 42
- 1
- 9
2
votes
2 answers
Unexpectedly found nil while unwrapping an Optional value when passing data backward
I have learned Swift and Xcode for about 3 weeks and I am doing an Todo App just for practice. But when I was trying to add new item to my todo list the error occurred saying that "Unexpectedly found nil while unwrapping an Optional value".
I have…

Bad Son
- 131
- 2
- 16
2
votes
2 answers
Angular 7 - Access dynamic property of child from parent component
So I've very recently started with Angular development, and there's something that I'm totally missing. I have a basic app set up with app.component.html as follows:
with app.component.ts…
{{ routeTitle }}

maGz
- 787
- 3
- 8
- 25
2
votes
1 answer
Can I only load a viewcontroller once?
I made a table view with a city list. When I select a city cell, it will pass the city name and show the city's weather forecast by using segue in storyboard. However, every time it seems it will create a new viewcontroller. But I don't want it…

Penny Chen
- 79
- 1
- 10
2
votes
3 answers
Getting data from json once and use it in 3 fragment
I am getting the data from JSON using volley, there is 3 Fragment in Activity which I have to populate these fragments with the data that I have received from JSON in MainActivity. I would like to get data from JSON once and use it in Activity and…

Davoud
- 2,576
- 1
- 32
- 53
2
votes
0 answers
Pass data in UIPageViewController Swipe
I am currently developping a fantasy football application. This is below a part of my storyboard ; . I am using a container view embedded in a boarding pager (UIPageViewController) wich is used to swipe between two sceens "CreateTeamOne" and…

Aymen BRomdhane
- 143
- 1
- 14
2
votes
1 answer
C# MVC No submit pass object between views
I am sorry for my typos.I am working on proof of concept C# ASP.NET MVC application where I need to pass data between two views when there is no post and get. One view launches a modal dialog and I need communication between them. We are using…

Ziggler
- 3,361
- 3
- 43
- 61