Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
We are getting an error when we try to deploy our web application, 
Could not load file or assembly 'Telerik.Web.UI, Version=2012.2.815.40, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxx'

From what I have read in some other places there is supposed to be something in the web.config that we change. BUT in our web.config we don't see anything with the Telerik.Web.UI that states a version number?  

We just have these in our httpHandlers 
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="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>

And this in our <controls>
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>

Where else would the version number be stated. We published and deployed our web app using Visual Studio 2012.
Another version of our web app worked and had the version 2012.2.815.40.dll in the bin.  But the version we are pushing out we are using 2011.1.519.40.  

So it seems we need to add the newer version of the DLL to our recently pushed project. BUT when we put the 2012.2.815.40.dll
back in the /bin folder, we get a different error saying we need to reference the 2011.1.519.40.  

What is our problem?  Where else, other than the web.config, would the version number be for our Telerik references????????

Thanks in advance.

 



Pavlina
Telerik team
 answered on 12 Mar 2013
5 answers
708 views
I have declared the scriptManager in the Main Master page.  This Master page calls a control which needs the TabStrip control on it.

When the code for instantiating radstripcontrol is added I get the following error: System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

My MasterPage code is:

<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="ScriptManager1" runat="server" ScriptMode="Release"
        EnablePageMethods="True" EnableScriptCombine="False"
        EnableScriptGlobalization="True">
    </telerik:RadScriptManager>
       
        <cc:Navigation ID="navSite" runat="server" />
        <div>
            <asp:ContentPlaceHolder ID="cphTop" runat="server"></asp:ContentPlaceHolder>
        </div>
        <br />
    </form>
</body>

The code on the Control is:

<%@ Import Namespace="System.Xml" %>

<%@ Control Language="C#" AutoEventWireup="true"
    CodeFile="~/controls/Navigation.ascx.cs" Inherits="controls_Navigation" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>    
<!-- Navigation -->
<table class="nav" cellspacing="0" cellpadding="0">
<tr class="navrow"><td colspan="2">
    <table class="navrow" cellspacing="0" cellpadding="0">
    <tr id="navrow1">
    <asp:Repeater ID="repNav" runat="server">
        <ItemTemplate>
            <telerik:RadTabStrip ID="ItemDetailTabStrip" runat="server" SelectedIndex="0" MultiPageID="TabStripMultiPage"
            Skin="Outlook" BorderColor="#B3C17D" Width="958px" >
            <Tabs>
                <telerik:RadTab Text="Key Fields &amp; Smart Terms&#153" BorderColor="#B3C17D">
                </telerik:RadTab>
                <telerik:RadTab Text="Results" BorderColor="#B3C17D">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        </ItemTemplate>
    </asp:Repeater>
    <td style="width:100%; text-align:right; padding: 0px 0px 5px 0px;"
        >&nbsp;</td>
    </tr>
    </table>
</td></tr>
</table>

Could you please advise me what to do to overcome the persistent error?
Thanks.
Nencho
Telerik team
 answered on 12 Mar 2013
1 answer
71 views
Is view state required to perform muti-column filtering? If not, can someone point me to a decent demo of multi-column filtering with view state is disabled. The 2013 Q1 update broke all of our grids where we disabled view state for performance gains and we were able to have multi column filtering. This is a BIG step backwards if view state is required.
Andrey
Telerik team
 answered on 12 Mar 2013
1 answer
73 views
Hi

I have a simple RadAutoCompleteBox as follows :-

<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div>
    <telerik:RadAutoCompleteBox ID="RadAutoCompleteBox1" runat="server"
        DataTextField="Name" DataValueField="Id" DataSourceID="XmlDataSource1"
        />
 
<asp:XmlDataSource runat="server" ID="XmlDataSource1" DataFile="Persons.xml">
</asp:XmlDataSource>
 
</div>
</form>
and the XML File looks like this

<?xml version="1.0" encoding="utf-8"?>
<Persons>
  <Person>
    <Id>1</Id>
    <Name>Rita</Name>
    <Surname>Nelson</Surname>
    <Age>59</Age>
  </Person>
  <Person>
    <Id>2</Id>
    <Name>Simon</Name>
    <Surname>West</Surname>
    <Age>59</Age>
  </Person>
  <Person>
    <Id>3</Id>
    <Name>Richard</Name>
    <Surname>Mitchell</Surname>
    <Age>59</Age>
  </Person>
  <Person>
    <Id>4</Id>
    <Name>Alison</Name>
    <Surname>McGrath</Surname>
    <Age>59</Age>
  </Person>
</Persons>

However I am getting this error in a popup on keystroke

System.Web.UI.WebControls.XmlDataSoureNodeDescriptor does not contain a property with the name "Name"

What am I doing wrong?

Thanks for your help
Bozhidar
Telerik team
 answered on 12 Mar 2013
3 answers
110 views
Hello Sir/Madam,

