473,395 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

EnableViewState

Hi,
My EnableViewState from my RadioButtonList doesn't work. I enabled the
PostBack but anyway it goes to the top of my WebForm when i click in a
radion, the EnabledViewState from my RadioButtonList is true. What should i
do ?
Nov 17 '05 #1
2 4751
Hi,

EnableViewState does not maintain the page position on post back, it
maintains the server side state of the objects at the time of rendering the
page, the page position is a client side attribute. A simple solution would
be to set SmartNavigation property to true. Note that the SmartNavigation
might cause other problems for you in which case you will have to revert to
using client side javascript to solve your problem.

Hope this helps

--
Chris Taylor
http://dotnetjunkies.com/weblog/chris.taylor

"Daniel Groh" <ne*********@gmail.com> wrote in message
news:uH**************@TK2MSFTNGP09.phx.gbl...
Hi,
My EnableViewState from my RadioButtonList doesn't work. I enabled the
PostBack but anyway it goes to the top of my WebForm when i click in a
radion, the EnabledViewState from my RadioButtonList is true. What should i do ?

Nov 17 '05 #2
Thank u so muchmi forgot about SmartNavigation, i've done a chaos with some
properties in ASP.Net

Thanks a lot!

--

Atenciosamente,

Daniel Groh
CTF Technologies do Brasil Ltda.
Analista Programador
Fone: 11 3837-4203
E-mail: dg***@ctf.com.br
"Chris Taylor" <ch*************@hotmail.com> escreveu na mensagem
news:eY*************@TK2MSFTNGP15.phx.gbl...
Hi,

EnableViewState does not maintain the page position on post back, it
maintains the server side state of the objects at the time of rendering
the
page, the page position is a client side attribute. A simple solution
would
be to set SmartNavigation property to true. Note that the SmartNavigation
might cause other problems for you in which case you will have to revert
to
using client side javascript to solve your problem.

Hope this helps

--
Chris Taylor
http://dotnetjunkies.com/weblog/chris.taylor

"Daniel Groh" <ne*********@gmail.com> wrote in message
news:uH**************@TK2MSFTNGP09.phx.gbl...
Hi,
My EnableViewState from my RadioButtonList doesn't work. I enabled the
PostBack but anyway it goes to the top of my WebForm when i click in a
radion, the EnabledViewState from my RadioButtonList is true. What should

i
do ?


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave Verwer | last post by:
Hi I have a problem which is easily reproducable using VS.NET 2003 and the .Net framework 1.1 (not tested with framework 1.0) regarding disabling ViewState for dynamically created controls. ...
1
by: Ravikanth[MVP] | last post by:
Hi Even though the Viewstate has been disabled, ASP.NET still uses about twenty bytes for Viewstate. Not only can you disable Viewstate at the page level, but you can also disable Viewstate...
1
by: Mike D | last post by:
This is becoming very painful to learn. I am going through a wrox book and trying the code. My aspx pages continue to come back with my selection highlighted. It looks like EnableViewState is...
7
by: Max Metral | last post by:
I have a Web.config in my application root dir with the following pages directive: <pages buffer="true" enableViewState="false" enableSessionState="false" enableViewStateMac="false"/> And...
5
by: JollyK | last post by:
Hello all, I have always been having this issue and wondering what the solution is. When I set the enableviewstate property to false for a textbox, the textbox always retains its value after a...
7
by: Brian Henry | last post by:
Hi, I want EnableViewState = false turned on to optimize the end output page (it was over 600KB with it on) but when i turn it off, our pageing functionality no longer works mainly the...
1
by: AC | last post by:
Hello, All Is it possible to set enableViewState='true' for single control on a page with enableViewState='false'. In particular I am interested in DropDownList, but neither using IDE to set...
3
by: Joe | last post by:
Hello all: From what I understand the ItemCommand, UpdateCommand, SortCommand, etc events for the datagrid require that the datagrid's enableVireState property is set to true. Does the...
7
by: Just D. | last post by:
Does anybody know any good solution to avoid this setting to be enabled? I guess Microsoft doesn't care of the Internet connection of the potential client working with asp.net. This EnableViewState...
1
by: Chris Peeters | last post by:
Hi, I have a listBox listed with colornames and a panelcontrol that takes the color of selecteditem from the listbox whenever I click a different item: protected void...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.