Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

page-level vs control-level enableViewState

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe - 26 Oct 2005 19:29 GMT
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 page-level enableViewState property affect the
control's enableViewState property?

I am trying to understand this result: when I have the page's
enableViewState turned off and the control's enableViewState turned on, the
ItemCommand event never fires whereas if the page's enableViewState property
is turned on, the ItemCommand event does fire.

Does anyone understadn this?

TIA,
Signature

Joe

VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation

S. Justin Gengo - 26 Oct 2005 19:52 GMT
Joe,

Yes, if you turn off viewstate for a page it is also turned off for every
control placed on the page no matter what the control itself is set to.

Signature

Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
                           Nietzsche

> Hello all:
>
[quoted text clipped - 14 lines]
>
> TIA,
Joe - 26 Oct 2005 19:59 GMT
Justin,

Thank you very much.

Signature

Joe

VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation

> Joe,
>
[quoted text clipped - 19 lines]
> >
> > TIA,
S. Justin Gengo - 26 Oct 2005 20:14 GMT
Joe,

Anytime.

Signature

Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
                           Nietzsche

> Justin,
>
[quoted text clipped - 24 lines]
>> >
>> > TIA,

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.