[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Javascript: document.frames has no properties

Posted on 2007-08-08
14
Medium Priority
?
616 Views
Last Modified: 2008-01-09
Hi,
I have created a page name mainPage.aspx in side this i am using the frame
<td width="80%" height="100%">
                  <Framework:FrameControl runat="server"  FrameClassName="bgGray" id="FrameControl1">
                 <iframe id ="MainFrame" src = "Content.aspx" frameborder="0"
                             class="bgGray" style="width:100%;height:575px;" marginheight="0" marginwidth="0">
                 </iframe>
            </Framework:FrameControl>
            </td>
where Framework is a user defined class.

I am using tree view in the MainPage.aspx and setting the url of links of treeview on page load.

TreeNode childReportNode = new TreeNode(name, (string)childReportRow["report_id"].ToString());
                                childReportNode.NavigateUrl = String.Format("javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id={0}'; void(0);", ValueFromDatabase);                                                                                    
                                childCategoryNode.ChildNodes.Add(childReportNode);

It is working fine in IE 6/IE 7 but when i am using MozillaFireFox then on click of the tree nodes nothing is happening ie. no page is loading on frame.

Can Any body help me?
Thanks
Viv

0
Comment
Question by:vikasbapat
  • 9
  • 5
14 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 19660284
Normally it is window.frames[0]

To see FF errors, press ctrl-shift-j and see what the console is telling you
Also please show the view-source html of your code
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 19660287
And I would for sure not use javascript urls if I could avoid it
Better is a real href, a button or an image (not compatible with older browsers) with
onClick="window.frames[0].location.href='DetailsParameters.aspx?report_id={0}'; return false"

assuming the {0} is translated at run time to something allowed
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 19660294
And a completely different alternative

 <iframe name="MainFrame" id ="MainFrame" src = "Content.aspx" frameborder="0"

childReportNode.NavigateUrl = String.Format("DetailsParameters.aspx?report_id={0}", ValueFromDatabase);  

using a target="MainFrame" on the url
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:vikasbapat
ID: 19660687
This is the view source code..........

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
      ActiveGuard Report Portal-Main Page
</title><link rel="StyleSheet" href="style/backgrounds.css" type="text/css" /><style type="text/css">
      .tvCategoryTree_0 { text-decoration:none; }
      .tvCategoryTree_1 { color:Black;font-family:Tahoma;font-size:8pt;font-weight:normal; }
      .tvCategoryTree_2 { padding:2px 2px 2px 2px; }
      .tvCategoryTree_3 { font-weight:normal; }
      .tvCategoryTree_4 {  }
      .tvCategoryTree_5 { font-weight:normal; }
      .tvCategoryTree_6 {  }
      .tvCategoryTree_7 { font-weight:normal; }
      .tvCategoryTree_8 {  }
      .tvCategoryTree_9 { color:#336699;font-weight:bold; }
      .tvCategoryTree_10 { padding:0px 0px 0px 0px; }
      .tvCategoryTree_11 { color:#336699;font-size:8pt;font-weight:bold;text-decoration:underline; }
      .tvCategoryTree_12 { color:#336699;font-size:8pt;font-weight:bold;text-decoration:underline; }

</style></head>
<body class="BackGround" style="margin-top: 0px; margin-bottom: 0px; padding-bottom: 0px; padding-top: 0px;">
    <form name="form1" method="post" action="MainPage.aspx" id="form1" style="margin:0 0 0 0;">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="tvCategoryTree_ExpandState" id="tvCategoryTree_ExpandState" value="eennnnnenn" />
<input type="hidden" name="tvCategoryTree_SelectedNode" id="tvCategoryTree_SelectedNode" value="" />

<input type="hidden" name="tvCategoryTree_PopulateLog" id="tvCategoryTree_PopulateLog" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTMxOTE3ODEyMA9kFgICAw9kFgYCAw8UKwACDxYCHhdFbmFibGVDYWxsQmFja3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KwACFgYfIgUVUGVuZGluZyBBcHByb3ZhbHMoMTApHyMFATgfJQVOamF2YXNjcmlwdDogZG9jdW1lbnQuZnJhbWVzWzBdLmxvY2F0aW9uLmhyZWY9J1BlbmRpbmdBcHByb3ZhbHMuYXNweCc7IHZvaWQoMCk7ZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgIFDUFTUHhDYWxlbmRhcjEFDnR2Q2F0ZWdvcnlUcmVlqZRs5KTtmNhwgUVylwn+vMkhK5I=" />
</div>

<script type="text/javascript">
<!--
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
// -->
</script>


<script src="/AGReportPortal/WebResource.axd?d=xJOhNSAo2kXf7tJVgVs3eA2&amp;t=633202000854082337" type="text/javascript"></script>

<script language="JavaScript1.2" type="text/javascript">
function _getServerForm() {
            var theForm = document.forms["form1"];
            if(theForm == null)
                  theForm = document.forms[0];
            return theForm;
}
function _getDefaultImagePath() {
            return "/ASPxGrid_v6_3_2005/Images/";
}
</script>

<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgOi150zHZ_Ro5eIxC-HXai9bRrTeyJvyWSE-NwNN4FGY1&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgyi6ds9QHBlX0_xa9MyjN2DIjp1ZSOtWbjpDKdcLcGl41&amp;t=633174197482545179" type="text/javascript"></script>

<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPg8RT4p8icp_d6Pw_WtEZ8HSD8Y5p4VVVobt0wP7jOUzQ1&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgFGlQ0ZLxxJysGzw_W8WQinCSBGg_M7m5QxUHO1P_2lI1&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPghgnDtisMzJ1vcH7FvCg974r2GnjxxkWpiuw4TYdrnQ41&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgbv6I0toZbu9vzGYcqTJ-sMgtTgnL5-oH1LoPDXta5CM1&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgVLCa3lJh4MeDZu5-GjWLKgvz57CUWl-rDRCIQcxhtA01&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgaW0aT6RJE0LDxvEfJMO7ia7ChWd2ixPQ78zqyvCyWL41&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgEumKw40q4GHlTbr6waTDYIVIZnpnnDmvTWPVLkCUliQ1&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgl1-lXePbI7MadWg1CBX1ULrwS2N0bd2t52OWqSy0tw01&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgEumKw40q4GHlTbr6waTDYNQz7_bC9KgZ2ldwGQTkPDc1&amp;t=633174197482545179" type="text/javascript"></script><script language="JavaScript1.2" type="text/javascript">
function DateTimeFormatInfo() {
      this.AbbreviatedDayNames=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];
      this.DayNames=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];
      this.AbbreviatedMonthNames=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""];
      this.MonthNames=["January","February","March","April","May","June","July","August","September","October","November","December",""];
      this.ShortDatePattern = "dd/MM/yyyy";
      this.LongDatePattern = "dddd, MMMM dd, yyyy";
      this.ShortTimePattern = "h:mm tt";
      this.TimeSeparator = ":";
      this.LongTimePattern = "h:mm:ss tt";
      this.FullDateTimePattern = "dddd, MMMM dd, yyyy h:mm:ss tt";
      this.DateSeparator = "/";
      this.AMDesignator = "AM";
      this.PMDesignator = "PM";
      this.TimeZoneOffset = "05:30:00";
      this.MonthDayPattern = "MMMM dd";
      this.RFC1123Pattern = "ddd, dd MMM yyyy HH':'mm':'ss 'GMT'";
      this.TwoDigitYearMax = "2029";
}

</script>

<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgIef_1ItPTQrZx7r6F0prDCCcjVBHaNgDFHYYF4gFeHI1&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgFGlQ0ZLxxJysGzw_W8WQilG6xW2yGS-00Ojd0OaFYv4O6a3A7mywkkZ_bNb3igAS0&amp;t=633174197482545179" type="text/javascript"></script>
<script src="/AGReportPortal/WebResource.axd?d=F1lYGp1zjndflbL4TyNWzQ2&amp;t=633202000854082337" type="text/javascript"></script>
<script>
<!--
    function TreeView_PopulateNodeDoCallBack(context,param) {
        WebForm_DoCallback(context.data.treeViewID,param,TreeView_ProcessNodeData,context,TreeView_ProcessNodeData,false);
    }
// -->
</script>

<script src="/AGReportPortal/ScriptResource.axd?d=9otuDgcfGqFe_8rAMYemhJUYH-ZXZDj8HrvtDx4mdJNWv6hGn6vchyLvR_w5JPDoPQw6QqbEhESPPdswp6aJfecCF8up_wkuXMpWoOGs8uY1&amp;t=633089682313437500" type="text/javascript"></script>
<script src="/AGReportPortal/ScriptResource.axd?d=9otuDgcfGqFe_8rAMYemhJUYH-ZXZDj8HrvtDx4mdJNWv6hGn6vchyLvR_w5JPDoPQw6QqbEhESPPdswp6aJfeGchecC8WPQpnnCuTaQLMuX1AkgII8T8-3aJeOpsuQF0&amp;t=633089682313437500" type="text/javascript"></script>
    <table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td></td>
    <td align="Right" valign="top">
        <a id="lnkLogout" href="javascript:__doPostBack('lnkLogout','')" style="color:Black;font-size:12px;font-weight:bold;margin-right:20px;">Logout</a>
    </td>
    </tr>
      <tr>
            <td width="20%"  valign="top">

            <table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
                <tr>
                <td>
               
                </td>
                </tr>
              <tr>
                    <td width="50%" height="50%" align="center">
                    <img src="Images/idlgx_square.PNG" width="100" height="100"/></td>
                  </tr>

                  <tr>
                    <td width="100%" height="100%" align="center">
                    <span id="ASPxCalendar1" tabindex="0" onfocus="OnEGetFocus(this, &quot;ASPxCalendar1&quot;)" onmouseup="OnEMouseUp(&quot;ASPxCalendar1&quot;)" onmousedown="OnEMouseDown(this, &quot;ASPxCalendar1&quot;)" onblur="OnELostFocus(&quot;ASPxCalendar1&quot;)" style="width:100%;height:1px;"><input type="hidden" id="ASPxCalendar1Input" name="ASPxCalendar1" value="09/08/2007" />
<input type="hidden" id="ASPxCalendar1VisibleDate" name="ASPxCalendar1VisibleDate" value="09/08/2007" />
<table id="ASPxCalendar1Calendar" border="0" cellpadding="0" cellspacing="0" style="color:Black;background-color:#E7F2FE;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;cursor:default;height:1px;width:100%;">
<tr>
<td onselectstart="return OnSS(event);" style="height:22px;cursor:default;color:Black;background-color:#84ABE3;border-color:#6787B8;border-width:1px;border-style:None;font-family:Verdana;font-size:8pt;font-weight:bold;text-align:Center;white-space:nowrap;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="ASPxCalendar1PrevYear" nowrap="" title="Prev Year" onclick="OnDEShiftYear(&quot;ASPxCalendar1&quot;, -1)" style="color:Black;font-family:Verdana;font-size:8pt;font-weight:bold;padding:3px;"><img border="0" src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgMYrPajH5h3-unStYhO03sDqZzTtMVHPfRJV9yy5IyKo1&amp;t=633174197482545179" /></td><td id="ASPxCalendar1PrevMonth" nowrap="" title="Prev" onclick="OnDEShiftMonth(&quot;ASPxCalendar1&quot;, -1)" style="color:Black;font-family:Verdana;font-size:8pt;font-weight:bold;padding:3px;"><img border="0" src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgMYrPajH5h3-unStYhO03sNB4mJb2eiNzJoffZ91pweM1&amp;t=633174197482545179" /></td><td id="ASPxCalendar1Month" align="center" width="3000" style="color:Black;font-family:Verdana;font-size:8pt;font-weight:bold;">August 2007</td><td id="ASPxCalendar1NextMonth" nowrap="" title="Next" onclick="OnDEShiftMonth(&quot;ASPxCalendar1&quot;, 1)" style="color:Black;font-family:Verdana;font-size:8pt;font-weight:bold;padding:3px;"><img border="0" src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgMYrPajH5h3-unStYhO03sOu2Ct8fR310FqfydMzhZc81&amp;t=633174197482545179" /></td><td id="ASPxCalendar1NextYear" nowrap="" title="Next Year" onclick="OnDEShiftYear(&quot;ASPxCalendar1&quot;, 1)" style="color:Black;font-family:Verdana;font-size:8pt;font-weight:bold;padding:3px;"><img border="0" src="/AGReportPortal/WebResource.axd?d=4ZfRgxhO3nWcq1kz-n7g4uaRMFsH0RlMM-4y3yDva44L8nOz3wtHitugrquKyTaYLS1gDmfupfkDlYsjiI7-y733sWH9jVm5uW2qUBGHrJPdCoPjsrn4TTFJO8JkaAPgMYrPajH5h3-unStYhO03sBTubfXtpUY3pXW_0-TygLg1&amp;t=633174197482545179" /></td>
</tr>
</table></td>
</tr><tr>
<td style="width:100%;height:100%;padding:0;"><table border="0" cellpadding="0" cellspacing="0" style="color:Black;font-family:Verdana;font-size:8pt;border-collapse:separate;width:100%;height:100%;">

<tbody id="ASPxCalendar1Weeks">
<tr id="ASPxCalendar1WeekNames">
<td align="center" style="color:Black;background-color:#C1D8F7;font-family:Verdana;font-size:8pt;font-weight:bold;border-top-color:#6787B8;border-top-style:Solid;border-top-width:1px;border-bottom-color:#6787B8;border-bottom-style:Solid;border-bottom-width:1px;">Sun</td><td align="center" style="color:Black;background-color:#C1D8F7;font-family:Verdana;font-size:8pt;font-weight:bold;border-top-color:#6787B8;border-top-style:Solid;border-top-width:1px;border-bottom-color:#6787B8;border-bottom-style:Solid;border-bottom-width:1px;">Mon</td><td align="center" style="color:Black;background-color:#C1D8F7;font-family:Verdana;font-size:8pt;font-weight:bold;border-top-color:#6787B8;border-top-style:Solid;border-top-width:1px;border-bottom-color:#6787B8;border-bottom-style:Solid;border-bottom-width:1px;">Tue</td><td align="center" style="color:Black;background-color:#C1D8F7;font-family:Verdana;font-size:8pt;font-weight:bold;border-top-color:#6787B8;border-top-style:Solid;border-top-width:1px;border-bottom-color:#6787B8;border-bottom-style:Solid;border-bottom-width:1px;">Wed</td><td align="center" style="color:Black;background-color:#C1D8F7;font-family:Verdana;font-size:8pt;font-weight:bold;border-top-color:#6787B8;border-top-style:Solid;border-top-width:1px;border-bottom-color:#6787B8;border-bottom-style:Solid;border-bottom-width:1px;">Thu</td><td align="center" style="color:Black;background-color:#C1D8F7;font-family:Verdana;font-size:8pt;font-weight:bold;border-top-color:#6787B8;border-top-style:Solid;border-top-width:1px;border-bottom-color:#6787B8;border-bottom-style:Solid;border-bottom-width:1px;">Fri</td><td align="center" style="color:Black;background-color:#C1D8F7;font-family:Verdana;font-size:8pt;font-weight:bold;border-top-color:#6787B8;border-top-style:Solid;border-top-width:1px;border-bottom-color:#6787B8;border-bottom-style:Solid;border-bottom-width:1px;">Sat</td>
</tr><tr id="ASPxCalendar1Week0">
<td id="ASPxCalendar1Day0" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 0)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">29</td><td id="ASPxCalendar1Day1" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 1)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">30</td><td id="ASPxCalendar1Day2" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 2)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">31</td><td id="ASPxCalendar1Day3" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 3)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">1</td><td id="ASPxCalendar1Day4" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 4)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">2</td><td id="ASPxCalendar1Day5" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 5)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">3</td><td id="ASPxCalendar1Day6" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 6)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">4</td>

