You are on page 1of 1

using System;

using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text.RegularExpressions;

public partial class ContactUs1 : System.Web.UI.Page


{
public string strContactUs = string.Empty;
public string strBrandPath = string.Empty;
protected void Page_Load(object sender, EventArgs e)
{
try
{
string strHelpText = string.Empty;
UCMSession objUCMSession = new UCMSession();
strBrandPath = Convert.ToString(Session["ASPX_UserBrandPath"]);
csslink.Href = strBrandPath +
Convert.ToString(Session["ASPX_CSSName"]);
strHelpText = "For answers to common questions, click on the<a
class='link3' href=\"JavaScript:OpenHelp('');\">Help</a> button located throughout
the site. Then choose the subject listed in the help area that pertains to what you
are trying to do.<br><br>";
if (Convert.ToBoolean(Session["CoBrandFeatureEmailMessageAccess"]))
{
strHelpText += "If you cannot find an answer in these help pages or
you have comments or suggestions about " + Convert.ToString(Session["CoBrandName"])
+ ", " + "just email us by<a class='link3' href=\"ContactUs2.aspx\">clicking
here.</a><br><br>";
}
if (Convert.ToInt32(Session["ServiceUsed"]) > 2)
{
strHelpText += "<span class='bodytext_7'>" +
Convert.ToString(Session["CustomerCareNumber"]) + " (Technical Support)</span>";
}
strContactUs = strHelpText;
}
catch (Exception ex)
{
Response.Write("<label class=\"header_text1\">Some error occured.
Please try again later.</label>");
ErrorLogger.WriteToLog(ex);
Response.End();
}
finally
{
}
}
}

You might also like