Monday, October 18, 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}");
}

2 comments :

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

    ReplyDelete

AJAX, asp, Asp.net, asp.net and sql server security, Asp.net IntemIndex, C#, Css, DataBinder.Eval, DataKeyNames, Datalist, Datapager, DataSet, DataTable, DropDownList, FindControl, gridview, JavaScript, jquery, Listview, Paging, Regex, RegularExpression, Repeater, Server side validation, Sql Server, timer, timercallback, Validation, XML, xmlnode, XPath