Hi Dear, Fiest of all please calrify if you are using master page or any user control. I this is the case please try to find the exact id of the control from view source. You have not mentioned in which event you are handling this code. Please provide some clarification regarding this.
M
Mahesh Vaghela
@Mahesh Vaghela