Passing Data Between Pages
-
Hi Experts, I want to pass the data from first.aspx page to Third.aspx.....however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx.... I KNOW ONLY THE PREVIOUS PAGE PROPERTY...
Sharing Of Knowledge Provides Solution....
-
Hi Experts, I want to pass the data from first.aspx page to Third.aspx.....however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx.... I KNOW ONLY THE PREVIOUS PAGE PROPERTY...
Sharing Of Knowledge Provides Solution....
You can pass values on the URL, or place them in the session. You can also make all your 'pages' controls on the one page and let the values persist in viewstate.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Hi Experts, I want to pass the data from first.aspx page to Third.aspx.....however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx.... I KNOW ONLY THE PREVIOUS PAGE PROPERTY...
Sharing Of Knowledge Provides Solution....
Put in the
querystring
orHiddenField
to pass data during submit. The choice depends on how you call the page (GET / POST) ;)Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript -
Hi Experts, I want to pass the data from first.aspx page to Third.aspx.....however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx.... I KNOW ONLY THE PREVIOUS PAGE PROPERTY...
Sharing Of Knowledge Provides Solution....
rhtbhegade wrote:
however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx....
As suggesed by others, You can store the data inside Session Variable and can access any where from your application.
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Hi Experts, I want to pass the data from first.aspx page to Third.aspx.....however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx.... I KNOW ONLY THE PREVIOUS PAGE PROPERTY...
Sharing Of Knowledge Provides Solution....
I found this excellent article in the Code Project a little while ago. This explains all the above methods and more. Beginners Introduction to State Management Techniques in ASP.NET[^]