Click here to Skip to main content
16,016,736 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to pass a value from one view to another using a multiview control?
i am getting the value from a textbox in view1 and have to use in view3,but i am getting null value..
Please help me.
Posted
Updated 19-Nov-11 1:20am
v3
Comments
Amir Mahfoozi 19-Nov-11 7:27am    
I think there is no need to do something special to access another view members when we are in another view. So please provide your multiview code and also code behind that caused the error. Thanks.
surendiranm 19-Nov-11 8:00am    
thanks amir...can you be more brief on this?

actually u r question i not complete.
you can use a static global variable

then u can assign a value in view1 n fetch data in view2 . but it works in same page . if u want data from one page to another u can use session or get set properity
 
Share this answer
 
Comments
surendiranm 19-Nov-11 8:10am    
thanks arunrv...i got it through session it worked..
There are a number of ways to pass values from one page to another. Check out this article[^] - a number of approaches are discussed here.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900