Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
188 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
374 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
113 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
2 answers
279 views

Hi,

I have a problem with telerik rad grid where jquery validation engine is not firing with rad ajax manager. 

 <telerik:RadAjaxManager ID="radAjaxManager" runat="server" DefaultLoadingPanelID="radAjaxLoadingPanel">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnMessage">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlMessageOverlay" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

If i comment the ajax manager code, then the jquery validation fires fine. Can you please let me know what needs to be done to fix this?

Kind Regards,
Mohamed Riazuddin
Pavlina
Telerik team
 answered on 12 Mar 2013
1 answer
158 views
HI,
I have multiple reports and one report viewer form to show all of the reports.  The data for the report is comes form a grid.How to load all of them in a one report viewer.

Thanks & Regards
Anzar.M
Squall
Top achievements
Rank 1
 answered on 12 Mar 2013
3 answers
188 views


Greetings, 

Does RadStyleSheetManager already provide a way to include stylesheets external to the root directory of an application that I have not found?

For example, is there a way to set each of the RadStyleSheetManager.StyleSheets as hyperlinks in the code behind?

If not, why not ?  & is this a planned enhancement ? 

Take the following two examples : 

 Example1: Relative-to-root path fail. 
 Complies fine, but will error at runtime with "cannot use a leading .. to exit above the top directory" (.net constraint, not bug nor Telerik constraint).

<telerik:RadStyleSheetManager ID="RadStyleSheetManager" runat="server" OutputCompression="AutoDetect" EnableStyleSheetCombine="true">
       <StyleSheets>
           <telerik:StyleSheetReference Path="~/../../../WebAssets/Styles/mainstyles.css"/>
           <telerik:StyleSheetReference Path="~/../../../WebAssets/Styles/extrastyles.css"/>
       </StyleSheets>
</telerik:RadStyleSheetManager>

<appSettings>
   <add key="Telerik.Web.UI.StyleSheetFolders" value="~/../../../WebAssets/Styles"/>
</appSettings>


Example2:  virtual directory fail. 
.AXD can't serve the resources at all becuase it can't find them even though these paths are correct at runtime if linked 'normally'.
<telerik:RadStyleSheetManager ID="RadStyleSheetManager" runat="server" OutputCompression="AutoDetect" EnableStyleSheetCombine="true">
       <StyleSheets>
           <telerik:StyleSheetReference Path="~/VirtualDirWebAssets/Styles/mainstyles.css"/>
           <telerik:StyleSheetReference Path="~/VirtualDirWebAssets/Styles/extrastyles.css"/>
       </StyleSheets>
</telerik:RadStyleSheetManager>

<appSettings>
   <add key="Telerik.Web.UI.StyleSheetFolders" value="~/VirtualDirWebAssets/Styles"/>
</appSettings>


Genady Sergeev
Telerik team
 answered on 12 Mar 2013
1 answer
123 views
 
Shinu
Top achievements
Rank 2
 answered on 12 Mar 2013
2 answers
115 views
Is it possible to set the scheduler control in group mode when using webservice binding without doing a postback? The user should be able to switch from group mode to 'normal' mode.
Benny
Top achievements
Rank 1
 answered on 12 Mar 2013
5 answers
198 views
Hi,
In my visual studio intellisense radsearchbox is missing. i m using telerik 2012 dll. please help.

Thank you.
Saira.
Princy
Top achievements
Rank 2
 answered on 12 Mar 2013
1 answer
54 views
Hi,

I tried to build the new Controls from source. The problem is that when I use the Controls I get a message about Unobtrusive Validiation on most pages. If I use the suppiled dll for .net4.5 this problem does not occur.

The reason is that we need to change the green color in the black theme to orange.

How can I resolve this?

Best Regards
Daniel
Genady Sergeev
Telerik team
 answered on 12 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?