Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
61 views
We have recently upgrade to the new version of the telerik.Web.UI control (2010.2.713.35) from the old version (2009).
However, once we open the table property page, it throws the error message "The ToolName property must be set!

Below is the piece of the code, we make the content editor with the EditorTools.
  EditorTool tool = new EditorTool(ep.FunctionName);
  toolGroup.Tools.Add(tool):

The rest Editor tool works fine such like Hyberlink manager, image manager ect.

In addition, we try to assign the tool.Name at code level, unlucky, it will still throw the same error.


                            EditorTool tool = new EditorTool(myEP.FunctionName);
                            toolGroup.Tools.Add(tool);
                            EditorTool tool = new EditorTool(myEP.FunctionName);
                            toolGroup.Tools.Add(tool);
                            EditorTool tool = new EditorTool(myEP.FunctionName);
                            toolGroup.Tools.Add(tool);
                            EditorTool tool = new EditorTool(myEP.FunctionName);
                            toolGroup.Tools.Add(tool);
                            EditorTool tool = new EditorTool(myEP.FunctionName);
                            toolGroup.Tools.Add(tool);

                            EditorTool tool = new EditorTool(myEP.FunctionName);
                            toolGroup.Tools.Add(tool);
                            EditorTool tool = new EditorTool(myEP.FunctionName);
                            toolGroup.Tools.Add(tool);

Rumen
Telerik team
 answered on 09 Dec 2010
1 answer
59 views
Hi,
in my web page I have a RadGrid that uses the property UseStaticHeaders set to true. If I reload the page the grid's columns change their width and I see a movement. How can I avoid this without removing UseStaticHeaders = true?
Iana Tsolova
Telerik team
 answered on 09 Dec 2010
4 answers
230 views
I have been using VS2010 Beta 2, and have just downloaded the trial of 2009 Q3 Asp.Net Rad Controls, but when I go the design view of webpage I get the "Error Creating Control" on all of the Rad Controls, however using the code behind page I can access the Telerik.Web.UI no problems.

When in the Web Page Source code mode, i get the following on all Telerik tags: Unrecognized tag prefix or device filter.  The type of code is below.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
    </telerik:RadAjaxManager> 

I have checked the web.config and all look OK:
            <controls> 
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>  
            </controls> 

However the website Run OK on execution?

Any ideas?
Martin
Top achievements
Rank 1
 answered on 09 Dec 2010
3 answers
288 views
Hi everyone,

Please help me to enable ajax for telerik:RadGrid (assembly="Telerik.Web.UI")

I'm using EnableAjaxSkinRendering="True" but ajax does not work.

Thanks in advance

  <telerik:RadGrid ID="_radGridListInfulfillmentOrder" runat="server" Skin="" AutoGenerateColumns="false"
            AllowSorting="true" OnNeedDataSource="RadGridListInfulfillmentOrderNeedDataSource"
            OnItemCommand="RadGridListInfulfillmentOrderItemCommand" EnableAjaxSkinRendering="True">
            <MasterTableView DataKeyNames="OrderID" EditMode="PopUp" ShowHeader="true" GridLines="None"
                CommandItemDisplay="None" NoMasterRecordsText="No data" CommandItemSettings-AddNewRecordText="List In-fulfillment Order"
                AllowNaturalSort="false">
                <Columns>
                    <telerik:GridTemplateColumn UniqueName="MyCustomTemplateColumn" ShowSortIcon="false">
                        <HeaderTemplate>
                            <table id='neworderlist' cellspacing='0'>
                                <tr>
           
  <telerik:RadGrid ID="_radGridListInfulfillmentOrder" runat="server" Skin="" AutoGenerateColumns="false"
            AllowSorting="true" OnNeedDataSource="RadGridListInfulfillmentOrderNeedDataSource"
            OnItemCommand="RadGridListInfulfillmentOrderItemCommand" EnableAjaxSkinRendering="True">
            <MasterTableView DataKeyNames="OrderID" EditMode="PopUp" ShowHeader="true" GridLines="None"
                CommandItemDisplay="None" NoMasterRecordsText="No data" CommandItemSettings-AddNewRecordText="List In-fulfillment Order"
                AllowNaturalSort="false">
                <Columns>
                    <telerik:GridTemplateColumn UniqueName="MyCustomTemplateColumn" ShowSortIcon="false">
                        <HeaderTemplate>
                            <table id='neworderlist' cellspacing='0'>
                                <tr>
           
  <telerik:RadGrid ID="_radGridListInfulfillmentOrder" runat="server" Skin="" AutoGenerateColumns="false"
            AllowSorting="true" OnNeedDataSource="RadGridListInfulfillmentOrderNeedDataSource"
            OnItemCommand="RadGridListInfulfillmentOrderItemCommand" EnableAjaxSkinRendering="True">
            <MasterTableView DataKeyNames="OrderID" EditMode="PopUp" ShowHeader="true" GridLines="None"
                CommandItemDisplay="None" NoMasterRecordsText="No data" CommandItemSettings-AddNewRecordText="List In-fulfillment Order"
                AllowNaturalSort="false">
                <Columns>
                    <telerik:GridTemplateColumn UniqueName="MyCustomTemplateColumn" ShowSortIcon="false">
                        <HeaderTemplate>
                            <table id='neworderlist' cellspacing='0'>
                                <tr>
           
  <telerik:RadGrid ID="_radGridListInfulfillmentOrder" runat="server" Skin="" AutoGenerateColumns="false"
            AllowSorting="true" OnNeedDataSource="RadGridListInfulfillmentOrderNeedDataSource"
            OnItemCommand="RadGridListInfulfillmentOrderItemCommand" EnableAjaxSkinRendering="True">
            <MasterTableView DataKeyNames="OrderID" EditMode="PopUp" ShowHeader="true" GridLines="None"
                CommandItemDisplay="None" NoMasterRecordsText="No data" CommandItemSettings-AddNewRecordText="List In-fulfillment Order"
                AllowNaturalSort="false">
                <Columns>
                    <telerik:GridTemplateColumn UniqueName="MyCustomTemplateColumn" ShowSortIcon="false">
                        <HeaderTemplate>
                            <table id='neworderlist' cellspacing='0'>
                            
