How to get the ID of a control placed in HeaderTemplate of a wizard Control ?

sureshcd10

Regular
Joined
Dec 25, 2003
Messages
77
Hi,

How to get the ID of a control placed in HeaderTemplate of a wizard Control ?

I placed one Button control in the header template of a Wizard control.

Now how can I programatically get the id of button which is placed in header template ?

can you plz help me with this :confused:
 
Here is the answer

Button btnName = (Button)Wizard1.FindControl("HeaderContainer$Button");

This is working fine :)
 
Back
Top