MetalAsp.Net:Remove it as the CancelControlID and you'll be set.
I agree with MetalAsp.Net and I want to extend his answer that you need to hide that modal manually from your code either by calling:
yourmodalpopup.Hide();
or
using Javascript:
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "hideModal", "$find('" + yourmodal.ClientID + "').hide();", true);
Best Regards,
Ala'a Alnajjar
----------------------------------------------------
Please remember to click “Mark as Answer” on the post(s) of the member(s) that help(s) you even if they were for the same person.
Also remember to close the thread by selecting “Resolved”,you will find it in your first post.
Convert C# to VB.net and visa versusMy Webblog