Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
89 views
Hi,

I just upgraded to the new version after playing with the beta for a few weeks.  The new JavaScript intellisense is awesome.  I have two questions:

Is the Telerik Static Client Library that is mentioned in the documentation still supported?  When intellisense pops up in the editor when I type "$telerik.", I only see the new methods for find<RadControl> and to<RadControl>.  I don't see any of the other methods from the documentation like "isIE8", "clongControl", "addCssClasses", etc.  Are they still there, or just not showing up in Intellisense?

Second, what do you recommend as the best way to get JavaScript Intellisense working on a user control?  I have the script references setup on my master page, which gives me intellisense on the master page and the content pages.  I also include commented out references in the external .js files as copied below to get Intellisense in those files, but I haven't figured out a way to get it working in a user control.  My goal is to get intellisense for the RadControls as well as the built-in jQuery.

In external script files:
/// <reference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />   
/// <reference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />  
/// <reference Assembly="Telerik.Web.UI"  

In my master page:
<asp:ScriptManager runat="server" id="scriptManagerMaster" AllowCustomErrorsRedirect="true">  
    <Scripts> 
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />   
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />   
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> 
    </Scripts> 
</asp:ScriptManager> 

Thanks,
Chris
Sebastian
Telerik team
 answered on 12 Mar 2010
1 answer
71 views
     Currently I am using the RadEditor ASP.NET AJAX 2010 Q1 version. I have a RadEditor and the business is dictating that they would like to have indents like on some product pages (example)

CPU                                 2.3GHz
RAM                                 4G
Hard Disk                         60GB

     Which the table functionality does. The problem is when you have to have bullet points or numbered lists within one of the columns, the spacing looks funky because when it puts the <ul> or <ol> tag in, it creates an indent. I have found a way around this by manually removing the <ul> or <ol> tag and I get a lined up version of a bullet or number list. Is there a control on the tool bar which will insert a non-indented version of either list?
     If the answer is no, then is there a way to detect whether the cursor is within a table and they click one of the list buttons to remove either the <ul> or <ol> that is being created? I just need the text to line up properly so if there is another way, please let me know, thanks!
Rumen
Telerik team
 answered on 12 Mar 2010
1 answer
135 views
     Currently I am using the RadEditor ASP.NET AJAX 2010 Q1 version. I have a RadEditor and the business is dictating that they would like to have indents like on some product pages (example)

CPU                                 2.3GHz
RAM                                 4G
Hard Disk                         60GB

     Which the table functionality does. The problem is when you have to have bullet points or numbered lists within one of the columns, the spacing looks funky because when it puts the <ul> or <ol> tag in, it creates an indent. I have found a way around this by manually removing the <ul> or <ol> tag and I get a lined up version of a bullet or number list. Is there a control on the tool bar which will insert a non-indented version of either list?
     If the answer is no, then is there a way to detect whether the cursor is within a table and they click one of the list buttons to remove either the <ul> or <ol> that is being created? I just need the text to line up properly so if there is another way, please let me know, thanks!
Rumen
Telerik team
 answered on 12 Mar 2010
5 answers
575 views
Hi,
In mozilla the rowclick event of radgrid is not firing whereas in IE it works fine.Since i have written a js function for the rowclick event i somehow need the rowclick event to be fired irrespective of the browsers.
Can anyone let me know the fix for the above issue.

Thanks,
Avik.
Ron Kellermann
Top achievements
Rank 1
 answered on 12 Mar 2010
2 answers
151 views
Hi-

I have two GridTableViews inside a MasterTable, and I'm wondering if it's possible to add a title on each of them.  I just need something to differentiate the two GridTableViews  inside the DetailTables when I open up the row in the MasterTables.

Thanks!

-MIke
Mike Bridge
Top achievements
Rank 1
 answered on 12 Mar 2010
3 answers
157 views
I think I already know the answer to this question, but thought I'd pose it as a suggestion if the functionality does not already exist.  We want the content of our RadEditor to look the same as it would once it is submitted (meaning it should pull in all the CSS files of the page it is on).  However, we only want the Apply CSS class dropdown to pull from a single CSS file that we specify.  The CssClasses route is not a solution for us, because the CSS file that should populate the dropdown might have anywhere between 1 and hundreds of declarations, all of which could change and would then have to be updated in two places.  So my question/suggestion is, is there any way to make the Editor display area pull in the page's styles, while forcing the "Apply CSS Class" dropdown to only pull in from a declared file?

Thanks.
Rumen
Telerik team
 answered on 12 Mar 2010
