Question: I am new to mvc5,
i want to use the value of text box from login view in different action in the same controller,
all the example i seen take the value to one action using BeginForm()
is there is any way to do that?

the login view:
[![enter image description here](https://i.stack.imgur.com/aIbGe.png)](https://i.stack.imgur.com/aIbGe.png)

and i want to perform this action:

[![enter image description here](https://i.stack.imgur.com/ZBQeY.png)](https://i.stack.imgur.com/ZBQeY.png)

I am try to use TempData but it return empty page

[1](https://i.stack.imgur.com/aIbGe.png):

Answer: 
The page you link to is only about having a specific page for the auto upload settings within an app. It doesn't do the automatic uploading for you.

That list was only in WP8 and is not in Windows10 so you can't be added to a list that doesn't exist.

To do the uploading you should look at the Background Transfer API. Specifically the [BackgroundUploader class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.backgroundtransfer.backgrounduploader.aspx).  

There's even a [sample](https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61). (sample is for Win8.1 but should work with minimal modification.)

**update - based on coments**  

I don't know how Dropbox do it (they may have special privileges not available to every developer) but you could create the functionality to upload newly taken photos by having a background task based on a timed event that checks for new files in the [camera roll](https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.knownfolders.cameraroll.aspx) and uploads any it finds.
this feature is only supported by Silverlight app model, not Universal Windows Platform model.
You might want to use the OneDrive SDK to upload your photo/video to the Cloud <https://github.com/onedrive/onedrive-sdk-csharp>