Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.] System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0 System.Reflection.RuntimeModule.GetTypes() +4 System.Reflection.Assembly.GetTypes() +78 System.Data.Metadata.Edm.ObjectItemConventionAssemblyLoader.LoadTypesFromAssembly() +32 System.Data.Metadata.Edm.ObjectItemAssemblyLoader.Load() +25 System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly, Boolean loadReferencedAssemblies, ObjectItemLoadingSessionData loadingData) +160 System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly, Boolean loadReferencedAssemblies, KnownAssembliesSet knownAssemblies, EdmItemCollection edmItemCollection, Action`1 logLoadMessage, Object& loaderCookie, Dictionary`2& typesInLoading, List`1& errors) +166 System.Data.Metadata.Edm.ObjectItemCollection.LoadAssemblyFromCache(ObjectItemCollection objectItemCollection, Assembly assembly, Boolean loadReferencedAssemblies, EdmItemCollection edmItemCollection, Action`1 logLoadMessage) +316 System.Data.Metadata.Edm.ObjectItemCollection.ExplicitLoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection, Action`1 logLoadMessage) +53 System.Data.Metadata.Edm.MetadataWorkspace.ExplicitLoadFromAssembly(Assembly assembly, ObjectItemCollection collection, Action`1 logLoadMessage) +93 System.Data.Metadata.Edm.MetadataWorkspace.LoadFromAssembly(Assembly assembly, Action`1 logLoadMessage) +130 System.Web.UI.WebControls.EntityDataSourceView.ConstructContext() +585 System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +76 System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +21 System.Web.UI.WebControls.DataBoundControl.PerformSelect() +143 System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74 System.Web.UI.WebControls.GridView.DataBind() +4 System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +66 System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +75 System.Web.UI.Control.EnsureChildControls() +102 System.Web.UI.Control.PreRenderRecursiveInternal() +42 System.Web.UI.Control.PreRenderRecursiveInternal() +175 System.Web.UI.Control.PreRenderRecursiveInternal() +175 System.Web.UI.Control.PreRenderRecursiveInternal() +175 System.Web.UI.Control.PreRenderRecursiveInternal() +175 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496 try { RadScheduler1.DataSource = TED.BLL.Appointment.Appointments(SafeValue.SafeInt(ddlView.SelectedValue),SafeValue.SafeInt(ddlCategory.SelectedValue),SafeValue.SafeInt(ddlClientName.SelectedValue),Users,RadScheduler1.VisibleRangeStart, RadScheduler1.VisibleRangeEnd); RadScheduler1.DataKeyField = "ID"; RadScheduler1.DataStartField = "Start"; RadScheduler1.DataEndField = "End"; RadScheduler1.DataSubjectField = "Subject"; RadScheduler1.DataDescriptionField = "Description"; RadScheduler1.DataRecurrenceParentKeyField = "RecurrenceParentID"; RadScheduler1.DataRecurrenceField = "RecurrenceRule"; RadScheduler1.DataBind(); } catch (Exception ex) { ReflectionTypeLoadException exception = ex as ReflectionTypeLoadException; if (exception == null) { using (TextWriter tw = new StreamWriter(Server.MapPath("~/Scheduler/EDSLog.txt"))) { tw.WriteLine("Not a ReflectionTypeLoadException ex."); } } else { foreach (Exception loaderException in exception.LoaderExceptions) { using (TextWriter tw = new StreamWriter(Server.MapPath("~/Scheduler/EDSLog.txt"))) { tw.WriteLine(loaderException.Message); tw.WriteLine(loaderException.StackTrace); } } } }
I want some sample coding for scenario...
My Requirement is,
|
Name |
2007 |
2008 |
2009 |
2010 |
|
Alexis |
100 |
200 |
300 |
400 |
|
Bharath |
150 |
200 |
250 |
300 |
|
Deepak |
200 |
250 |
300 |
350 |
|
Sangeetha |
250 |
300 |
350 |
400 |
Plz Help me on this regard…. We need this solution on or before coming Sunday(10/03/2010)…
Thanks
Alexis
Folks,
Environment Radgrid for Asp.net Ajax 2010_2_826, VS 2008 SP1.
In my Radgrid I have 3 columns. Salary, ExperienceDifferential and GrossSalary (CalculatedColumn).
I would like to have that CalculatedColumn be populated with the sum of columns Salary and ExperienceDifferential whether these 2 columns are null or not. What I noticed if ExperienceDifferential is null, the CalculatedColumn does not populate, but if ExperienceDifferential is not null CalculatedColumn does populate. Question is in order for CalculatedColumn to work, does other related columns must be not null?
Below is my column declarations and attached is the result set.
Thanks
GC_0620
___________________
<telerik:GridTemplateColumn DataField="Salary" DataType="System.Decimal" HeaderText="Salary" SortExpression="Salary" UniqueName="Salary"> <ItemTemplate> <asp:Label ID="SalaryLabel" runat="server" Text='<%# Bind( "Salary","{0:N2}") %>'></asp:Label> </ItemTemplate> </telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="ExperienceDifferential" DataType="System.Decimal" DataFormatString="{0:N2}" HeaderText="Experience Differential" SortExpression="ExperienceDifferential" UniqueName="ExperienceDifferential"> </telerik:GridBoundColumn>
<telerik:GridCalculatedColumn DataType="System.Decimal" DataFormatString="{0:N2}" DataFields="Salary,ExperienceDifferential" Expression="{0}+ {1}" HeaderText="Gross Salary" UniqueName="GrossSalary" Aggregate="Sum"> </telerik:GridCalculatedColumn>
In my button Save event, I have to ask the user if they have something else to do before they proceed with the save. The below js seems to execute, but doesn't return back to the event (and proceed) if I choose Cancel and I don't get my screen back if I answer OK. Am I doing something incorrect with the function?
Here is my server side code inside the Save button event:
<code>
if (tsPatientDemographics.SelectedTab.Text == "Pri Ins")
{
String s = "Sec_Ins()";
ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "Secondary Insurance?", s, true);
}
</code>
Here is my js code:
<code>
function Sec_Ins() {
if (confirm("Is there Secondary or Tertiary Insurance information available?") == true) {
selectSecTab();
return false;
}
else
return true;
}
function selectSecTab() {
var tabStrip = $find("<%= tsPatientDemographics.ClientID %>");
var tab = tabStrip.findTabByText("Sec Ins");
tab.select();
}
</code>
<
telerik:GridTemplateColumn AllowFiltering="False"
UniqueName="DeleteColum">
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<table width="100%">
<tr align="center">
<td>
<asp:ImageButton ID="btnEdit" runat="server" CausesValidation="False"
CommandName="Edit" ImageUrl="~/RadControls/Grid/Skins/Default/Edit1.gif"
ToolTip="Edit" />
</td>
<td>
<asp:ImageButton ID="btnView" runat="server" CausesValidation="False" Visible="true"
CommandName="View" ImageUrl="~/RadControls/Grid/Skins/Default/view.gif"
ToolTip="View" />
</td>
</tr>
</table>
</ItemTemplate>
</telerik:GridTemplateColumn>
rgActions_ItemDataBound
doesnt fire when user press on btnView