0 answers
395 views
We discovered a few issues with the JavaScript IntelliSense of RadControls for ASP.NET AJAX in the Q1 2010 release.

1. The JavaScript IntelliSense breaks when you include script references to the embedded jQuery:

<asp:ScriptManager ID="ScriptManager1" runat="server">  
   <Scripts> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> 
    </Scripts> 
</asp:ScriptManager> 

One solution would be to reference the jQuery scripts from an external location, for example placing them in the root of your web site/web application:

        <asp:ScriptManager runat="server" ID="ScriptManager1">  
            <Scripts> 
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> 
                <asp:ScriptReference Path="~/jquery-1.4.2.js" /> 
            </Scripts> 
        </asp:ScriptManager> 




2. The to<ControlName> JavaScript IntelliSense helper method causes run time error for the following controls: AsyncUpload, TabStrip, ToolBar, Upload, Scheduler, TreeView, ListBox, ComboBox, PanelBar.
As a workaround you can use the find<ControlName> method instead:

function itemClicked(sender, args) {
   //the normal approach which is broken in Q1 2010 official release
   //var listBox = $telerik.toListBox(sender);
    
   var listBox = $telerik.findListBox(sender.get_id());
}


The problems have been addressed in the latest internal build of RadControls (upgrade instructions are available here). The issues will be fixed officially in the Q1 2010 SP1 release of the suite, expected in mid April.
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 12 Mar 2010
2 answers
102 views
Hi,

I followed your example from the code library here: http://www.telerik.com/community/code-library/aspnet-ajax/docking/save-dockstate-in-database-using-radajaxmanager.aspx

Everything works as expected. Great example. I just wanted you to know that there is an unexpected behaviour (no bug severity, just layout).

To reproduce:

  • Add some docks to both zones
  • Drag and drop some docks. You will see the dotted line as indicator of where the dock will be docked. This is as expected
  • Drag all docks you added to the left zone.
  • Drag 1 to the right zone. Dont drop yet. You will see there is no dotted indicator. Background highlighting of the zone works as expected though.

So not a major bug. Just an inconsistency in layout when a zone is completely empty.

/Yeroon

Yeroon
Top achievements
Rank 2
 answered on 12 Mar 2010
1 answer
233 views
My application was developed using telerik 2009 Q3 and I updated telerik version from 2009 to trial version 2010 Q1. I cannot launch my aplication any more.

How come there is no bin folder under "C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q1 2010". I see Bin20 and Bin35 folders instead.

Please help.

HEre is the error I get. I searched for Version=2009.3.1314.20 in my entire asp code and there is no reference to this. WHere is this reference coming from and how can I change it to 2010. BY the way I was successfull in using gacutil.exe and picking up Telerik.Web.UI.dll from bin20 folder.

Parser Error

 

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error: 

Line 1: <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Default.master.cs" Inherits="TelerikComponentsWS.Default" %>Line 2:  
Line 3:  <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

Source File: /Default.Master    Line: 1 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' could not be loaded.

=== Pre-bind state information ===
LOG: User = POINTCLICKCARE\alim
LOG: DisplayName = Telerik.Web.UI, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4
 (Fully-specified)
LOG: Appbase = file:///C:/per/asp/TelerikComponentsWS/
LOG: Initial PrivatePath = C:\per\asp\TelerikComponentsWS\bin
Calling assembly : TelerikComponentsWS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\per\asp\TelerikComponentsWS\web.config
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: Telerik.Web.UI, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4
LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/e05be07f/76f5fedf/Telerik.Web.UI.DLL.
LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/e05be07f/76f5fedf/Telerik.Web.UI/Telerik.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/per/asp/TelerikComponentsWS/bin/Telerik.Web.UI.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.

Erjan Gavalji
Telerik team
 answered on 12 Mar 2010
1 answer
119 views
Hi all,

I create radgrid and radajaxpanel then i put the radgrid in the radajaxpanel(programmatically in Init phase).
this is the code:
                        RadAjaxPanel ajaxPanel = new RadAjaxPanel();
                        ajaxPanel.Controls.Add(grid);
                        controlList.Add(ajaxPanel);
when i click on the Add New Record of the radgrid it works fine on the default sharepoint masterpage,but on other sharepoint master pages like: BlackBand.master,BlueTabs.master clicking on Add New Record didn't works and the radgrid didn't transform into edit mode to enter data.
what is the problem?

Thanks for any help.

Regards,
Ahmad Atat

Iana Tsolova
Telerik team
 answered on 12 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?