Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
356 views
Hello,

i am having this error on my application  ( Framework 4, Silverlight 5, telerik asp net :2013.1 417, telerik Silverlight 2012.3 1129)
both telerik Silverlight and telerik asp net are on the same application

Server Error in '/XEMii.Web' Application.

Could not load file or assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. Le fichier spécifié est introuvable.

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.IO.FileNotFoundException: Could not load file or assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. Le fichier spécifié est introuvable.

Source Error:

Line 47: <body> Line 48: <form id="form1" runat="server"> Line 49: <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> Line 50: </telerik:RadScriptManager> Line 51: <telerik:RadSkinManager ID="QsfSkinManager" runat="server" ShowChooser="false" />

Source File: c:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\GSPAF_A_dosfac.aspx    Line: 49

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' could not be loaded.

=== Pre-bind state information === LOG: User = AZECULLY\cch LOG: DisplayName = System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e (Fully-specified) LOG: Appbase = file:///C:/XEMii_Source/XEMii/XEMii-3.0.152.0/FrameWorkXEMI/FrameWorkXEMI/ LOG: Initial PrivatePath = C:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\bin Calling assembly : Telerik.Windows.Controls, Version=2012.3.1129.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\web.config LOG: Using host configuration file: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Post-policy reference: System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e LOG: The same bind was seen before, and was failed with hr = 0x80070002. 

Stack Trace:

[FileNotFoundException: Could not load file or assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. Le fichier spécifié est introuvable.] System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) +0 System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +180 System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) +192 System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) +115 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) +426 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) +103 System.Reflection.RuntimeAssembly.GetCustomAttributes(Boolean inherit) +33 System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly) +76 System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly() +399 System.Web.UI.ScriptManager..ctor() +26 Telerik.Web.UI.RadScriptManager..ctor() +68 ASP.gspaf_a_dosfac_aspx.__BuildControlRadScriptManager1() in c:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\GSPAF_A_dosfac.aspx:49 ASP.gspaf_a_dosfac_aspx.__BuildControlform1() in c:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\GSPAF_A_dosfac.aspx:48 ASP.gspaf_a_dosfac_aspx.__BuildControlTree(gspaf_a_dosfac_aspx __ctrl) in c:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\GSPAF_A_dosfac.aspx:1 ASP.gspaf_a_dosfac_aspx.FrameworkInitialize() in c:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\GSPAF_A_dosfac.aspx.cs:912308 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +54 System.Web.UI.Page.ProcessRequest() +78 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.gspaf_a_dosfac_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\xemii.web\81328331\489952e6\App_Web_ev1wcm0f.9.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 




Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272             
    

do i miss a reference assembly?

Regards,
Yana
Telerik team
 answered on 16 May 2013
1 answer
321 views
  <telerik:GridTemplateColumn UniqueName="BankType" AllowFiltering="false"  EditFormHeaderTextFormat=" ">
                    <EditItemTemplate>
                        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="Fieldset"
                            Skin="Outlook" />
                        <div style="height: 140px; width: 142px; float: left; margin-left: -20px; margin-bottom: 20px;
                            border: rgb(102,102,102) solid 1px; border-radius:8px; padding: 0px 0px 0px 5px;
                            font-family: Bold; font-size: 12px; position: relative; bottom: 100px; top: 10px;
                            left: 20px;">
                            <span style="font-weight: normal; font-family: Verdana; background-color:rgb(215,230,255);
                                font-weight: normal; margin-top: 4px; left: 10px; position: relative; top: -10px;">&nbsp;Bank
                                Type</span>
                            <telerik:RadGrid ID="RgList1" runat="server" AutoGenerateColumns="false" ShowHeader="false"
                                CssClass="RgListPosition1">
                                <MasterTableView AutoGenerateColumns="false">
                                    <Columns>
                                        <telerik:GridTemplateColumn  HeaderText="BankTypeName">
                                            <ItemTemplate>
                                                <%# Eval("BankTypeName")%>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridTemplateColumn UniqueName="chkBankList1" HeaderText="Select">
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chkBankTypeName" runat="server" />
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                    </Columns>
                                </MasterTableView>
                                <ClientSettings EnableRowHoverStyle="false">
                                <Animation AllowColumnReorderAnimation="false" />
                                </ClientSettings>
                            </telerik:RadGrid>
                        </div>
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>