</tr><tr id="ASPxCalendar1Week1">
<td id="ASPxCalendar1Day7" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 7)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">5</td><td id="ASPxCalendar1Day8" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 8)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">6</td><td id="ASPxCalendar1Day9" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 9)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">7</td><td id="ASPxCalendar1Day10" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 10)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">8</td><td id="ASPxCalendar1Day11" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 11)" style="color:White;background-color:#316AC5;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">9</td><td id="ASPxCalendar1Day12" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 12)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">10</td><td id="ASPxCalendar1Day13" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 13)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">11</td>
</tr><tr id="ASPxCalendar1Week2">
<td id="ASPxCalendar1Day14" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 14)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">12</td><td id="ASPxCalendar1Day15" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 15)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">13</td><td id="ASPxCalendar1Day16" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 16)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">14</td><td id="ASPxCalendar1Day17" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 17)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">15</td><td id="ASPxCalendar1Day18" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 18)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">16</td><td id="ASPxCalendar1Day19" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 19)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">17</td><td id="ASPxCalendar1Day20" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 20)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">18</td>

</tr><tr id="ASPxCalendar1Week3">
<td id="ASPxCalendar1Day21" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 21)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">19</td><td id="ASPxCalendar1Day22" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 22)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">20</td><td id="ASPxCalendar1Day23" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 23)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">21</td><td id="ASPxCalendar1Day24" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 24)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">22</td><td id="ASPxCalendar1Day25" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 25)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">23</td><td id="ASPxCalendar1Day26" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 26)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">24</td><td id="ASPxCalendar1Day27" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 27)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">25</td>
</tr><tr id="ASPxCalendar1Week4">
<td id="ASPxCalendar1Day28" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 28)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">26</td><td id="ASPxCalendar1Day29" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 29)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">27</td><td id="ASPxCalendar1Day30" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 30)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">28</td><td id="ASPxCalendar1Day31" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 31)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">29</td><td id="ASPxCalendar1Day32" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 32)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">30</td><td id="ASPxCalendar1Day33" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 33)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">31</td><td id="ASPxCalendar1Day34" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 34)" style="color:Black;border-color:#E7F2FE;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">1</td>

