0
Vote

Build Warning(s) in Default.aspx.cs

description

This is the problem:
Page.RegisterClientScriptBlock("", scriptToAttachToClientSideButtonClick(localSearchResult.SelectedRow, contactImportedGuid).Replace("javascript:", "<script language=JavaScript>")+"</script>");
 
Difficult to maintain, working on a prayer and a wisper

comments

wrote Apr 22, 2008 at 12:13 PM

Description: 'System.Web.UI.Page.RegisterClientScriptBlock(string, string)' is obsolete: 'The recommended alternative is ClientScript.RegisterClientScriptBlock(Type type, string key, string script). http://go.microsoft.com/fwlink/?linkid=14202'
File: C:\Users\Rihan.Rihan-PC\Documents\Visual Studio 2008\Projects\Kalahari\HelpdeskServices\Default.aspx.cs
Line: 85
Column: 17
Project: HelpdeskServices

wrote Feb 1, 2013 at 4:47 AM