The above  code inside  another "Rad Grid view" ,when insert and edit mode, I want select particular check boxes   ..but here some problem is  occurs
that is when  I am put mouse on some "Invoices" or "Direct Deposit" entire grid is  "shakes"  I don't want that type functionality,I want normal row hover .


1.Other grid view row hover is "true".
2.Inside Grid view Row is "false" .
but getting some shake in inner grid how remove that "shake" or"blur" in inner help me....   

When ever i am Putting Mouse over the particular column the entire "Inside Rad Grid View"  is Shake....how solve the problem
Venelin
Telerik team
 answered on 16 May 2013
7 answers
108 views
Hi guys,
yesterday my company downloaded Visual Studio 2010.I conerted web app from VS2005 to VS2010 and try to run.When I hit redirect button I am receiving this error:

Line: 6
Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '�'.

Or when put searching criteria and click on button I received this error:
Line: 2788
Error: Object doesn't support this property or method

But again in VS2005 working just fine.

Thanks so much.
Slav
Telerik team
 answered on 16 May 2013
1 answer
95 views
Hi Telerik,

How can I access a RadControl in my RadDock from C#?

Thankyou,
Saira
Shinu
Top achievements
Rank 2
 answered on 16 May 2013
4 answers
176 views
How can i select a radgrid column with checkbox and add that selected columns to a radlist?  İ am new on telerik and i cant do it for a while... please help
Hilmi
Top achievements
Rank 1
 answered on 16 May 2013
2 answers
108 views
My app was working correctly with a "select" box (drag and drop did not work) under 2010.2.713.35.
Today I upgraded to 2013.1.417.40 (to see if I could get the drag and drop to work) and it quit working altogether.

As a test, I copied the demo app from this page ...
http://demos.telerik.com/aspnet-ajax/asyncupload/examples/draganddrop/defaultcs.aspx
and discovered that if fails in the same way.

When I run the Google developer tools on your demo page, it works correctly of course.
When I run the Google developer tools on my copy of your demo page, it fails when attempting to take the selected files and create/update the displayed list.
See the attached screen shot for the point of failure.
It is able to find the div.ruDropZone that it wants to manipulate, but the _proto_ for that element does not have an addBack() method that your axd expects.
Presumably, some other piece of your code has extended those elements with those methods. 

Does your script manager do that?  If so, you should explain that in the documentation ... that RadAsyncUpload requires the RadScriptManager.

Please advise.

Markup in my page:
       <td>
       <asp:updatepanel id="upUpload" runat="server" updatemode="Always" >
           <contenttemplate>
 
      <div class="RoundAll" id="DropZone2" style="height: 150px; width: 320px; background-color: ghostwhite; border: 1px dashed Navy; text-align: center; padding-left: 20px; padding-right: 20px; vertical-align: top; display:inline-block;">
     <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload2" MultipleFileSelection="Automatic" DropZones=".DropZone1,#DropZone2"/>
 
   <div class="DropZone1">
       <p>Custom Drop Zone</p>
       <p>Drop Files Here</p>
   </div>
   <div id="Div3">
       <p>Custom Drop Zone</p>
       <p>Drop Files Here</p>
   </div>
</div>
           </contenttemplate>
 
       </asp:updatepanel>
       </td>

Supporting Javascript:

