Asif, Does your form tag have the attribute runat="server" In the tag; it is not there in the output. I ask because it looks like your trying to use a post back event on a button which I believe will only work from an ASP. Net Web Form, someone correct me if I'm wrong. Robert