With in my login view I have some labels and a button with a onclick
event.
However when I click the button I can only access my controls by
declaring a new control and using the FindControl method of my
loginview as shown below. Is this really the best way to do it?
Label Label1 = (Label)LoginVie w1.FindControl( "Label1");
best regards
event.
However when I click the button I can only access my controls by
declaring a new control and using the FindControl method of my
loginview as shown below. Is this really the best way to do it?
Label Label1 = (Label)LoginVie w1.FindControl( "Label1");
best regards
Comment