Maria Ilieva
Telerik team
 answered on 09 Dec 2010
1 answer
56 views
I have started getting occasional errors logged from our web server.

It looks like a specific user, and possibly only some of the time.  If it happens AJAX won't work on our site (I imagine), which would make using it quite difficult .  There are maybe 200 users, who are usually on all day, but no-one has complained (yet).

This is error, logged from our default error page.  The end of the axd decoration has obviously got corrupted with some javascript.
Why does the same corrupt filename get referenced time and again ?  Has the browser cached it ?

The page you requested cannot be found.

Request RawUrl = /SeaPlanner/ScriptResource.axd?d=MZN8mrjHFHeJS_HFuw_hoFXoRri86JQ_-n6xsd10tRLAuzBPjqE1NaoSazV5LzG-X6cWyuwm-ikDSRGesWeS0t8fMPuiMKYEafpSBgnMVfaRuzktBack('ctl00$mnuMain','Log%20Off')

Referrer http://.../Seaplanner/default.aspx

UserHostAddress 81.132.73.121

UserHostName 81.132.73.121

12/2/2010 11:54:54 AM,

System.Web.Extensions,

This is an invalid script resource request.,

 

   at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

The uncorrupted axd file starts thusly:
// Name:        MicrosoftAjaxWebForms.debug.js
// Assembly:    System.Web.Extensions
// Version:     3.5.0.0
// FileVersion: 3.5.30729.3644
//-----------------------------------------------------------------------
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------
// MicrosoftAjaxWebForms.js
// Microsoft AJAX ASP.NET WebForms Framework.

Any ideas ????
Iana Tsolova
Telerik team
 answered on 09 Dec 2010
0 answers
71 views
I have a page that has a RadMenu and a RadGrid used together. The RadGrid is used in client-side mode. This means that the loading, saving, editing and creation of new records is done via ajax. The grid seems to work fine but after sometime it appears that The menu dropdowns tend to be slower and after more use the entire page freezes. I am not sure whether it is this combo that causes this effect or either of the controls since a lot of js is being used to automate the menu dropdown and the ajax calls to the. This is the order in which the error is reprodcuded.
 
The menu control is located up above in a separate iframe and the grid is below in a separate iframe. This makes the scenario more peculiar since different js files are loaded in two iframes and there is no interaction between the two.
 
What could be the cause of the sudden freezing, a memory leak perhaps? Better still could it be a general problem when a lot of ajax interactions occur and other events are fired before the callbacks return?
 
On the video once can see that when the grid page loads everything seems fine, but after firing some events and performing some actions, the menu starts taking a lot of time to load. It reaches a point that it takes such a long time for the drop downs to display and eventually the entire browser tab freezes.

I have uploaded a video of the effects and here is the link:
http://megaswf.com/simple_serve/87153/
Waliaula
Top achievements
Rank 1
 asked on 09 Dec 2010
1 answer
78 views
Hi,

I'm using a tooltip along with RadToolTipManager.  On some instances, the saving of a tooltip is unsuccessful and I'm not completely sure why. 

I've a got a button that does a postback which is caught in the OnAjaxUpdate event.

There is no error generated when the save is unsuccessful.

How does RadToolTipManager handle errors?  Is there a way to catch those ajax errors that might occur?

Thanks,

Coy
Svetlina Anati
Telerik team
 answered on 09 Dec 2010
1 answer
204 views
Using the Web2.0 skin and the Rad ListBox and GridView, I'm not seeing images - check boxes, update "finger", arrows, etc.  No custom icons are showing in any control.  However, styles are applied, colors, clean gradients, etc so the control is seeing the Web2.0 styling, but I'm feeling like I'm missing a step here.

I was under the undertanding that the embedded DLL would contain all the image files and CSS and there is/was no need to copy sprite files, CSS, or images manually.  However, I see a ton of posts about doing just that - presumably on earlier iterations.

Please advise.  Do I need to copy images?  If so, from where to where?  I opened up the Telerik folder and every control has it's own couple images - seems like a lot of cut/paste work it's not like there's one folder with Web2.0 images.

Sorry for the beginner question.   I haven't found a really clear setup workflow tutorial for VS2010.  Other documentation is great - just seems like there's a couple ways to accomplish things, which is confusing.

Pavlina
Telerik team
 answered on 09 Dec 2010
3 answers
136 views
I have a template column with combo box in a grid. When user selects value from a combo box I want to update other 2 cols in a same row. How do I do this?

Thanks
Martin
Telerik team
 answered on 09 Dec 2010
1 answer
102 views
Hi
I am facing problem in multiple file selection in RadAsyncUpload on IE8 .It is working properly on IE7 and  selecting multiple files but not able to select multiple files on IE8.
So please let me know what to do to make it work properly on IE8.
Thanks
Genady Sergeev
Telerik team
 answered on 09 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?