</tr><tr id="ASPxCalendar1Week5" style="display:none;">
<td id="ASPxCalendar1Day35" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 35)" style="color:White;background-color:#316AC5;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">9</td><td id="ASPxCalendar1Day36" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 36)" style="color:White;background-color:#316AC5;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">9</td><td id="ASPxCalendar1Day37" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 37)" style="color:White;background-color:#316AC5;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">9</td><td id="ASPxCalendar1Day38" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 38)" style="color:White;background-color:#316AC5;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">9</td><td id="ASPxCalendar1Day39" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 39)" style="color:White;background-color:#316AC5;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">9</td><td id="ASPxCalendar1Day40" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 40)" style="color:White;background-color:#316AC5;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">9</td><td id="ASPxCalendar1Day41" width="3000" onclick="OnDEDayClick(&quot;ASPxCalendar1&quot;, 41)" style="color:White;background-color:#316AC5;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;">9</td>
</tr>
</tbody>
</table></td>
</tr><tr>
<td align="center" valign="middle" style="color:Black;background-color:#B0CBF1;font-family:Verdana;font-size:8pt;border-top-color:#6787B8;border-top-style:Solid;border-top-width:1px;height:30px;"><table border="0" cellpadding="0" cellspacing="5" style="height:100%;">
<tr>
<td id="ASPxCalendar1Today" onmouseover="OnLFBMouseOver(this, 100, true, &quot;ASPxCalendar1Btn&quot;, &quot;&quot;);" onmouseout="OnLFBMouseOut(this);" onmousedown="OnLFBMouseDown(this, 100, true, &quot;ASPxCalendar1Btn&quot;, &quot;&quot;, false);" onclick="OnDETodayClick(&quot;ASPxCalendar1&quot;)" onselectstart="return OnSS(event);" style="width:75px;height:100%;cursor:default;color:Black;background-color:#EDEDEB;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;white-space:nowrap;">Today</td><td id="ASPxCalendar1Clear" onmouseover="OnLFBMouseOver(this, 100, true, &quot;ASPxCalendar1Btn&quot;, &quot;&quot;);" onmouseout="OnLFBMouseOut(this);" onmousedown="OnLFBMouseDown(this, 100, true, &quot;ASPxCalendar1Btn&quot;, &quot;&quot;, false);" onclick="OnDEClearClick(&quot;ASPxCalendar1&quot;)" onselectstart="return OnSS(event);" style="width:75px;height:100%;cursor:default;color:Black;background-color:#EDEDEB;border-color:#6787B8;border-width:1px;border-style:Solid;font-family:Verdana;font-size:8pt;text-align:Center;white-space:nowrap;">Clear</td>

