Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
Page_Load(
object
sender, EventArgs e)
{
//acceesing the anchor tage in the content page
HtmlAnchor anchortag=(HtmlAnchor)
this
.Master.FindControl(
"anchor1"
);
//assigning click event for the anchor tag
anchortag.ServerClick +=
new
EventHandler(anchortag_ServerClick);
}
anchortag_ServerClick(
//confirm alert
Page.ClientScript.RegisterStartupScript(
.GetType(),
"confirmDelete"
,
"confirm('Are you sure you want to delete this?');"
true