CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.

YesSoftware Forums -> CodeCharge Studio -> PHP

 Hide - show an Image link

Print topic Send  topic

Author Message

Posts: 12
Posted: 07/27/2016, 9:56 AM

In my grid I have the the textbox1 and the imagelink1
I wanna keep hiden the imagelink1 if textbox1=0
Any help?
Thanks in advance!

View profile  Send private message

Posts: 735
Posted: 07/27/2016, 10:18 AM

Put a Panel around the image link and in beforeshow code test for Textbox value and if it is 0 then hide the panel otherwise show the panel.
if (Textbox1->GetValue() == 0)
Panel1->Visible = false;
Panel1->Visible = true;
View profile  Send private message

Posts: 513
Posted: 07/31/2016, 7:23 AM

You should also be able to do without the Panel. Similar code in the link BeforeShow event. Remember to change the Visible property in the Properties window or it might override your setting. Use Dynamic.


CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message

Posts: 12
Posted: 07/31/2016, 12:12 PM

it works!!
Thank you!!!
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

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

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