<script language="javascript" type="text/javascript">
 
    var $ = $telerik.$;
    function pageLoad() {
 
    $(document).bind({ "drop": function (e) { e.preventDefault(); } });
  
    var dropZone1 = $(document).find(".DropZone1");
    dropZone1.bind({ "dragenter": function (e) { dragEnterHandler(e, dropZone1); } })
             .bind({ "dragleave": function (e) { dragLeaveHandler(e, dropZone1); } })
             .bind({ "drop": function (e) { dropHandler(e, dropZone1); } });
  
    var dropZone2 = $(document).find("#DropZone2");
    dropZone2.bind({ "dragenter": function (e) { dragEnterHandler(e, dropZone2); } })
             .bind({ "dragleave": function (e) { dragLeaveHandler(e, dropZone2); } })
             .bind({ "drop": function (e) { dropHandler(e, dropZone2); } });
     
    }
  
    function dropHandler(e, dropZone) {
        dropZone[0].style.backgroundColor = "Red";
    }
  
    function dragEnterHandler(e, dropZone) {
        var dt = e.originalEvent.dataTransfer;
        var isFile = (dt.types != null && (dt.types.indexOf ? dt.types.indexOf('Files') != -1 : dt.types.contains('application/x-moz-file')));
        if (isFile || $telerik.isSafari5 || $telerik.isIE10Mode || $telerik.isOpera)
            dropZone[0].style.backgroundColor = "White";
    }
  
    function dragLeaveHandler(e, dropZone) {
        if (!$telerik.isMouseOverElement(dropZone[0], e.originalEvent))
            dropZone[0].style.backgroundColor = "Green";
    }
</script>

Hristo Valyavicharski
Telerik team
 answered on 16 May 2013
1 answer
178 views
Hi:

I have a RaDGrid that has a DIV tag that is above the grid, but the outline border included the DIV tag.  Code is as follows:
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<script runat="server">
    '
    Protected Sub personGrid_NeedDataSource(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles personGrid.NeedDataSource
        Dim _people As List(Of String) = New List(Of String) From { _
            "George Washington", "John Adams", "Thomas Jefferson"}
        personGrid.DataSource = _people
    End Sub
    '
</script>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
            <Scripts>
                <asp:ScriptReference Path="Scripts/jquery-1.8.2.min.js" />
            </Scripts>
        </telerik:RadScriptManager>
        <br />
        <div style="width: 100%">
            <div style="width: 130px; float: left;">People:</div>
            <div style="width: 475px; float: left;">...</div>
        </div>
        <div style="width: 100%">
            <Telerik:RadGrid
                ID="personGrid" runat="server" GridLines="None" CellSpacing="0">
                <MasterTableView AutoGenerateColumns="true">
                </MasterTableView>
            </Telerik:RadGrid>
        </div>
        <br />
    </form>
</body>
</html>

So the following DIV tags:
<div style="width: 100%">
    <div style="width: 130px; float: left;">People:</div>
    <div style="width: 475px; float: left;">...</div>
</div>
Appear as if they are a part of the grid, but I do not want this appearance.  Attached is a screenshot...
Phil
Princy
Top achievements
Rank 2
 answered on 16 May 2013
1 answer
85 views
I am trying to find a way to highlight a row in a radgrid when it is deselected. I can get it to highlight when selected (via a checkbox), but I want to highlight it when that checkbox is unchecked (other than the default deselected row colors), this is so the users will know what they rows they have unchecked, before submitting form.

any ideas on how to do this?


Princy
Top achievements
Rank 2
 answered on 16 May 2013
3 answers
120 views
Hi
    How shall I change the filtercolumn header backcolor after filter.

thanks
RT
Princy
Top achievements
Rank 2
 answered on 16 May 2013
0 answers
52 views
Hello I am trying to refresh my grid my rad window opens a page which contains asynupload to upload a file and after closing the window i am refreshing the grid but it does not fire and i have used debugger i cam to know the onclientclose executes even before the radwindow is open.

the code is

 

function onClientClose() { 
 alert(  
"hi"); 
  
$find(
  
"<%= RadAjaxManager1.ClientID %>").ajaxRequest(); 
 }

 

 

protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)

 

{

 

FileGrid.Rebind();

}

i have kept break point here the control does not come at all.
and the radwindow which contains webpage js is

 

 

function CloseAndRebind() {

 

GetRadWindow().Close();

}

SKande
Top achievements
Rank 2
 asked on 15 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?