Thank you for your reply.
I don't know how to accomplish the placeholder trick, or even what you mean,
being new to ASP.Net.
I attempted to do the Visible trick, but it didn't want to work. Here is a
what I did as part of my table:
<td>
<br>
<asp:Button id=register name=register runat=server Text=register
CausesValidation=False OnClick=register_Click></asp:Button>
<% if( TTUser.UsersExist() == 0 )
{
register.Visible = false;
}
%>
I know the function is being called and returning a zero. I don't get any
errors, but the button stays visible. Any thoughts?
Tim
"Peter Morris" <pe**@removethisbit.droopyeyes.com> wrote in message
news:uI**************@TK2MSFTNGP10.phx.gbl...
You could use a placeholder, and then create the button + add it to the
placeholder's controls. Or you could always create the button, and just
set its Visible property.
--
Pete
====
Audio compression components, DIB graphics controls, FastStrings
http://www.droopyeyes.com
Read or write articles on just about anything
http://www.HowToDoThings.com