title: ASP.Net - need to click a button from the code-behind so I can pop an error message
body: <p>Inherited an asp.net 3.5  C# site. Main page has a control in it that has a datagrid-if the user fails to put a file name and hits 'update', it's wrong-they have to supply a file name. They also have some custom business logic that I nicely have in the code behind. Any of these could mean the user needs to see an error at which point I cancel out of the SqlDataSource update, thus, reverting the grid back to its original value, fine...however, if I put an error message up in a text box(already did that), now, the user is staring at an error msg...I'd rather pop up a warning / error, and then it's all fixed.</p>
  
  <p>SO.....I have the error in a hiddenfield...now, how can I force a click of a hidden button so I can alert the client?</p>