Controls on your webforms all have an ID, like TextBox1 , LinkButtonAdd , etc. This ID is not the internal Id used by ASP.NET. In case you have a datagrid with multiple rows, each having a Select link button you would have a problem. In case you have a web usercontrol on your page with a Button1 on it...