</tr>
</table></td>
</tr>
</table></span>
                   
                    </td>
                  </tr>
                  <tr>
                    <td width="100%" height="323px" align="left" valign="bottom" class="ilgxReportTreeBackGround">
                    <div style="height:323px;overflow:auto;">
                 <script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ScriptManager1', document.getElementById('form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tUpdatePanel1'], [], [], 90);
//]]>
</script>

                    <div id="UpdatePanel1">
      
                            <div id="tvCategoryTree">
            <table cellpadding="0" cellspacing="0" style="border-width:0;">
                  <tr>
                        <td><a id="tvCategoryTreen0" href="javascript:TreeView_ToggleNode(tvCategoryTree_Data,0,document.getElementById('tvCategoryTreen0'),' ',document.getElementById('tvCategoryTreen0Nodes'))"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WcRgEw17V8puzrtkGB-Ds1yJYwo6RlAmE_xDbnNTUr9J0&amp;t=633202000854082337" alt="Collapse ActiveGuard Reports" style="border-width:0;" /></a></td><td><a href="javascript:__doPostBack('tvCategoryTree','s0')" onclick="TreeView_SelectNode(tvCategoryTree_Data, this,'tvCategoryTreet0');" id="tvCategoryTreet0i"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WQKFZg1viAfX50Dkm7_pvpVHjUhwGtyF_WLv99RUVxTO0&amp;t=633202000854082337" alt="" style="border-width:0;" /></a></td><td class="tvCategoryTree_2 tvCategoryTree_4" onmouseover="TreeView_HoverNode(tvCategoryTree_Data, this)" onmouseout="TreeView_UnhoverNode(this)"><a class="tvCategoryTree_0 tvCategoryTree_1 tvCategoryTree_3" href="javascript:__doPostBack('tvCategoryTree','s0')" onclick="TreeView_SelectNode(tvCategoryTree_Data, this,'tvCategoryTreet0');" id="tvCategoryTreet0">ActiveGuard Reports</a></td>
                  </tr><tr style="height:0px;">
                        <td></td>
                  </tr>

            </table><div id="tvCategoryTreen0Nodes" style="display:block;">
                  <table cellpadding="0" cellspacing="0" style="border-width:0;">
                        <tr style="height:0px;">
                              <td></td>
                        </tr><tr>
                              <td><div style="width:15px;height:1px"></div></td><td><a id="tvCategoryTreen1" href="javascript:TreeView_ToggleNode(tvCategoryTree_Data,1,document.getElementById('tvCategoryTreen1'),' ',document.getElementById('tvCategoryTreen1Nodes'))"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WcRgEw17V8puzrtkGB-Ds1yJYwo6RlAmE_xDbnNTUr9J0&amp;t=633202000854082337" alt="Collapse Events (5)" style="border-width:0;" /></a></td><td><a href="javascript:__doPostBack('tvCategoryTree','s0\\2')" onclick="TreeView_SelectNode(tvCategoryTree_Data, this,'tvCategoryTreet1');" id="tvCategoryTreet1i"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WahNuCnvxop2_khg4kcvrbqWqV9XunfEwkRXU1ZtgnQa0&amp;t=633202000854082337" alt="" style="border-width:0;" /></a></td><td class="tvCategoryTree_2 tvCategoryTree_6" onmouseover="TreeView_HoverNode(tvCategoryTree_Data, this)" onmouseout="TreeView_UnhoverNode(this)"><a class="tvCategoryTree_0 tvCategoryTree_1 tvCategoryTree_5" href="javascript:__doPostBack('tvCategoryTree','s0\\2')" onclick="TreeView_SelectNode(tvCategoryTree_Data, this,'tvCategoryTreet1');" id="tvCategoryTreet1">Events (5)</a></td>
                        </tr><tr style="height:0px;">
                              <td></td>

                        </tr>
                  </table><div id="tvCategoryTreen1Nodes" style="display:block;">
                        <table cellpadding="0" cellspacing="0" style="border-width:0;">
                              <tr style="height:0px;">
                                    <td></td>
                              </tr><tr>
                                    <td><div style="width:15px;height:1px"></div></td><td><div style="width:15px;height:1px"></div></td><td><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WTjem2MOwY7Up3xSoHvpo8x6-Y_xT-P-vn6S-r-pJ1kx0&amp;t=633202000854082337" alt="" /></td><td><a href="javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id=3'; void(0);" id="tvCategoryTreet2i"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WWasb8bCrkrtJgbmwthJBN7d1D_jXpZYZP8MOHDTRgYc0&amp;t=633202000854082337" alt="" style="border-width:0;" /></a></td><td class="tvCategoryTree_2 tvCategoryTree_8" onmouseover="TreeView_HoverNode(tvCategoryTree_Data, this)" onmouseout="TreeView_UnhoverNode(this)"><a class="tvCategoryTree_0 tvCategoryTree_1 tvCategoryTree_7" href="javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id=3'; void(0);" id="tvCategoryTreet2">Simple Event Report</a></td>
                              </tr><tr style="height:0px;">

                                    <td></td>
                              </tr>
                        </table><table cellpadding="0" cellspacing="0" style="border-width:0;">
                              <tr style="height:0px;">
                                    <td></td>
                              </tr><tr>
                                    <td><div style="width:15px;height:1px"></div></td><td><div style="width:15px;height:1px"></div></td><td><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WTjem2MOwY7Up3xSoHvpo8x6-Y_xT-P-vn6S-r-pJ1kx0&amp;t=633202000854082337" alt="" /></td><td><a href="javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id=4'; void(0);" id="tvCategoryTreet3i"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WWasb8bCrkrtJgbmwthJBN7d1D_jXpZYZP8MOHDTRgYc0&amp;t=633202000854082337" alt="" style="border-width:0;" /></a></td><td class="tvCategoryTree_2 tvCategoryTree_8" onmouseover="TreeView_HoverNode(tvCategoryTree_Data, this)" onmouseout="TreeView_UnhoverNode(this)"><a class="tvCategoryTree_0 tvCategoryTree_1 tvCategoryTree_7" href="javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id=4'; void(0);" id="tvCategoryTreet3">New user Accounts Report</a></td>
                              </tr><tr style="height:0px;">

                                    <td></td>
                              </tr>
                        </table><table cellpadding="0" cellspacing="0" style="border-width:0;">
                              <tr style="height:0px;">
                                    <td></td>
                              </tr><tr>
                                    <td><div style="width:15px;height:1px"></div></td><td><div style="width:15px;height:1px"></div></td><td><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WTjem2MOwY7Up3xSoHvpo8x6-Y_xT-P-vn6S-r-pJ1kx0&amp;t=633202000854082337" alt="" /></td><td><a href="javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id=5'; void(0);" id="tvCategoryTreet4i"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WWasb8bCrkrtJgbmwthJBN7d1D_jXpZYZP8MOHDTRgYc0&amp;t=633202000854082337" alt="" style="border-width:0;" /></a></td><td class="tvCategoryTree_2 tvCategoryTree_8" onmouseover="TreeView_HoverNode(tvCategoryTree_Data, this)" onmouseout="TreeView_UnhoverNode(this)"><a class="tvCategoryTree_0 tvCategoryTree_1 tvCategoryTree_7" href="javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id=5'; void(0);" id="tvCategoryTreet4">Accounts Modification Report</a></td>
                              </tr><tr style="height:0px;">

                                    <td></td>
                              </tr>
                        </table><table cellpadding="0" cellspacing="0" style="border-width:0;">
                              <tr style="height:0px;">
                                    <td></td>
                              </tr><tr>
                                    <td><div style="width:15px;height:1px"></div></td><td><div style="width:15px;height:1px"></div></td><td><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WTjem2MOwY7Up3xSoHvpo8x6-Y_xT-P-vn6S-r-pJ1kx0&amp;t=633202000854082337" alt="" /></td><td><a href="javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id=7'; void(0);" id="tvCategoryTreet5i"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WWasb8bCrkrtJgbmwthJBN7d1D_jXpZYZP8MOHDTRgYc0&amp;t=633202000854082337" alt="" style="border-width:0;" /></a></td><td class="tvCategoryTree_2 tvCategoryTree_8" onmouseover="TreeView_HoverNode(tvCategoryTree_Data, this)" onmouseout="TreeView_UnhoverNode(this)"><a class="tvCategoryTree_0 tvCategoryTree_1 tvCategoryTree_7" href="javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id=7'; void(0);" id="tvCategoryTreet5">ACE Event Report</a></td>
                              </tr><tr style="height:0px;">

                                    <td></td>
                              </tr>
                        </table><table cellpadding="0" cellspacing="0" style="border-width:0;">
                              <tr style="height:0px;">
                                    <td></td>
                              </tr><tr>
                                    <td><div style="width:15px;height:1px"></div></td><td><div style="width:15px;height:1px"></div></td><td><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WTjem2MOwY7Up3xSoHvpo8x6-Y_xT-P-vn6S-r-pJ1kx0&amp;t=633202000854082337" alt="" /></td><td><a href="javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id=6'; void(0);" id="tvCategoryTreet6i"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WWasb8bCrkrtJgbmwthJBN7d1D_jXpZYZP8MOHDTRgYc0&amp;t=633202000854082337" alt="" style="border-width:0;" /></a></td><td class="tvCategoryTree_2 tvCategoryTree_8" onmouseover="TreeView_HoverNode(tvCategoryTree_Data, this)" onmouseout="TreeView_UnhoverNode(this)"><a class="tvCategoryTree_0 tvCategoryTree_1 tvCategoryTree_7" href="javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id=6'; void(0);" id="tvCategoryTreet6">User Deletion Report</a></td>
                              </tr><tr style="height:0px;">

                                    <td></td>
                              </tr>
                        </table>
                  </div><table cellpadding="0" cellspacing="0" style="border-width:0;">
                        <tr style="height:0px;">
                              <td></td>
                        </tr><tr>
                              <td><div style="width:15px;height:1px"></div></td><td><a id="tvCategoryTreen7" href="javascript:TreeView_ToggleNode(tvCategoryTree_Data,7,document.getElementById('tvCategoryTreen7'),' ',document.getElementById('tvCategoryTreen7Nodes'))"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WcRgEw17V8puzrtkGB-Ds1yJYwo6RlAmE_xDbnNTUr9J0&amp;t=633202000854082337" alt="Collapse Administration (2)" style="border-width:0;" /></a></td><td><a href="javascript:__doPostBack('tvCategoryTree','s0\\3')" onclick="TreeView_SelectNode(tvCategoryTree_Data, this,'tvCategoryTreet7');" id="tvCategoryTreet7i"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WahNuCnvxop2_khg4kcvrbqWqV9XunfEwkRXU1ZtgnQa0&amp;t=633202000854082337" alt="" style="border-width:0;" /></a></td><td class="tvCategoryTree_2 tvCategoryTree_6" onmouseover="TreeView_HoverNode(tvCategoryTree_Data, this)" onmouseout="TreeView_UnhoverNode(this)"><a class="tvCategoryTree_0 tvCategoryTree_1 tvCategoryTree_5" href="javascript:__doPostBack('tvCategoryTree','s0\\3')" onclick="TreeView_SelectNode(tvCategoryTree_Data, this,'tvCategoryTreet7');" id="tvCategoryTreet7">Administration (2)</a></td>

                        </tr><tr style="height:0px;">
                              <td></td>
                        </tr>
                  </table><div id="tvCategoryTreen7Nodes" style="display:block;">
                        <table cellpadding="0" cellspacing="0" style="border-width:0;">
                              <tr style="height:0px;">
                                    <td></td>
                              </tr><tr>
                                    <td><div style="width:15px;height:1px"></div></td><td><div style="width:15px;height:1px"></div></td><td><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WTjem2MOwY7Up3xSoHvpo8x6-Y_xT-P-vn6S-r-pJ1kx0&amp;t=633202000854082337" alt="" /></td><td><a href="javascript: document.frames[0].location.href='PortalConfiguration.aspx'; void(0);" id="tvCategoryTreet8i"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WWasb8bCrkrtJgbmwthJBN7d1D_jXpZYZP8MOHDTRgYc0&amp;t=633202000854082337" alt="" style="border-width:0;" /></a></td><td class="tvCategoryTree_2 tvCategoryTree_8" onmouseover="TreeView_HoverNode(tvCategoryTree_Data, this)" onmouseout="TreeView_UnhoverNode(this)"><a class="tvCategoryTree_0 tvCategoryTree_1 tvCategoryTree_7" href="javascript: document.frames[0].location.href='PortalConfiguration.aspx'; void(0);" id="tvCategoryTreet8">Portal Configuration</a></td>

                              </tr><tr style="height:0px;">
                                    <td></td>
                              </tr>
                        </table><table cellpadding="0" cellspacing="0" style="border-width:0;">
                              <tr style="height:0px;">
                                    <td></td>
                              </tr><tr>
                                    <td><div style="width:15px;height:1px"></div></td><td><div style="width:15px;height:1px"></div></td><td><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WTjem2MOwY7Up3xSoHvpo8x6-Y_xT-P-vn6S-r-pJ1kx0&amp;t=633202000854082337" alt="" /></td><td><a href="javascript: document.frames[0].location.href='PendingApprovals.aspx'; void(0);" id="tvCategoryTreet9i"><img src="/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WWasb8bCrkrtJgbmwthJBN7d1D_jXpZYZP8MOHDTRgYc0&amp;t=633202000854082337" alt="" style="border-width:0;" /></a></td><td class="tvCategoryTree_2 tvCategoryTree_8" onmouseover="TreeView_HoverNode(tvCategoryTree_Data, this)" onmouseout="TreeView_UnhoverNode(this)"><a class="tvCategoryTree_0 tvCategoryTree_1 tvCategoryTree_7" href="javascript: document.frames[0].location.href='PendingApprovals.aspx'; void(0);" id="tvCategoryTreet9">Pending Approvals(10)</a></td>

                              </tr><tr style="height:0px;">
                                    <td></td>
                              </tr>
                        </table>
                  </div>
            </div>
      </div>
                       
