Monday, 18 October 2010

Add confirm box on button click using C#

public static void ButtonAddConfirmation (WebControl control,string message )
{
control.Attributes.Add("onclick","if (confirm('" +message +"')){}else {return false}");
}

Share:

2 comments:

  1. Se trata de un Blog. in Super encanta simple past content here.you es grande.

    ReplyDelete