Show web user control hidden

see07

Regular
Joined
Apr 16, 2004
Messages
78
Location
Mexico City
Hello:
I have a web form, which contains 2 web user controls embedded in it.
First web user control contains a button, which when be pressed I need 2nd web user control be showed (this 2º web user control has property visible = false).
I don’t found the way to attain when user push button in 1st. web user control, property visible of 2nd web user control be place to true, and thus it be showed.
I’ll thank you in advance if you’ll be able to help me.
A.L.
 
Yes Sean...
At last I found the way to do it, I share it, and it may be useful for you:
The web user control to show is inside a panel, visibility of panel can change as I do trough JavaScript functions.

function esconde()
{
document.getElementById('Panel1').style.visibility = "hidden";
}
function muestraX()
{
document.getElementById('Panel1').style.visibility = "visible";
}

I hope this be useful.

A.L.
 
Back
Top