Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

if you disable view state of a textbox will it maintain
data during postbacks.if yes reason

Answer Posted / raja

yes, u will get the value displayed even u disabled ViewState
I used RAJNEESH answer and concept of ans:5.Take a textbox
In load event
if (!IsPostBack)
{
txtFirst.Text = "Initial";
}
and in form
make txtFirst as enableviewstate=false,Text="Final";
if you execute it. It displays as Initial only as this is
-------
having read/write property.

but if u make readonly="true" to txtFirst then it displays
as Final
-------

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is asp short for?

1009


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

2032


What is AutoEventWireup attribute for ?

1025


What is owin authentication?

974


What is view state management in asp net?

908


What is web configuration file and how to use in web application

1021


What are the new data controls in asp.net 2.0?

972


What is difference between asp.net and asp.net mvc? : Asp.Net MVC

1061


What is state management react?

1038


What is rich control in asp.net?

1025


Where is cookie used in asp.net?

1103


What are assemblies and namespaces and explain the difference between them ?

1092


What are the advantages and disadvantages of session?

1130


How would you create a permanent cookie?

1045


How will you load dynamic assembly? How will create assesblies at run time?

929