C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




page Refreshment


Posted Date: 29 Aug 2008      Total Responses: 5

Posted By: Desigan       Member Level: Bronze     Points: 1


hi,How to refresh a page without clearing the textbox content??



Responses

Author: ANIL PANDEY    29 Aug 2008Member Level: DiamondRating:     Points: 1

Hi,


u have to store the Content Values in the Session or in the View State

u can enable the View state of the Control so that the value of the control can be preserve during the page refresh..


Thanks
Anil


Author: srikanthCh    29 Aug 2008Member Level: BronzeRating:     Points: 2
hi,
please check the view state propertie of text box as true.

u can retrive the values after post back.

thanks & regards
srikanthch


Author: D.Jeya kumar(JK)    29 Aug 2008Member Level: DiamondRating:     Points: 3
Hi,


By enabling the viewstate =true automatically on each post back it will maintain the textbox value in hidden textbox as encrypted value and after post back the value is again decrypted and it will be shown in the text box.

Otherwise store in session variable etc., after the post back you need to again fill the textbox using the session values

Regards
JK



Author: Swaminathan    31 Aug 2008Member Level: GoldRating:     Points: 3
To maintain the text box value after page is refreshed,

Set the view state property of your text box as true

If you want to use the same text box for different sessions, then set view state property of text box as false.



Author: Desigan    01 Sep 2008Member Level: BronzeRating:     Points: 1
Hi Thank u for giving this solution...

Regards,
Desigan.K


Post Reply
You must Sign In to post a response.
Next : TreeNode For Files And Folders
Previous : Preview of Selected file
Return to Discussion Forum
Post New Message
Category: Visual Studio

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

conference call definitions

Contact Us    Privacy Policy    Terms Of Use