or
| Event code: 3005 | |
| Event message: An unhandled exception has occurred. | |
| Event time: 1/3/2004 6:37:59 PM | |
| Event time (UTC): 1/3/2004 5:37:59 PM | |
| Event ID: 30476a2a191541a8bad4dc292ea42abd | |
| Event sequence: 3 | |
| Event occurrence: 1 | |
| Event detail code: 0 | |
| Application information: | |
| Application domain: /LM/W3SVC/1/Root/MySite-1-127176250718281250 | |
| Trust level: Full | |
| Application Virtual Path: /MySite | |
| Application Path: C:\MySite | |
| Machine name: SERVLEG | |
| Process information: | |
| Process ID: 2996 | |
| Process name: w3wp.exe | |
| Account name: NT AUTHORITY\NETWORK SERVICE | |
| Exception information: | |
| Exception type: ArgumentOutOfRangeException | |
| Exception message: Specified argument was out of the range of valid values. | |
| Parameter name: utcDate | |
| Request information: | |
| Request URL: http://localhost/MySite/WebResource.axd?d=88TXMhwKwpuUzNKATGEUHo_YxF7hf4dbjDOC8EbYgCxAX892iuW87lUx2O-VyqI4MLmM6_fqegn-WFabuD8V_IBlxNw9UINRvZgJl_OjYf81&t=633613964280000000 | |
| Request path: /MySite/WebResource.axd | |
| User host address: 127.0.0.1 | |
| User: | |
| Is authenticated: False | |
| Authentication Type: | |
| Thread account name: NT AUTHORITY\NETWORK SERVICE | |
| Thread information: | |
| Thread ID: 1 | |
| Thread account name: NT AUTHORITY\NETWORK SERVICE | |
| Is impersonating: False | |
| Stack trace: at System.Web.HttpCachePolicy.UtcSetLastModified(DateTime utcDate) | |
| at System.Web.HttpCachePolicy.SetLastModified(DateTime date) | |
| at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context) | |
| at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() | |
| at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) | |
| Custom event details: | |
| For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. |
Is there is any way to make the objects in the RadTree tree structure have unique ID’s to define them? We are Using Quick Test Professional 9.5 and the tool can record the objects however, there is no property to uniquely define the object.
Need to have some way to have -+ objects used to expand and collapse the tree, the Name field (Node), and the Icons be able to have unique way to identify them.
Property options to make unique that QTP can recognize: Class, ID
Thanks,Can someone show me (or direct me to) how to dynamically add a ResourceType?
I have tried the code below and I dont have the ResourceType available in the AppointmentCreated event
| ResourceType rt = new ResourceType(); |
| rt.DataSource = properties; |
| rt.ForeignKeyField = "PropertyId"; |
| rt.KeyField = "PropertyId"; |
| rt.Name = "Property"; |
| rt.TextField = "title"; |
| this.RadScheduler1.ResourceTypes.Add(rt); |
| protected void RadScheduler1_AppointmentCreated(object sender, AppointmentCreatedEventArgs e) |
| { |
| Resource prop = e.Appointment.Resources.GetResourceByType("Property"); |
| if (prop != null) |
| { |
| e.Appointment.CssClass = "ID" + prop.Key.ToString(); |
| } |
| } |
| StringBuilder javaScript = new StringBuilder(); |
| javaScript.Append("<script language='javascript'>"); |
| javaScript.Append(rtbMain.ClientID + ".attachEvent('OnClientClick','click_handler');"); |
| javaScript.Append("function clientClick_eventHandler(sender, e)"); |
| javaScript.Append("{"); |
| javaScript.Append("if(sender.CommandName == 'spellCheck')"); |
| javaScript.Append("{"); |
| javaScript.Append("alert(e);"); |
| javaScript.Append("return false;"); |
| javaScript.Append("}"); |
| javaScript.Append("}"); |
| javaScript.Append("</script>"); |
| if (!Page.ClientScript.IsStartupScriptRegistered("clientSpellScript")) |
| Page.ClientScript.RegisterStartupScript(Page.GetType(), "clientSpellScript", javaScript.ToString()); |
| <%@ Control Language="C#" AutoEventWireup="true" CodeFile="WindowsMenu.ascx.cs" Inherits="UserControls_WindowsMenu" %> |
| <%@ Register Src="~/UserControls/Common/shiftPicker.ascx" TagName="ShiftPicker" TagPrefix="mextra" %> |
| <div style="width: 100%; z-index: 100;"> |
| <telerik:RadMenu ID="rdmCommonMenu" runat="server" DataFieldParentID="MenuParentId" |
| Width="100%" CollapseDelay="0" Style="z-index: 100;" DataNavigateUrlField="NavigationUrl" |
| ClickToOpen="True" DataTextField="MenuItem" DataValueField="MenuId" OnDataBound="rdmCommonMenu_DataBound" |
| DefaultGroupSettings-ExpandDirection="Down" DataFieldID="MenuId" meta:resourcekey="Resource1" |
| MaxDataBindDepth="-1" OnLoad="rdmCommonMenu_Load" OnDataBinding="rdmCommonMenu_DataBinding"> |
| <CollapseAnimation Type="None" Duration="200" /> |
| <ExpandAnimation Type="None" /> |
| </telerik:RadMenu> |
| </div> |
| <asp:Panel ID="pnlToolbar" runat="server" Width="100%" Height="60px" CssClass="Toolbar" |
| meta:resourcekey="pnlToolbarResource1" OnDataBinding="pnlToolbar_DataBinding"> |
| <telerik:RadToolBar ID="rtbMain" runat="server" Width="350px" Height="60px" OnButtonClick="rtbMain_OnClick" |
| meta:resourcekey="rtbMainResource1" OnPreRender="rtbMain_PreRender" OnClientButtonClicked="clientClick_eventHandler"> |
| <Items> |
| <telerik:RadToolBarButton ImagePosition="AboveText" ToolTip="New Document" CausesValidation="False" |
| CommandName="new" ImageUrl="~/Images/Toolbar/new.gif" Text="new" runat="server" |
| meta:resourcekey="RadToolBarButtonResource1" /> |
| <telerik:RadToolBarButton ImagePosition="AboveText" ToolTip="Save" CommandName="save" |
| ImageUrl="~/Images/Toolbar/save.gif" Text="save" runat="server" meta:resourcekey="RadToolBarButtonResource2" /> |
| <telerik:RadToolBarButton ImagePosition="AboveText" ToolTip="Refresh" CausesValidation="False" |
| CommandName="refresh" Text="Refresh" ImageUrl="~/Images/Toolbar/refresh.gif" |
| meta:resourcekey="RadToolBarButtonResource3" runat="server" /> |
| <telerik:RadToolBarButton ToolTip="Back" ImagePosition="AboveText" CausesValidation="False" |
| CommandName="back" Text="Backward" ImageUrl="~/Images/Toolbar/backGreen.gif" |
| runat="server" /> |
| <telerik:RadToolBarButton ToolTip="Forward" ImagePosition="AboveText" CausesValidation="False" |
| CommandName="forward" Text="Forward" ImageUrl="~/Images/Toolbar/forwardGreen.gif" |
| runat="server" /> |
| <telerik:RadToolBarButton ToolTip="Spell Check" Value="spellCheck" CommandName="spellCheck" |
| Text="Spell Check" ImageUrl="~/Images/Toolbar/spellCheck.gif" runat="server" ImagePosition="AboveText" Enabled="false"> |
| </telerik:RadToolBarButton> |
| </Items> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| </telerik:RadToolBar> |
| <telerik:RadToolBar ID="rtbMisc" runat="server" Height="60px" Width="350px" OnButtonClick="rtbMisc_ButtonClick"> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| <Items> |
| <telerik:RadToolBarButton runat="server" ImagePosition="AboveText" ImageUrl="~/Images/Toolbar/client_report.gif" |
| Text="Alg. Rapportage" PostBack="true" CommandName="GeneralReport" CausesValidation="False"> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton meta:resourcekey="RadToolBarButtonResource6" runat="server"> |
| <ItemTemplate> |
| <telerik:RadSpell ID="rscSpell" runat="server" ButtonType="None" ControlToCheck="" |
| meta:resourcekey="rscSpellResource1" SupportedLanguages="en-US,English" /> |
| </ItemTemplate> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton runat="server" ImagePosition="AboveText" ImageUrl="~/Images/Toolbar/voorblad.gif" |
| PostBackUrl="~/ClientFront/ClientFront.aspx" Text="Voorblad" ToolTip="Voorblad" |
| CommandName="ClientPage" /> |
| <telerik:RadToolBarButton runat="server" ImagePosition="AboveText" ImageUrl="~/Images/Toolbar/MextraToday.gif" |
| meta:resourcekey="RadToolBarButtonResource8" PostBackUrl="~/MextraToday/Default.aspx" |
| Text="MeXtra Today" ToolTip="MeXtra Today" /> |
| <telerik:RadToolBarButton ToolTip="Agenda" ImagePosition="AboveText" Text="Agenda" |
| PostBackUrl="~/Appointment/Appointment.aspx" ImageUrl="~/Images/Toolbar/Calendar.gif" |
| runat="server" /> |
| <telerik:RadToolBarButton runat="server" PostBack="False" ToolTip="Help" CausesValidation="False" |
| Visible="False"> |
| <ItemTemplate> |
| <div style="margin-top: 5px; margin-left: 10px" onclick="displayHelp('Open');" onmouseover="style.cursor='hand'"> |
| <asp:Image runat="server" ID="imgHelp" ImageUrl="~/Images/32X32/help2.gif" /> |
| </div> |
| </ItemTemplate> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton runat="server" PostBack="False" ToolTip="Filter" CausesValidation="False"> |
| <ItemTemplate> |
| <div style="margin-top: 5px; margin-left: 10px" onclick="displayFilter();" onmouseover="style.cursor='hand'"> |
| <asp:Image runat="server" ID="imgHelp" ImageUrl="~/Images/32X32/funnel.gif" /> |
| </div> |
| </ItemTemplate> |
| </telerik:RadToolBarButton> |
| </Items> |
| </telerik:RadToolBar> |
| <telerik:RadToolBar ID="rtbHCP" runat="server" Height="60px" OnButtonClick="rtbHCP_ButtonClick" |
| OnPreRender="rtbHCP_PreRender" Width="170px"> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| <Items> |
| <telerik:RadToolBarButton runat="server" ImagePosition="AboveText" ImageUrl="~/Images/Toolbar/daily_report.gif" |
| PostBackUrl="~/Reports/DailyReport.aspx" Text="Dagrapportage" CommandName="DailyReport"> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton runat="server" CausesValidation="False" ImagePosition="AboveText" |
| ImageUrl="~/Images/Toolbar/listview.gif" Text="Overzicht"> |
| </telerik:RadToolBarButton> |
| </Items> |
| </telerik:RadToolBar> |
| </asp:Panel> |