Dear Faraz,
   
    First i say thanks to your response. I can also use the session but the 
problem is large amount of resource is took from the server side. The reason 
behind here is we plan to create the dynamic controls so each web page may 
contained so many objects (like textbox,button,etc) so that only i fear about 
the server side resource. Not only that if number of user is increass 
occordingly the the server side resource also increass. because of that reason 
only we plan to store the controls into the viewstate(client side).
   
  Have a great day.
   
  Thanks 
  Regards
  H.Ashok
   
   
  Faraz Shah Khan <[EMAIL PROTECTED]> wrote:
  Hi Ashok,

If you just want to store the data of the text box view state should solve your 
problem. but if you want the same text box to be stored and reused, then why 
don't u just save the object in a session variable and restore it on the page 
load event like this.

///// Before post back
Session["TextBox"]=objTextBox;

///// On load event after post back
TextBox objTextBox = (TextBox) Session["TextBox"];

i hope it will solve your problem.

Thanks and best regards,
Faraz Shah Khan.


----- Original Message ----
From: Ashok Hari 
To: [email protected]
Sent: Monday, September 25, 2006 2:18:15 PM
Subject: MCSD Dot Net: Plz Help me. it's very urgent

Dear All,

I am develop the ASP.NET webpage. In that i face one very big problem. please 
guide me how to solve the problem. My problem is i want to Searialized Textbox 
object and save it in the ViewState. when page is postback that time i want to 
desearialized textbox which is already exist from the ViewState and load into 
the same asp page instead of create a new textbox.

Plz help me it's very urgent.

Regards
H.Ashok











Yahoo! Groups Links












                                
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AccessVBACentral/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AccessVBACentral/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to