</div>
                    </div>

                    </td>
                  </tr>
            </table>
            </td>
            <td width="80%" height="100%">
                  
<!-- frame (FrameControl1) starts -->
<table height="100%" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td width="5" height="5" class="bgGrayTopLeft"><img src="gfx/spacer.gif" width="5" height="5"></td><td class="bgGrayTop"><img src="gfx/spacer.gif" width="100%" height="5"></td><td width="5" height="5" class="bgGrayTopRight"><img src="gfx/spacer.gif" width="5" height="5"></td></tr>
<tr><td class="bgGrayLeft"><img src="gfx/spacer.gif" width="5" height="5"></td><td class="bgGray">
<!-- frame (FrameControl1) content starts -->

                 <iframe id ="MainFrame" src =" Content.aspx" frameborder="0"
                             class="bgGray" style="width:100%;height:575px;" marginheight="0" marginwidth="0">
                 </iframe>
           
<!-- frame (FrameControl1) content ends -->
</td><td class="bgGrayRight"><img src="gfx/spacer.gif" width="5" height="5"></td></tr>

<tr><td width="5" height="5" class="bgGrayBottomLeft"><img src="gfx/spacer.gif" width="5" height="5"></td><td class="bgGrayBottom"><img src="gfx/spacer.gif" width="100%" height="5"></td><td width="5" height="5" class="bgGrayBottomRight"><img src="gfx/spacer.gif" width="5" height="5"></td></tr>
</table>
<!-- frame (FrameControl1) ends -->
 
            </td>
      </tr>
    </table>

 
