Click here to Skip to main content
15,897,891 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Search Engine Optimization Pin
jhnsmith97828-Jan-10 0:46
jhnsmith97828-Jan-10 0:46 
QuestionAccessing code behind method ( of C#) from a javascripts method. Pin
Shahdat Hosain22-Jul-09 17:21
Shahdat Hosain22-Jul-09 17:21 
AnswerRe: Accessing code behind method ( of C#) from a javascripts method. Pin
N a v a n e e t h22-Jul-09 17:23
N a v a n e e t h22-Jul-09 17:23 
AnswerRe: Accessing code behind method ( of C#) from a javascripts method. Pin
Christian Graus22-Jul-09 17:24
protectorChristian Graus22-Jul-09 17:24 
QuestionNested Gridview with UpdatePanel Pin
C#Coudou22-Jul-09 15:18
C#Coudou22-Jul-09 15:18 
QuestionViewstateEnabled=False Pin
Elena200622-Jul-09 14:39
Elena200622-Jul-09 14:39 
AnswerRe: ViewstateEnabled=False Pin
Christian Graus22-Jul-09 15:13
protectorChristian Graus22-Jul-09 15:13 
AnswerRe: ViewstateEnabled=False Pin
N a v a n e e t h22-Jul-09 15:38
N a v a n e e t h22-Jul-09 15:38 
Elena2006 wrote:
The value is displaying in TextBox2 as well as it didn't remove from TextBox1 also even if both the textboxes ViewstateEnabled=False. What is the reason?


Well, the value you are seeing in text box are not loaded from viewstate. It will be loaded from the post back data. When you press the button, all the control values in the form will be send to server. When page renders, ASP.NET is capable to assign the values back to each controls correctly.

To see viewstate in action here, consider changing some properties of text box in page_load event. When viewstate is disabled for text box, you can see the changed property details are not persisting across post backs.

Smile | :)


AnswerRe: ViewstateEnabled=False Pin
Abhijit Jana22-Jul-09 20:06
professionalAbhijit Jana22-Jul-09 20:06 
QuestionASP session in ASP.NET page Pin
Elena200622-Jul-09 14:38
Elena200622-Jul-09 14:38 
AnswerRe: ASP session in ASP.NET page Pin
Christian Graus22-Jul-09 15:12
protectorChristian Graus22-Jul-09 15:12 
AnswerRe: ASP session in ASP.NET page Pin
N a v a n e e t h22-Jul-09 15:40
N a v a n e e t h22-Jul-09 15:40 
AnswerSTOP FLOODING THE FORUM.... Pin
leckey22-Jul-09 16:49
leckey22-Jul-09 16:49 
QuestionDifferent server file access Pin
Elena200622-Jul-09 14:36
Elena200622-Jul-09 14:36 
AnswerRe: Different server file access Pin
Christian Graus22-Jul-09 15:14
protectorChristian Graus22-Jul-09 15:14 
QuestionHow to secure web.config file Pin
Elena200622-Jul-09 14:17
Elena200622-Jul-09 14:17 
AnswerRe: How to secure web.config file Pin
Christian Graus22-Jul-09 15:14
protectorChristian Graus22-Jul-09 15:14 
JokeRe: How to secure web.config file Pin
N a v a n e e t h22-Jul-09 15:42
N a v a n e e t h22-Jul-09 15:42 
GeneralRe: How to secure web.config file Pin
Christian Graus22-Jul-09 16:19
protectorChristian Graus22-Jul-09 16:19 
QuestionWeb.config file modified Pin
Elena200622-Jul-09 14:14
Elena200622-Jul-09 14:14 
AnswerRe: Web.config file modified Pin
Christian Graus22-Jul-09 15:14
protectorChristian Graus22-Jul-09 15:14 
AnswerRe: Web.config file modified Pin
N a v a n e e t h22-Jul-09 15:44
N a v a n e e t h22-Jul-09 15:44 
AnswerRe: Web.config file modified Pin
koolprasad200322-Jul-09 21:17
professionalkoolprasad200322-Jul-09 21:17 
QuestionTextBox event handling inside a datalist on a WebForm Pin
MacIntyre22-Jul-09 13:17
MacIntyre22-Jul-09 13:17 
AnswerRe: TextBox event handling inside a datalist on a WebForm Pin
Herman<T>.Instance22-Jul-09 23:12
Herman<T>.Instance22-Jul-09 23:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.