CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Show Hide Buttons After Page Load

Print topic Send  topic

Author Message
dbanazek

Posts: 1
Posted: 08/29/2007, 8:56 AM

Hello,

I have a simple search form on my page. It has two buttons. "Search" and "Reset Data Grid." The "Reset Data Grid Button" should only be visible after the "Search" Button has been clicked.

To hide the "Reset Button" I set the visible property to False in the PageLoad event.

If Not IsPostBack Then
Dim PageData As PageDataProvider = New PageDataProvider()
PageData.FillItem(item)
Firm_InfoSearchShow()
NewGrid1Bind
Me.Firm_InfoSearchbtnReset.visible="false"
End If

However when I attempt to reset the Buttons visible property in the OnClick event for the Search Button, it doesn't work:

If CType(sender,Control).ID = "Firm_InfoSearchButton_DoSearch" Then
RedirectUrl = GetFirm_InfoSearchRedirectUrl("", "s_Name;s_Contact;s_SerialNo;s_Status;s_Phone")
EnableValidation = True
Me.Firm_InfoSearchbtnReset.visible="true"
End if

Has anyone here ever run into this problem? Does anyone have a solution to what I might be doing wrong?

Thanks
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.