<script type="text/javascript">
<!--
var tvCategoryTree_ImageArray =  new Array('/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WQKFZg1viAfX50Dkm7_pvpVHjUhwGtyF_WLv99RUVxTO0&t=633202000854082337', '/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WahNuCnvxop2_khg4kcvrbqWqV9XunfEwkRXU1ZtgnQa0&t=633202000854082337', '/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WWasb8bCrkrtJgbmwthJBN7d1D_jXpZYZP8MOHDTRgYc0&t=633202000854082337', '/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WTjem2MOwY7Up3xSoHvpo8x6-Y_xT-P-vn6S-r-pJ1kx0&t=633202000854082337', '/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WTcMIVsDp3IAXi3_7f-FevCxJ4RLdnTE_r4IU38iAVOs0&t=633202000854082337', '/AGReportPortal/WebResource.axd?d=CMAKs0_yYuhI05-od0n9WcRgEw17V8puzrtkGB-Ds1yJYwo6RlAmE_xDbnNTUr9J0&t=633202000854082337');
// -->
</script>

<div>

      <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBQKEt/HWBwKwyqZzAo6U+70OApju7tUEApju+voPmI5pDpym2EESRRwaFupWyY+72yk=" />
</div>
<script language="JavaScript1.2" type="text/javascript">
var sc = GetLookAndFeelStyleCollection();
sc.defaultKind = 5;
sc.defaultButtonStyle.useHotTrackStyle = true;
sc.defaultButtonStyle.usePressedStyle = true;
sc.defaultButtonStyle.AddAttributes([["color", "Black"],["backgroundColor", "#84ABE3"],["borderColor", "#6787B8"],["fontFamily", "Verdana"],["fontSize", "8pt"],["whiteSpace", "nowrap"]]);
sc.defaultButtonHotTrackStyle.AddAttributes([["color", "Black"],["backgroundColor", "#FFD599"],["borderColor", "Navy"]]);
sc.defaultButtonPressedStyle.AddAttributes([["color", "Black"],["backgroundColor", "#FFCA86"],["borderColor", "Navy"]]);
sc.defaultEditorStyle.AddAttributes([["color", "Black"],["backgroundColor", "White"],["borderColor", "#6787B8"],["fontFamily", "Verdana"],["fontSize", "8pt"]]);
sc.defaultLabelStyle.AddAttributes([["color", "Black"],["fontFamily", "Verdana"],["fontSize", "8pt"]]);
sc.defaultPopupStyle.AddAttributes([["borderColor", "#6787B8"],["fontFamily", "Verdana"],["fontSize", "8pt"]]);
sc.defaultScrollBarButtonStyle.AddAttributes([["backgroundColor", "#84ABE3"]]);
</script>
<script language="JavaScript1.2" type="text/javascript">
var ASPxCalendar1 = new ASPxClientCalendar("ASPxCalendar1", "", -1);
ASPxCalendar1.firstDayOfWeek = 0;
ASPxCalendar1.visibleDate = new Date(2007, 7, 9);
ASPxCalendar1.selectedDate = new Date(2007, 7, 9);
ASPxCalendar1.dayStyle.AddAttributes([["color", "Black"],["borderColor", "#E7F2FE"],["borderStyle", "Solid"],["borderWidth", "1px"],["fontFamily", "Verdana"],["fontSize", "8pt"],["textAlign", "Center"]]);
ASPxCalendar1.selectedStyle.AddAttributes([["color", "White"],["backgroundColor", "#316AC5"],["borderColor", "#6787B8"],["textAlign", "Center"]]);
</script>
<script language="JavaScript1.2" type="text/javascript">
var style = new ASPxLookAndFeelStyle("ASPxCalendar1BtnS");
style.AddAttributes([["backgroundColor", "#EDEDEB"]]);
</script>

