Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 20th, 2006, 10:22 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default how to find the state of an html control

hi all..

I have a page that has a button that show and hide a gridview on user side (with a javascript). that work fine b/c the grid is wrapped in a div and the div is what I hide/show....
but now I need to know is the grid is visible or invisible.. since the grid is wrapped for asp is always visible..

I couldn find the div with findcontrols (maybe i do it wrong??)...

I try putting a textbox (asp textbox) and save the state there (like text) but I cann't put is invisible (since is not rendered and javascript doesn't find it)...

Anyone have any idea??

thanks in advance...

HTH

Gonzalo
__________________
HTH

Gonzalo


================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the
proof.
================================================== =========
 
Old July 20th, 2006, 01:44 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

solved... i checked all the grid items with j/s when i hide it...

so i always check all the items of the grid...

HTH

Gonzalo





Similar Threads
Thread Thread Starter Forum Replies Last Post
control state Tremmorkeep ASP.NET 2.0 Basics 1 September 3rd, 2007 08:42 PM
Saving control state to persistent medium nmahesh567 .NET Framework 2.0 0 June 17th, 2007 02:28 PM
Using Control State to save/load values VictorVictor ASP.NET 2.0 Professional 0 March 29th, 2007 03:14 PM
Converting an HTML Server Control to HTML Control gratisaccount ASP.NET 1.0 and 1.1 Basics 2 August 7th, 2006 12:29 AM
Session State|View State|Do I have other options? rockon ASP.NET 1.x and 2.0 Application Design 2 October 5th, 2005 07:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.