Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a variable int id.
I want autogenerated in front end only, that means I don't want to give values every time that only will take auto updating.
Is it possible?

Thanks & Regards,
Ravi
Posted
Updated 5-Jan-11 1:34am
v2

Store it in view state and reassign view state value to the variable on page load



Accept the answer if found useful :)
 
Share this answer
 
Yes.

Store the variable in view state and reassign view state value to the variable on page load.
 
Share this answer
 
Comments
Sandesh M Patil 5-Jan-11 7:35am    
Buddy i already answer the same solution :|
Kasson 5-Jan-11 7:38am    
Dude i didn't notice your solution. I read the question and i am doing it in my solution and before typing you have given the answer.
Sandesh M Patil 5-Jan-11 7:43am    
Anyway i was not downvoting you

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