<script type="text/javascript">
<!--

WebForm_InitCallback();var tvCategoryTree_Data = new Object();
tvCategoryTree_Data.images = tvCategoryTree_ImageArray;
tvCategoryTree_Data.collapseToolTip = "Collapse {0}";
tvCategoryTree_Data.expandToolTip = "Expand {0}";
tvCategoryTree_Data.expandState = theForm.elements['tvCategoryTree_ExpandState'];
tvCategoryTree_Data.selectedNodeID = theForm.elements['tvCategoryTree_SelectedNode'];
tvCategoryTree_Data.hoverClass = 'tvCategoryTree_12';
tvCategoryTree_Data.hoverHyperLinkClass = 'tvCategoryTree_11';
for (var i=0;i<6;i++) {
var preLoad = new Image();
if (tvCategoryTree_ImageArray[i].length > 0)
preLoad.src = tvCategoryTree_ImageArray[i];
}
tvCategoryTree_Data.lastIndex = 10;
tvCategoryTree_Data.populateLog = theForm.elements['tvCategoryTree_PopulateLog'];
tvCategoryTree_Data.treeViewID = 'tvCategoryTree';
tvCategoryTree_Data.name = 'tvCategoryTree_Data';
Sys.Application.initialize();
// -->

</script>
</form>
</body>
</html>
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 19660756
Can you change the code to relect my changes?

document.frames is not correct in any case and as I said I would for sure change the code to

href="DetailsParameters.aspx?report_id=4" target="MainFrame"

in your case
childReportNode.NavigateUrl = String.Format("DetailsParameters.aspx?report_id={0}", ValueFromDatabase);                                                                                    

after adding name="MainFrame" to the iframe since that does not need javascript at all
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 19660761
To add the target I think you need childReportNode.Target="MainFrame"
0
 

Author Comment

by:vikasbapat
ID: 19662236
Hi Everyone!!

Some of the solutions are working like..

childCategoryNode.Target = "MainFrame";
 childReportNode.NavigateUrl = String.Format("javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id={0}'", childReportNode.Value);

using this...we are close to solution but this Page is not opening in the targeted frame..so its still an issue..
can any other further modications can be made so as to get it exactly inside the frame?

Thanks
Viv's
                               
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 19662318
Yes, I already suggested

childCategoryNode.Target = "MainFrame";
 childReportNode.NavigateUrl = String.Format("DetailsParameters.aspx?report_id={0}", childReportNode.Value);

and add name="MainFrame" to the iframe

in in all cases change document.frames to window.frames
0
 

Author Comment

by:vikasbapat
ID: 19662723
I have changed the name of a frame to 'MainFrame'

<Framework:FrameControl runat="server"  FrameClassName="bgGray" id="FrameControl1">
                 <iframe  id ="MainFrame" src = "Content.aspx" frameborder="0"
                             class="bgGray" style="width:100%;height:575px;" marginheight="0" marginwidth="0">
                 </iframe>
            </Framework:FrameControl>

also i set the target frame as this

TreeNode childReportNode = new TreeNode(name, (string)childReportRow["report_id"].ToString());
                                //childReportNode.NavigateUrl = String.Format("javascript: document.frames[0].location.href='DetailsParameters.aspx?report_id={0}'; void(0);", childReportNode.Value);
                                childCategoryNode.Target = "MainFrame";
                                childReportNode.NavigateUrl = String.Format("DetailsParameters.aspx?report_id={0}", childReportNode.Value);
                                childCategoryNode.ChildNodes.Add(childReportNode);


But instead of loading new page inside frame it is loading in entire real state and all the mainpage is gone(where i have tree view , logout etc.)
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 19663013
I do not see name="MainFrame"

here

<iframe  id ="MainFrame" src = "Content.aspx" frameborder="0"
                             class="bgGray" style="width:100%;height:575px;" marginheight="0" marginwidth="0">
                 </iframe>
0
 

Author Comment

by:vikasbapat
ID: 19667914
There is no property called 'name' in this iframe.
The code below is the frame class code...

using System;
using System.Diagnostics;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;