I m using tab strip in my project. In screen shot(grid1.png) that i have attached u can see (final estimate) is one tab strip and (By companies, By MRFQ, By Estimate) is sub tab of current tab strip so now i want when page loads first time it should be collapsed means only (final Estimate) should be shown and when i click first time on(Final Estimate ) it should be Exapand and all tabs should be display and again when i click second time on (final estimate) it should again collapsed and so on.

Thanks In advance.
Nencho
Telerik team
 answered on 12 Mar 2013
3 answers
101 views
Hello, is it possible to select multiple TImeslots in TimelineView by clicking a Timeslot and dragging mouse over them to add a new Appoinment? If yes, how can i do that?





Thanks in advance
Plamen
Telerik team
 answered on 12 Mar 2013
1 answer
86 views
Hello I have subject related question,

I have a rad gird with images per row that shows a tooltip on click from code (like this example http://demos.telerik.com/aspnet-ajax/tooltip/examples/radtooltipmanagerclientapi/defaultcs.aspx).

after multiple tooltips are closed, I need to know if there is a way to remove the resulted DIVs the are on the end of page ?
cause am using scripts that calls controls with certain IDs and those DIVs have those controls with the same IDs which causes problems.

please advise
Marin Bratanov
Telerik team
 answered on 12 Mar 2013
1 answer
170 views
I downloaded the latest version from My Products. Activation failed, this error in even log:

Exception message: Failed to instantiate file "TelerikSPRadGridWebPart.dwp" from module "TelerikSPRadGridWebPart": Source path "Features\RadGridFeature\RadGridSharePoint\TelerikSPRadGridWebPart\TelerikSPRadGridWebPart.dwp" not found.


The path where it is actually located:
FEATURES\RadGridFeature\TelerikSPRadGridWebPart\TelerikSPRadGridWebPart.dwp

I created the missing RadGridSharePoint folder, moved the files where they should be and was able to activate the feature on the root site collection and configure the SPRadGrid Feature.   When I try it on another site collection, I can activate the SPRadGrid Feature, but I get an error once it is configured. 

Web Page error
 

Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

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:

[NullReferenceException: Object reference not set to an instance of an object.] Telerik.Ajax.SharePoint.GridSPListTableViewBuilder.BuildGridStructureInternal(SPListBindingStructure tableView, GridTableView gridTableView) +305 Telerik.Ajax.SharePoint.GridSPListTableViewBuilder.BuildDataStructure() +105 Telerik.Ajax.SharePoint.SPListBinder.SetUpGridControlOnInitialLoad() +138 Telerik.Ajax.SharePoint.GridBindingManager.CreateRadGridControl() +436 Telerik.Ajax.SharePoint.TelerikSPRadGridWebPart.CreateRadGridControl() +45 Telerik.Ajax.SharePoint.TelerikSPRadGridWebPart.CreateChildControls() +31 System.Web.UI.Control.EnsureChildControls() +145 Telerik.Ajax.SharePoint.TelerikDataBoundWebPart.OnInit(EventArgs e) +35 System.Web.UI.Control.InitRecursive(Control namingContainer) +142 System.Web.UI.Control.AddedControl(Control control, Int32 index) +270 System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart) +304 System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPart(WebPart webPart) +1937774 System.Web.UI.WebControls.WebParts.WebPartManagerInternals.AddWebPart(WebPart webPart) +63 Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartWithRetry(WebPart webPart) +746 Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts) +7123 Microsoft.SharePoint.WebPartPages.SPWebPartManager.LoadWebParts() +146 Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPageInitComplete(Object sender, EventArgs e) +288 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Page.OnInitComplete(EventArgs e) +11070286 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1674 



Event Log
WebHost failed to process a request. 
Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/62368453

 Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/Telerik.Ajax.SharePoint/gridbindingservice.svc' cannot be activated due to an exception during compilation.  The exception message is: Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.. ---> System.NotSupportedException: Security settings for this service require 'Anonymous'

Marin
Telerik team
 answered on 12 Mar 2013
1 answer
362 views
I am attempting to open a radWindow from C# codebehind (using VS 2008, Telerik.Web.UI version 2012.2.724.35), however, I am getting this error:

Microsoft JScript runtime error: Unable to get value of the property 'open': object is null or undefined

My aspx code is:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>


<script type="text/javascript">
    function OpenRadWindow() {
        var wnd = window.radopen("http://www.microsoft.com", null);
        wnd.setSize(300, 400);
        return false;
    }
</script>

The serverside code is: 
protected void Page_Load(object sender, EventArgs e)
{
    Page.ClientScript.RegisterStartupScript(this.GetType(), "getting data", "OpenRadWindow();", true);
}

What is causing the error?
Marin Bratanov
Telerik team
 answered on 12 Mar 2013
3 answers
96 views
Hi, I have a tooltip inside a splitter.  When I set modal = true, this greys out the splitter content only and not the whole page.  I tried using RenderInPageRoot = true which fixes the modal issue, but my ToolTip has a RadAjaxPanel inside and when RenderInPageRoot is true the AjaxPanel stops udpating.  Can you please help?  All I need is for the modal to grey out and disable the whole page.

Thanks a lot,
Rimma
Marin Bratanov
Telerik team
 answered on 12 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?