TFS_ANTIGUO/SIGPC/wcfSigdd/AyAEM/Miscellaneous/CallJSFunctions.cs
kledezma 7fdadc4709 KLB
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C519
2021-01-22 15:05:35 +00:00

40 lines
977 B
C#

using System.Web.UI;
namespace AyAEM.ExceptionManagement.Miscellaneous
{
/// <summary>
/// Summary description for CallJSFunctions.
/// </summary>
public class CallJSFunctions
{
#region Constructors
public CallJSFunctions()
{
//
// TODO: Add constructor logic here
//
}
#endregion
#region Variables
//private StringBuilder stbScript = new StringBuilder("");
//private NameValueCollection appSettings = ConfigurationManager.AppSettings;
#endregion
#region Custom Methods
public void OpenWindow(System.Web.UI.Page pPage, string pStrExceptionCode)
{
//string webForm = appSettings["ExceptionWebFormFileName"];
ExceptionManagerReadResx reader = new ExceptionManagerReadResx(pStrExceptionCode);
ScriptManager.RegisterStartupScript(pPage, typeof(string), "Excepción", "alert('" + reader.CodeDescription + "');", true);
}
#endregion
}
}