namespace AGControls
{
    /// <summary>
    /// Summary description for FrameControl.
    /// </summary>
    [DefaultProperty("FrameClassName"),
    ToolboxData("<{0}:FrameControl runat=server></{0}:FrameControl>")]
    //[ParseChildren(ChildrenAsProperties = true)]
    public class FrameControl : System.Web.UI.WebControls.Panel
    {

        #region private members

        private string frameClassName;
        private bool showFrameTop = true;
        private bool showFrameBottom = true;
        private bool isTransparent = false;

        #endregion

        #region Properties

        /// <summary>
        /// Css class name of the frame
        /// </summary>
        [Bindable(true)]
        [Category("Appearance")]
        [DefaultValue("")]
        public string FrameClassName
        {
            get { return frameClassName; }
            set { frameClassName = value; }
        }

        /// <summary>
        /// Show/don't show top frame
        /// </summary>
        [Bindable(true)]
        [Category("Appearance")]
        [DefaultValue(true)]
        public bool ShowFrameTop
        {
            get { return showFrameTop; }
            set { showFrameTop = value; }
        }

        /// <summary>
        /// Show/don't show bottom frame
        /// </summary>
        [Bindable(true)]
        [Category("Appearance")]
        [DefaultValue(true)]
        public bool ShowFrameBottom
        {
            get { return showFrameBottom; }
            set { showFrameBottom = value; }
        }

        [Bindable(true)]
        [Category("Appearance")]
        [DefaultValue(false)]
        public bool Transparent
        {
            get { return isTransparent; }
            set { isTransparent = value; }
        }

        #endregion

        /// <summary>
        /// Render this control to the output parameter specified.
        /// </summary>
        /// <param name="output"> The HTML writer to write out to </param>
        protected override void Render(HtmlTextWriter output)
        {

            if (isTransparent)
            {
                RenderChildren(output);
                output.Write("<div style=\"margin-bottom:0px\"></div>");
                return;
            }

            DebugFrame(output, true);
            output.Write("<table height=\"100%\" width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
            if (ShowFrameTop)
            {
                RenderFrameTop(output);
            }

            RenderContentStart(output);
            RenderChildren(output);

            RenderContentEnd(output);
            if (ShowFrameBottom)
            {
                RenderFrameBottom(output);
            }
            output.Write("\n</table>");
            DebugFrame(output, false);
            if (ShowFrameBottom)
            {
                output.Write("");
            }
        }

        private void RenderFrameTop(HtmlTextWriter output)
        {
            output.Write("\n<tr><td width=\"5\" height=\"5\" class=\"");
            output.Write(FrameClassName);
            output.Write("TopLeft\"><img src=\"gfx/spacer.gif\" width=\"5\" height=\"5\"></td><td class=\"");
            output.Write(FrameClassName);
            output.Write("Top\"><img src=\"gfx/spacer.gif\" width=\"100%\" height=\"5\"></td><td width=\"5\" height=\"5\" class=\"");
            output.Write(FrameClassName);
            output.Write("TopRight\"><img src=\"gfx/spacer.gif\" width=\"5\" height=\"5\"></td></tr>");
        }
        private void RenderFrameBottom(HtmlTextWriter output)
        {
            output.Write("\n<tr><td width=\"5\" height=\"5\" class=\"");
            output.Write(FrameClassName);
            output.Write("BottomLeft\"><img src=\"gfx/spacer.gif\" width=\"5\" height=\"5\"></td><td class=\"");
            output.Write(FrameClassName);
            output.Write("Bottom\"><img src=\"gfx/spacer.gif\" width=\"100%\" height=\"5\"></td><td width=\"5\" height=\"5\" class=\"");
            output.Write(FrameClassName);
            output.Write("BottomRight\"><img src=\"gfx/spacer.gif\" width=\"5\" height=\"5\"></td></tr>");
        }
        private void RenderContentStart(HtmlTextWriter output)
        {
            output.Write("\n<tr><td class=\"");
            output.Write(FrameClassName);
            output.Write("Left\"><img src=\"gfx/spacer.gif\" width=\"5\" height=\"5\"></td><td class=\"");
            output.Write(FrameClassName);
            output.Write("\">");

            DebugFrameContent(output, true);
        }
        private void RenderContentEnd(HtmlTextWriter output)
        {
            DebugFrameContent(output, false);

            output.Write("</td><td class=\"");
            output.Write(FrameClassName);
            output.Write("Right\"><img src=\"gfx/spacer.gif\" width=\"5\" height=\"5\"></td></tr>\n");
        }

        [Conditional("DEBUG")]
        private void DebugFrame(HtmlTextWriter output, bool starts)
        {
            output.Write("\n<!-- frame (" + this.UniqueID);
            output.Write(") ");
            output.Write(starts ? "starts" : "ends");
            output.Write(" -->\n");
        }
        [Conditional("DEBUG")]
        private void DebugFrameContent(HtmlTextWriter output, bool starts)
        {
            output.Write("\n<!-- frame (" + this.UniqueID);
            output.Write(") content ");
            output.Write(starts ? "starts" : "ends");
            output.Write(" -->\n");
        }

    }
}
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 2000 total points
ID: 19668020
Hmm.. If you do not want to give it a name, then you need to revert to your original code and use this:

String.Format("javascript: document.getElementById('MainFrame').src='DetailsParameters.aspx?report_id={0}'; void(0);", ValueFromDatabase);      

0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 19668026
I do not understand what your frame class code is doing

If you can change this
<td width="80%" height="100%">
                  <Framework:FrameControl runat="server"  FrameClassName="bgGray" id="FrameControl1">
                 <iframe id ="MainFrame" src = "Content.aspx" frameborder="0"
                             class="bgGray" style="width:100%;height:575px;" marginheight="0" marginwidth="0">
                 </iframe>
            </Framework:FrameControl>
            </td>

then change the iframe part from

<iframe id ="MainFrame"

to

<iframe NAME="MainFrame" id ="MainFrame"

That is where I see the name should be to access the iframe with simple html href links
0
 

Author Comment

by:vikasbapat
ID: 19668486
Thanks for your great help

This is working fine.........
Hmm.. If you do not want to give it a name, then you need to revert to your original code and use this:

String.Format("javascript: document.getElementById('MainFrame').src='DetailsParameters.aspx?report_id={0}'; void(0);", ValueFromDatabase);      
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question