Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
438 views
OK I tried to update everything at once... probably not the smartest thing in the world, but that's what we have this community for right? ;-)

Anyway, here we go a lot to explain.

I updated to the latest Telerik.Web.UI.dll and Skins.dll 2013.2.717.40 as of right this second. I also decided it would be a great idea to go ahead and update the OpenAccessORM as well to the latest version.. 2013.2.702.1....

So of course things are going to blow up, I expected that... what I didn't expect was this:

Server Error in '/ADotNET' Application.

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

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.FileLoadException: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

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.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI' could not be loaded.

=== Pre-bind state information ===
LOG: User = ciisuser
LOG: DisplayName = Telerik.Web.UI
 (Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: Telerik.Web.UI | Domain ID: 4
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///E:/MyDoeProjects/ADotNET/
LOG: Initial PrivatePath = E:\MyDoeProjects\ADotNET\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: E:\MyDoeProjects\ADotNET\web.config LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/adotnet/6cbcc12d/eaa54d1e/Telerik.Web.UI.DLL. LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/adotnet/6cbcc12d/eaa54d1e/Telerik.Web.UI/Telerik.Web.UI.DLL. LOG: Attempting download of new URL file:///E:/MyDoeProjects/ADotNET/AppaloosaDotNET/bin/Telerik.Web.UI.DLL. LOG: Using application configuration file: E:\MyDoeProjects\ADotNET\web.config LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Post-policy reference: Telerik.Web.UI, Version=2013.2.717.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4 ERR: Failed to complete setup of assembly (hr = 0x80070057). Probing terminated.

Stack Trace:

[FileLoadException: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]

[FileLoadException: Could not load file or assembly 'Telerik.Web.UI, Version=2013.2.717.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +39
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +132
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +144
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: Could not load file or assembly 'Telerik.Web.UI, Version=2013.2.717.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +618
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +209
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
   System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +94
   System.Web.Compilation.BuildManager.CallPreStartInitMethods() +332
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +677

[HttpException (0x80004005): Could not load file or assembly 'Telerik.Web.UI, Version=2013.2.717.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9104200
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256


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


I think I can safely say this is the first time I've ever seen this error.

Now the Telerik.Web.UI is not in the GAC. So I added the reference by browsing to the install directory.

Another fear of mine is that more than likely the page I'm trying to call is referencing custom .dll files that we wrote using an older version of OpenAccess. They are all class files, so I don't think I can use the awesome PublisherPolicy.cfg on anything that is just a class assembly.

So I will probably have to go back through all of those and update them individually which is a whole bunch of them... so if anyone does know of a better way to update OpenAccess references to newer versions on class assemblies.... please do tell :D

Anyway, back to the original issue above, I have double checked the bin file of my project and the Telerik.Web.UI.dll, etc.. files are there.
To make it worse, we have an Assemblies folder that we reference for all of the custom individual class assemblies that we write. If I move the Telerik.Web.UI.dll files and it's crew over to that file I then get this error instead.

Server Error in '/ADotNET' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load type 'Telerik.Web.UI.RadSessionPageStateCompression'.

Source Error:

Line 6:    <browser refID="Default">
Line 7:      <controlAdapters>
Line 8:        <adapter controlType="System.Web.UI.Page" adapterType="Telerik.Web.UI.RadSessionPageStateCompression" />
Line 9:      </controlAdapters>    
Line 10:   </browser>   

Source File: E:\MyDoeProjects\ADotNET\App_Browsers\BrowserFile.browser    Line: 8


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


Yes that's the browser file saying that it cannot find the Telerik.Web.UI.RadSessionPageStateCompression... I'm guessing that's just because it couldn't load the file from the reference folder we have... but even if that was the case shouldn't have copied the Telerik.Web.UI file from the non GAC reference that I specified???

Anyway lots of confusion and frustration going on...

Since I know you are going to want to see the web.config here it is.

<?xml version="1.0"?>
<configuration
<system.web>
    <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        -->
    <!--
      Set compilation debug="true" to insert debugging
      symbols into the compiled page. Because this
      affects performance, set this value to true only
      during development.
    -->
<browserCaps>
      <case>
        RequiresControlStateInSession=true
      </case>
    </browserCaps>  
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="Telerik.ReportViewer.WebForms, Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
        <add assembly="Telerik.Reporting, Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
        <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </assemblies>
      <buildProviders>
        <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      </buildProviders>
    </compilation>
    <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
    <!--
      The <authentication> section enables configuration
      of the security authentication mode used by
      ASP.NET to identify an incoming user.
    -->
    <authentication mode="Windows" />
    <!--
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace.
 
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
    <!--<pages>-->
      <controls>
        <add tagPrefix="tlk" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2013.2.717.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
        <add tagPrefix="tlkRpt" assembly="Telerik.ReportViewer.WebForms, Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" />       
        <!--<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />-->
        <!--<add tagPrefix="tlkRpt" assembly="Telerik.ReportViewer.WebForms, Version=5.1.11.713, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" />-->
        <!--<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />-->
      </controls>
    </pages>
    <!--
      The <customErrors> section enables configuration
      of what to do if/when an unhandled error occurs
      during the execution of a request. Specifically,
      it enables developers to configure html error pages
      to be displayed in place of a error stack trace.
 
    <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
      <error statusCode="403" redirect="NoAccess.htm" />
      <error statusCode="404" redirect="FileNotFound.htm" />
    </customErrors>
    -->
    <httpHandlers>
      <add path="elmah.axd" verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
      <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
      <add type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" path="Telerik.ReportViewer.axd" verb="*" validate="true" />
    </httpHandlers>
    <httpModules>
      <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
    </httpModules>
  </system.web>
  <!--
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="RadUploadModule" />
      <remove name="RadCompression" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />     
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
      <!--<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />-->
    </modules>
    <handlers>
      <remove name="ChartImage_axd" />
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
      <remove name="Telerik_Web_UI_DialogHandler_aspx" />
      <remove name="Telerik_RadUploadProgressHandler_ashx" />
      <remove name="Telerik_Web_UI_WebResource_axd" />
      <remove name="Telerik.ReportViewer.axd_*" />
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
      <add name="Telerik.ReportViewer.axd_*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" path="Telerik.ReportViewer.axd" verb="*" preCondition="integratedMode" />
    </handlers>   
  </system.webServer>
  <elmah>
    <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/App_Data" />
    <security allowRemoteAccess="0" />
  </elmah>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Telerik.OpenAccess.Web"
          publicKeyToken="7ce17eeaf1d59342"
          culture="neutral"/>
        <bindingRedirect oldVersion="2008.0.0.0-2013.2.702.1"
                         newVersion="2013.2.702.1"/>
      </dependentAssembly>
    </assemblyBinding>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Telerik.OpenAccess.Runtime"
          publicKeyToken="7ce17eeaf1d59342"
          culture="neutral"/>
        <bindingRedirect oldVersion="2008.0.0.0-2013.2.702.1"
                         newVersion="2013.2.702.1"/>
      </dependentAssembly>
    </assemblyBinding>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Telerik.OpenAccess.35.Extensions"
          publicKeyToken="7ce17eeaf1d59342"
          culture="neutral"/>
        <bindingRedirect oldVersion="2008.0.0.0-2013.2.702.1"
                         newVersion="2013.2.702.1"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>

Hopefully it's just something that I overlooked and an easy fix.... but I'm out of ideas.... so any help would be much appreciated!

Thanks,

Dustin
Dyanko
Telerik team
 answered on 15 Aug 2013
1 answer
70 views
Hi,

I have a scenario where I want the user to be able to type in the number of hours to allocate to a task on the Calendar. To do this I have created a textbox to enter the data into using:

Protected Sub RadCalendar1_DayRender(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.DayRenderEventArgs) Handles RadCalendar1.DayRender
    Dim label As New Label()
    label.Text = e.Day.[Date].Day.ToString()
    e.Cell.Controls.Add(label)
    Dim dayOfWeek As String = e.Day.[Date].DayOfWeek.ToString()
    If dayOfWeek <> "Saturday" And dayOfWeek <> "Sunday" Then
        Dim txtBox As New TextBox()
        txtBox.Text = "xx" 'Will be read from database
        e.Cell.Controls.Add(txtBox)
    End If
End Sub

The question I have now is how to I read all the days of the Calendar, get the contents of each textBox and do something with it? I would like to do this server side.

I've spent some time with the documentation without finding anything that fits the bill.

David Penny
Angel Petrov
Telerik team
 answered on 15 Aug 2013
3 answers
535 views
I have RadGrid getting data from client side.  I found that ItemStyle-HorizontalAlign="Center" was ignored (i.e. always left aligned)

        <telerik:RadGrid ID="grdModule" runat="server" AutoGenerateColumns="False" CellSpacing="0"
            GridLines="None" OnNeedDataSource="grdModule_NeedDataSource" AllowMultiRowSelection="true"
            AllowFilteringByColumn="True" OnItemCreated="grdModule_ItemCreated" AllowSorting="True"
            ShowFooter="true">
            <ClientSettings>
                <Selecting AllowRowSelect="true" />
                <ClientEvents OnRowSelected="grdModule_RowSelected" OnRowDeselected="grdModule_RowDeselected"
                    OnRowDataBound="grdModule_RowDataBound" OnCommand="grdModule_Command" />
                <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="400px" />
            </ClientSettings>
            <MasterTableView TableLayout="Auto" DataKeyNames="Id" ClientDataKeyNames="Id">
                <Columns>
                    <telerik:GridClientSelectColumn UniqueName="colSelect" HeaderStyle-Width="30px">
                    </telerik:GridClientSelectColumn>
                    <telerik:GridBoundColumn UniqueName="PinCount" DataField="PinCount" HeaderText="Pin Count"
                        DataFormatString="{0:N0}pin" DataType="System.Int32" SortExpression="PinCount"
                        HeaderStyle-HorizontalAlign="Left" HeaderStyle-Width="60px" ItemStyle-HorizontalAlign="Center">
                        <FilterTemplate>
                            <telerik:RadDropDownList ID="ddlPinCount" runat="server" ClientIDMode="Static" DataTextField="Value"
                                DataValueField="Key" Width="50px" OnClientSelectedIndexChanged="dropdownChanged">
                            </telerik:RadDropDownList>
                        </FilterTemplate>
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn UniqueName="Depth" DataField="Depth" HeaderText="Depth"
                        HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="68px">
                        <ClientItemTemplate>
                            #=formatDepth(Depth)#
                        </ClientItemTemplate>
                        <FilterTemplate>
                            <telerik:RadDropDownList ID="ddlDepth" runat="server" ClientIDMode="Static" DataTextField="Value"
                                DataValueField="Key" Width="60px" OnClientSelectedIndexChanged="dropdownChanged">
                            </telerik:RadDropDownList>
                        </FilterTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridBoundColumn UniqueName="DataWidth" DataField="DataWidth" HeaderText="Datawidth"
                        HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="110px">
                        <FilterTemplate>
                            <telerik:RadDropDownList ID="ddlDataWidth" runat="server" ClientIDMode="Static" DataTextField="Value"
                                DataValueField="Key" Width="105px" OnClientSelectedIndexChanged="dropdownChanged">
                            </telerik:RadDropDownList>
                        </FilterTemplate>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="Voltage" DataField="Voltage" HeaderText="Voltage"
                        HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="100px">
                        <FilterTemplate>
                            <telerik:RadDropDownList ID="ddlVoltage" runat="server" ClientIDMode="Static" DataTextField="Value"
                                DataValueField="Key" Width="90px" OnClientSelectedIndexChanged="dropdownChanged">
                            </telerik:RadDropDownList>
                        </FilterTemplate>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="Speed" DataField="Speed" HeaderText="Speed"
                        HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="160px">
                        <FilterTemplate>
                            <telerik:RadDropDownList ID="ddlSpeed" runat="server" ClientIDMode="Static" DataTextField="Value"
                                DataValueField="Key" Width="150px" OnClientSelectedIndexChanged="dropdownChanged">
                            </telerik:RadDropDownList>
                        </FilterTemplate>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="DRAMCount" DataField="DRAMCount" HeaderText="# DRAMs"
                        DataFormatString="{0:N0}" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="60px">
                        <FilterTemplate>
                            <telerik:RadDropDownList ID="ddlDRAMCount" runat="server" ClientIDMode="Static" DataTextField="Value"
                                DataValueField="Key" Width="55px" OnClientSelectedIndexChanged="dropdownChanged">
                            </telerik:RadDropDownList>
                        </FilterTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="DRAMOrg" DataField="DRAMOrg" HeaderText="DRAM Org"
                        HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="150px" ItemStyle-HorizontalAlign="Center">
                        <FilterTemplate>
                            <telerik:RadDropDownList ID="ddlDRAMOrg" runat="server" ClientIDMode="Static" DataTextField="Value"
                                DataValueField="Key" Width="140px" OnClientSelectedIndexChanged="dropdownChanged">
                            </telerik:RadDropDownList>
                        </FilterTemplate>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="Rank" DataField="Rank" HeaderText="# ranks"
                        HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="55px">
                        <FilterTemplate>
                            <telerik:RadDropDownList ID="ddlRank" runat="server" ClientIDMode="Static" DataTextField="Value"
                                DataValueField="Key" Width="40px" OnClientSelectedIndexChanged="dropdownChanged">
                            </telerik:RadDropDownList>
                        </FilterTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn UniqueName="Height" DataField="Height" HeaderText="Module height"
                        HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="130px">
                        <ClientItemTemplate>
                            #=formatHeight(Height)#
                        </ClientItemTemplate>
                        <FilterTemplate>
                            <telerik:RadDropDownList ID="ddlHeight" runat="server" ClientIDMode="Static" DataTextField="Value"
                                DataValueField="Key" Width="120px" OnClientSelectedIndexChanged="dropdownChanged">
                            </telerik:RadDropDownList>
                        </FilterTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>

I am using ASP.NET 4 and Telerik 2013.1.417.  Any idea?
Venelin
Telerik team
 answered on 15 Aug 2013
1 answer
246 views

In my login page, i use radtextbox as passord input box and radtoolbar button as [Login] button.

it works fine if user input password and  then click [Login] button by mouse.

but it had problem that if user input password and then press [ENTER]. it cannot capture the event and then login. 

the password will disappear and remain login page after press [ENTER].

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="IntranetPassword.aspx.vb" Inherits="Remuneration_IntranetPassword" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head id="Head1" runat="server">
</head>
<body >
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
      
     <TABLE BORDER=0 bgcolor="#FFFFFF" width="386" height="300">
         <tr>
            
            <TD width="400" height="42"
              <p align="justify">
              <p align="justify">
                  <asp:Label ID="lbDescription" runat="server" Text="This page is STRICTLY CONFIDENTIAL. Please input your intranet password again to validate your credential."></asp:Label>
                                         
              </TD>
          </TR>
            
          <TR bgcolor="#99CCFF"
            <TD height="1" width="400"> <FONT style="font-weight: bold; font-size: medium; color: #800000"></FONT>Please Enter Your Intranet Password </TD>
          </TR>
          <TR>
            <TD width="449" height="228" nowrap> 
              <div id="Layer1" style="position:absolute; width:184; height:191; z-index:1; left: 51; top: 204; background-image: url('../Images/login.gif'); border: 1px none #000000; background-repeat: no-repeat;"
                <table height="48" >
                  <tr>
                    <td height="42" width="167" nowrap colspan="2"> </td>
                  </tr>
                   
                  <tr>
                    <td width="167" height="1" nowrap colspan="2"
                        
                    </td>
                  </tr>
   
<tr>
                    <td width="167" height="9" colspan="2" nowrap> 
                      <div align="left"><b><br /><font size="2">   Intranet Password</font></b><font size="2">
                        </font
  
                      </div>
                      </td>    
                  </tr>
   
                <tr>
                    <td width="167" nowrap height="1" colspan="2"
       
                      <p align="right"
                      <telerik:RadTextBox ID="dfPassword" runat="server" Width="150px" TextMode="Password">
                   
                </telerik:RadTextBox>
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="* Required" ControlToValidate="dfPassword"></asp:RequiredFieldValidator>
                    
                    </td>    
                  </tr>
                <tr>
                    <td width="62" height="31"></td>
                    <td width="109" height="31" nowrap> 
    <telerik:RadToolBar ID="RadToolBar1" runat="server" Width="56px" AutoPostBack="true" OnButtonClick="RadToolBar1_ButtonClick">
        <Items>
            <telerik:RadToolBarButton Value="Save" Text="LOGIN" Width="40px" CommandName="DefaultButton">
            </telerik:RadToolBarButton>
            
        </Items>
    </telerik:RadToolBar>
           <asp:PlaceHolder runat="server" ID="ph_javascript">
<script type="text/javascript">
    function onEnter(e) {
        if (e.keyCode == 13) {
            window["<%=RadToolBar1.ClientID%>"].GetButtonByCommand("DefaultButton").EventClick(e);
        }
    }
  
    if (document.attachEvent) {
        document.attachEvent("onkeyup", onEnter);
    }
    else if (document.addEventListener) {
        document.addEventListener("keyup", onEnter, false);
    }
</script>
    </asp:PlaceHolder>
                      </td></tr>
                </table>
  
                  
                </div>
           </TD>
          </TR>
      <tr>
      <td>
                            
      </td>
      </tr>
          </TABLE>
  
  
    </form>
</body>
</html>

Code Behind:

Imports Telerik.Web.UI
  
Partial Class Remuneration_IntranetPassword
    Inherits System.Web.UI.Page
  
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
  
    End Sub
  
    Protected Sub RadToolBar1_ButtonClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadToolBarEventArgs) Handles RadToolBar1.ButtonClick
  
        If e.Item.Value = "Save" Then
            Dim dc As New dcHRISDataContext
  
            Dim rec = (From d In dc.UserDBs Where d.SID = GetProfile() Select d).FirstOrDefault
            If Not IsNothing(rec) Then
                If rec.Password = dfPassword.Text Then
  
  
                xxxxxxx
  
                End If
  
            End If
            lbDescription.Text = "The intranet password is incorrect."
            lbDescription.ForeColor = Drawing.Color.Red
        End If
  
    End Sub
  
  
End Class



Kate
Telerik team
 answered on 15 Aug 2013
10 answers
236 views
Hi,

Following error is happening:
Unhandled exception at line 108, column 1 in http://aspnet-scripts.telerikstatic.com/ajaxz/2012.3.1308/Ajax/Ajax.js
0x800a138f - JavaScript runtime error: Unable to get property 'id' of undefined or null reference...
In Ajax.js dynamic file
if(this.Type=="Telerik.Web.UI.RadAjaxManager"){if(e.get_postBackElement()!=this.get_element()){var h=this._updatePanels.split(",");
if(Array.contains(h,e.get_postBackElement().id))

I have 
<asp:Panel ID="divMain" runat="server" CssClass="maincenterDiv" ClientIDMode="Static">
<asp:RadioButtonList ID="rbType" runat="server" RepeatDirection="Horizontal" 
AutoPostBack="True" OnSelectedIndexChanged="rbTrip_SelectedIndexChanged" RepeatLayout="Flow">
<asp:ListItem Value="One"> One Way </asp:ListItem>
<asp:ListItem Value="Two" Selected="True"> Two Way </asp:ListItem>
</asp:RadioButtonList>
<telerik:RadComboBox ID="RadCBDestination" runat="server" ShowDropDownOnTextboxClick="false">
<Items>
<telerik:RadComboBoxItem runat="server" Text="Australia (AUS)" Value="AUS" />
<telerik:RadComboBoxItem runat="server" Text="ASIA (ASIA)" Value="ASIA" />
</Items>
</telerik:RadComboBox>
<telerik:RadDatePicker ID="radStartDate" runat="server" Culture="en-AU" 
HiddenInputTitleAttibute="Visually hidden input created for functionality purposes." 
WrapperTableSummary="Table holding date picker control for selection of dates." Skin="Metro">
<ClientEvents OnDateSelected="radStartDate_OnDateSelected" />
</telerik:RadDatePicker>
<asp:Panel ID="pnlUpdate" CssClass="rowSection" runat="server">
<telerik:RadDatePicker ID="radEndDate" runat="server">
</telerik:RadDatePicker>
</asp:Panel>
<telerik:RadAjaxManager ID="RADAM" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="rbType">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlUpdate" UpdatePanelRenderMode="Inline" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="btnSearch">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="divMain" LoadingPanelID="RADAJPanelBooking" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel runat="server" Skin="MetroTouch" ID="RADAJPanelBooking" 
ClientIDMode="Static"
        Style="top0left0positionabsoluteheight100%width100%" IsSticky="True">
    </telerik:RadAjaxLoadingPanel>
<asp:Button ID="btnSearch" CssClass="roundbutton" runat="server" AlternateText="Search" 
OnClick="btnSearch_Click" />
</asp:Panel>
<telerik:RadCodeBlock ID="radcode" runat="server">
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
    <script type="text/javascript" id="telerikClientEvents">        
        function radStartDate_OnDateSelected(sender, args) {
            var RADEndDate = $find("<%=radEndDate.ClientID%>");
            var date = sender.get_selectedDate();
            var retDate = RADEndDate.get_selectedDate();             
                     RADEndDate.set_selectedDate(date);
                     RADEndDate.set_minDate(date);
}                 
             
        }
        function RequestStart(sender, eventArgs) {
            var eventTarget = eventArgs.get_eventTarget();
            if (eventTarget.indexOf("btnSearch") != -1) {
                eventArgs.set_enableAjax(false);
            }
        }
    </script>      
</telerik:RadCodeBlock>


This is happening only if radio button rbType has Selected="true".
If we click radiobutton first and fill the form and click search it is showing loading panel.
But If we don't click radiobutton and fill the form and click search it is giving error.

So I would assume some id is not set in the first load. It is giving error.
And when post back happened i.e after clicking radio button the id got loaded and  it is working.

How to solve this?

Best Regards,
Damodar
Maria Ilieva
Telerik team
 answered on 15 Aug 2013
2 answers
230 views
I am trying to upload files to a folder and have been foloowing the examples online, but always get the following error.  It uploads a funky fiel name to the tempfolder then trys to find the file and upload, what is strange is that if more than 1 file it finds all but the last one and then erros out.  Dont get this one.

telerik:RadAsyncUpload ID="RadUpload" runat="server" Width="260px" AllowedFileExtensions="pdf, docx, doc, xfdl" MultipleFileSelection="Automatic"
TargetFolder="~/Uploads" TemporaryFolder="~/Uptemp"></telerik:RadAsyncUpload>
 
 
 
 'Upload all the files to a permanent location
            For Each file As UploadedFile In attachments.UploadedFiles
                Dim TargetFolder As String = attachments.TargetFolder
                file.SaveAs(TargetFolder & "Name " & file.GetName.ToString)
 
                sql = "Insert PriorServiceUpload (intPriorServiceId, strUrl) VALUES (" & PriorId & ", '" & file.FileName & "')"
 
                insertUpdateDelete(sql)
            Next


Could not find file 'C:\inetpub\wwwroot\Recruiting\Uptemp\fpgummmw.syg'.
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 find file 'C:\inetpub\wwwroot\Recruiting\Uptemp\fpgummmw.syg'.
 
Source Error:
 
Line 54:             For Each file As UploadedFile In attachments.UploadedFiles
Line 55:                 Dim TargetFolder As String = attachments.TargetFolder
Line 56:                 file.SaveAs(TargetFolder & "Name " & file.GetName.ToString)
Kevin
Top achievements
Rank 1
 answered on 15 Aug 2013
0 answers
134 views
This has been solved.


Felipe Casanova
Top achievements
Rank 1
 asked on 15 Aug 2013
1 answer
138 views
hi,
I updated my telerik dll's with new one's.Then after i observed rad combo box styles are changed,
Please find the attachment...
Updated dll's are listed below.

1.Telerik.Web.Design.dll
2.Telerik.Web.UI.Skins.dll
3.Telerik.Web.UI.dll
Magdalena
Telerik team
 answered on 15 Aug 2013
1 answer
120 views
My combobox filter only works the first time it is selected.
I am using the same user control on the page multiple times so I need a unique javascript function name

<telerik:RadGrid ID="grvProjectSummary" runat="server"
    AllowAutomaticDeletes="True" AllowFilteringByColumn="True" AllowPaging="True"
    AllowSorting="True" AutoGenerateColumns="False" CellSpacing="0"
    CssClass="eGrantsGroupBox" GridLines="None"
    PageSize="25" Skin="Office2010Blue" Width="100%">
    <HeaderStyle CssClass="eGrantsGridHeader" />
    <ItemStyle CssClass="eGrantsTableRow" />
    <AlternatingItemStyle CssClass="eGrantsTableAltRow" />
    <GroupingSettings CaseSensitive="false" />
    <MasterTableView CommandItemDisplay="Bottom" DataKeyNames="GrantProjectPK, AgencyFK"
        ShowHeadersWhenNoRecords="true" TableLayout="Fixed">
        <CommandItemSettings ExportToPdfText="Export to PDF"
            ShowAddNewRecordButton="False" ShowExportToCsvButton="True"
            ShowExportToExcelButton="True" ShowExportToPdfButton="True"
            ShowExportToWordButton="True" ShowRefreshButton="True" />
        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
        </RowIndicatorColumn>
        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
        </ExpandCollapseColumn>
        <Columns>

            <telerik:GridNumericColumn Aggregate="Count" AllowFiltering="False"
                DataField="GrantProjectPK" DecimalDigits="2"
                FilterControlAltText="Filter GrantProjectPKColumn column" HeaderText="&nbsp;"
                ReadOnly="True" ShowFilterIcon="False" SortExpression="GrantProjectPK"
                UniqueName="GrantProjectPKColumn">
                <HeaderStyle Width="40px" />
                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="40px" />
            </telerik:GridNumericColumn>

            <telerik:GridBoundColumn AutoPostBackOnFilter="true" Visible="true"
                CurrentFilterFunction="Contains" DataField="AgencyName"
                FilterControlWidth="100px" HeaderText="Agency/LEA" ShowFilterIcon="true"
                SortExpression="AgencyName"
                UniqueName="AgencyNameColumn">
                <HeaderStyle HorizontalAlign="Left" Width="180px" />
                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="180px" />
            </telerik:GridBoundColumn>

            <telerik:GridBoundColumn AutoPostBackOnFilter="true" Visible="false"
                CurrentFilterFunction="Contains" DataField="GrantProgramTypeTitle"
                FilterControlWidth="60px" HeaderText="Program Title" ShowFilterIcon="true"
                SortExpression="GrantProgramTypeTitle"
                UniqueName="GrantProgramTypeTitleColumn">
                <HeaderStyle HorizontalAlign="Left" Width="180px" />
                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="180px" />
            </telerik:GridBoundColumn>

            <telerik:GridBoundColumn UniqueName="columnAUNumber" AutoPostBackOnFilter="true"
                ReadOnly="true" CurrentFilterFunction="Contains" DataField="AUNumber" HeaderText="AUN"
                ShowFilterIcon="true" SortExpression="AUNumber" FilterControlWidth="60px">
                <HeaderStyle Width="100px"></HeaderStyle>
                <ItemStyle Width="100px" HorizontalAlign="Left" />
            </telerik:GridBoundColumn>

            <telerik:GridTemplateColumn DataField="StepName" HeaderText="Workflow Step" UniqueName="StepName" SortExpression="StepName">
                <HeaderStyle HorizontalAlign="Left" Width="120px" />
                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="120px" />
                <FilterTemplate>
                    <telerik:RadComboBox ID="rcmbStepFilter" DataSourceID="SqlDataSource3" Width="110px" Skin="Office2010Blue"
                        DataTextField="StepName"
                        DataValueField="StepName" AppendDataBoundItems="true"
                        SelectedValue='<%# TryCast(Container, GridItem).OwnerTableView.GetColumn("StepName").CurrentFilterValue%>'
                        runat="server">
                        <Items>
                            <telerik:RadComboBoxItem />
                        </Items>
                    </telerik:RadComboBox>
                    <telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">
                        <script type="text/javascript">
                            function SelectedIndexChanged_<%= ClientID %>(sender, args) {
                                var tableView = $find("<%# TryCast(Container, GridItem).OwnerTableView.ClientID %>");
                                tableView.filter("StepName", args.get_item().get_value(), "EqualTo");
                            }
                        </script>
                    </telerik:RadScriptBlock>
                </FilterTemplate>
                <ItemTemplate>
                    <%# Eval("StepName")%>
                </ItemTemplate>
            </telerik:GridTemplateColumn>

            <telerik:GridDateTimeColumn UniqueName="columnSubmitDate"
                DataField="SubmitDate.date" HeaderText="Submit Date" FilterControlWidth="80px"
                SortExpression="SubmitDate.date" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}"
                ShowFilterIcon="true" CurrentFilterFunction="EqualTo">
                <HeaderStyle HorizontalAlign="Left" Width="120px" />
                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="120px" />
            </telerik:GridDateTimeColumn>
                        
            <telerik:GridBoundColumn AutoPostBackOnFilter="true"
                CurrentFilterFunction="Contains" DataField="LastName" AllowFiltering="false"
                FilterControlWidth="60px" EmptyDataText="Unassigned"
                HeaderText="Assigned To" ShowFilterIcon="false" SortExpression="LastName"
                UniqueName="AssignedToColumn">
                <HeaderStyle HorizontalAlign="Left" Width="100px" />
                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="100px" />
            </telerik:GridBoundColumn>

            <telerik:GridButtonColumn UniqueName="SelectCommandColumnNoAjax"
                ButtonType="ImageButton" Text="Assign Reviewers"
                ImageUrl="~/images/users_add.png"
                CommandArgument="" CommandName="AssignUsers"
                ItemStyle-HorizontalAlign="Center">
                <HeaderStyle Width="40px"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="40px"></ItemStyle>
            </telerik:GridButtonColumn>

            <telerik:GridButtonColumn ButtonType="ImageButton" CommandArgument=""
                CommandName="SEL" ImageUrl="~/images/select_program_sm.gif" Text="View Program"
                UniqueName="SelectCommandColumn">
                <HeaderStyle Width="40px" />
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="40px" />
            </telerik:GridButtonColumn>

            <telerik:GridButtonColumn ButtonType="ImageButton" CommandArgument=""
                CommandName="REVIEW" ImageUrl="~/images/review.png" Text="Review"
                UniqueName="ReviewCommandColumn">
                <HeaderStyle Width="40px" />
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="40px" />
            </telerik:GridButtonColumn>

            <telerik:GridNumericColumn Aggregate="Count" AllowFiltering="False"
                DataField="ProjectStatusWorkflowRouteStepPK"
                HeaderText="&nbsp;" ReadOnly="True" ShowFilterIcon="False" Visible="False"
                UniqueName="ProjectStatusWorkflowRouteStepPKColumn">
                <HeaderStyle Width="40px" />
                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="40px" />
            </telerik:GridNumericColumn>

        </Columns>
    </MasterTableView>
    <ClientSettings>
        <Resizing AllowColumnResize="True" />
    </ClientSettings>
    <FilterMenu EnableEmbeddedSkins="False" EnableImageSprites="False">
    </FilterMenu>
    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"
        EnableEmbeddedSkins="False">
    </HeaderContextMenu>
</telerik:RadGrid>

    Private Sub SetFilterComboScript()
        For Each filterItem As GridFilteringItem In grvProjectSummary.MasterTableView.GetItems(GridItemType.FilteringItem)
            Dim rcmbStepFilter As RadComboBox = DirectCast(filterItem.FindControl("rcmbStepFilter"), RadComboBox)
            rcmbStepFilter.OnClientSelectedIndexChanged = "SelectedIndexChanged_" + Me.ClientID
        Next
    End Sub

    Private Sub grvProjectSummary_NeedDataSource(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles grvProjectSummary.NeedDataSource
        _ProjectWorkflowRouteType = ViewState("ProjectWorkflowRouteType")
        Dim myFilter As Integer = ViewState("myFilter")
        Dim GrantProgramFK As Integer = CInt(ddlGrantPrograms.SelectedValue)
        Dim UserFK As Integer = CInt(Session(eGrantsConst_Session.USER_LOGIN_ID))
        If HttpContext.Current.User.IsInRole(eGrantsConst_Role.BUREAU_REVIEW_MANAGER) Then
            If ddlReviewers.SelectedValue > 0 Then
                UserFK = ddlReviewers.SelectedValue
            End If
        End If
        grvProjectSummary.DataSource = BLL.BusObjects.ReviewBO.GetReviewWorkQueuProjectsByBureauFKGrantProgramYearFKRouteTypeFKUserFK(Session(eGrantsConst_Session.SELECTED_PROGRAM_YEAR), _
                                                                                                                                        CInt(Session(eGrantsConst_Session.SELECTED_BUREAU_ID)), _
                                                                                                                                        CInt(Session(eGrantsConst_Session.SELECTED_PROGRAM_YEAR_ID)), _
                                                                                                                                        _ProjectWorkflowRouteType, _
                                                                                                                                        UserFK, _
                                                                                                                                        GrantProgramFK, _
                                                                                                                                        myFilter)
        SetFilterComboScript()
    End Sub
Don
Top achievements
Rank 1
 answered on 15 Aug 2013
1 answer
158 views
Hi,

I have been an avid Telerik user for about 7 years now and am having a problem that I have never experienced before. I recently upgraded a website from .net 4.0 to .net 4.5 as well as pointed my site at the "bin45" versions of the RadControls dll's. Problem is, now when I publish my app it publishes the bin40 dll, even though it clearly shows in my project that I have the bin45 dll. I have checked the properties of the dll and viewed the path stored in the skin's refresh file -- all is pointing to "45". I am at a loss. I am now in the maddening situation where I have to remember to manually copy the bin45 version of the skins dll over evertime I publish. Help!
Andrey
Telerik team
 answered on 15 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?