Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views
We have multiple themes for each of our customers. We added the RadGrid to all the .skin files and set certain column visibility flags to false in some of the themes. We have noticed when setting the SkinID, ALL of the columns are duplicated (even though AutoGenerateColumns is set to false in BOTH the page and codebehind). We placed a GridView control on the same page to see if it is an ASP.NET problem, but the GridView doesn't duplicate the columns.

If we remove the SkinID setting from the RadGrid the duplication doesn't happen.

To double check it, we created a new website project and discovered that this duplication doesn't happen here either and can't seem to find out why it happens in this one application.

Thoughts?

Veli
Telerik team
 answered on 13 Jul 2009
2 answers
323 views
Hi,

We are using the RadEditor on a web site where content can be entered in a variety of languages.  We downloaded the various dictionaries from your web site and placed them in the App_Data directory. 

Since we are going to have many instances of the RadEditor control throughout the site, we would like to set up as much configuration as possible in the ToolsFiles.xml file, to have a single place where changes can be made.  We are defining the tool buttons here, as well as the languages.  Below is the languages portion of the file:

  <languages> 
    <language code="ar-AR" title="Arabic" /> 
    <language code="af-ZA" title="Afrikaans (South Africa)" /> 
    <language code="bg-BG" title="Bulgarian (Bulgaria)" /> 
    <language code="cs-CZ" title="Czech (Czech Republic)" /> 
    <language code="da-DK" title="Danish (Denmark)" /> 
    <language code="nl-NL" title="Dutch (Netherlands)" /> 
    <language code="en-US" title="English (United States)" /> 
    <language code="en-AU" title="English (Australia)" /> 
    <language code="en-GB" title="English (United Kingdom)" /> 
    <language code="en-CA" title="English (Canada)" /> 
    <language code="fr-FR" title="French (France)" /> 
    <language code="fr-CA" title="French (Canada)" /> 
    <language code="de-DE" title="German (Germany)" /> 
    <language code="de-CH" title="German (Switzerland)" /> 
    <language code="it-IT" title="Italian (Italy)" /> 
    <language code="he-IL" title="Hebrew (Israel)‎" /> 
    <language code="hu-HU" title="Hungarian (Hungary)" /> 
    <language code="nb-NO" title="Norwegian, BokmÃ¥l (Norway)" /> 
    <language code="nn-NO" title="Norwegian, Nynorsk (Norway)" /> 
    <language code="pl-PL" title="Polish (Poland)" /> 
    <language code="pt-BR" title="Portuguese (Brazil)" /> 
    <language code="pt-PT" title="Portuguese (Portugal)" /> 
    <language code="ro-RO" title="Romanian (Romania)" /> 
    <language code="ru-RU" title="Russian (Russia)" /> 
    <language code="sk-SK" title="Slovak (Slovakia)" /> 
    <language code="es-ES" title="Spanish (Spain)" /> 
    <language code="sv-SE" title="Swedish (Sweden)" /> 
    <language code="sl-SI" title="Slovenian (Slovenia)" /> 
    <language code="th-TH" title="Thai (Thailand)" /> 
    <language code="uk-UA" title="Ukrainian (Ukraine)" /> 
  </languages> 

These language entries are successfully getting picked up, and I can see the list of languages displayed in the AjaxSpellCheck push-button drop-down list. The spellchecking functionality for most of the languages works fine.  However, whenever I try to spellcheck with a language that does not support phonetic spellchecking (such as Russian or Arabic) I get an exception saying "This language is incompatible with the phonetic spell check provider"

In the RadEditor control, I can specify which SpellCheckProvider to use via the SpellCheckSettings node.  For example:

<SpellCheckSettings SpellCheckProvider="EditDistanceProvider" /> 

However, it is my understanding that this is a global setting that applies to all languages used in the spell checker in the RadEditor.  The problem is, for some languages you need to use the PhoneticProvider, and for others you need to use the EditDistanceProvider.

What would be the best way to specify which languages use which SpellCheckProviders? Is there any way to specify in the ToolsFile which languages use the PhoneticProvider and which use the EditDistanceProvider?  It looks like in the <language> node in the ToolsFile, only the code and title attributes are supported.

Thanks so much for the help!

Joe

Joseph Alfano
Top achievements
Rank 1
 answered on 13 Jul 2009
1 answer
51 views
I presume this is a bug... it's not working in our implementation, but found that it's not working in your demo on this site either... try using the binoculars and test the "Find" button from the Find tab, or the "Replace" button in the Replace Tab.  Neither will find words that exist in the text.

Can someone please confirm? Thanks in advance.
Lini
Telerik team
 answered on 13 Jul 2009
3 answers
137 views
I use masterTable in grid
and some action in mypage need to rebind grid
but it still old currentPageIndex (Ex after rebind() currentPageIndex=4)
becuse when I use  masterTable.rebind() It will set currentPageIndex =0
some body help me ?
thank
Veli
Telerik team
 answered on 13 Jul 2009
26 answers
471 views
Hi,

Till the 2009 Q1 release  i have used "Change page: {4}  |  Displaying page {0} of {1}, items {2} to {3} of {5}" as discribed to localize the paging in the RadGrid. [RadGrid.PagerStyle.PagerTextFormat].
The RadGrid is set to: PagerStyle-Mode="NextPrevAndNumeric"

With the 2009 Q1 release, the pagingelements looks different:
|< < [pages] > >|   page size: [Dropdown]     [totalItems] items in [totalPages] pages
I use the "Office2007" skin, does this affect something?

What is the correct string to localize the new paging? I couldn't find any new examples ...

Regards and TIA,
Markus
Tsvetoslav
Telerik team
 answered on 13 Jul 2009
1 answer
99 views
Hello, I have a treeview with OnClientNodeChecked event, I'm unable to check or uncheck the checkboxes in the tree. I have another tree which does not have an OnClientNodeChecked event, the checkboxes on this work fine, i'm able to check or uncheck.
Here is my OnClientNodeChecked event. each time I click on the checkbox the event is fired and it does return checked nodes, but i can't see them checked or unchecked on the UI. any help please?
function clientNodeChecked(sender, eventArgs) { 
    var node = eventArgs.get_node(); 
    var tree = node.get_treeView(); 
    var checkedNodes = tree.get_checkedNodes(); 
    var radioNodes; 
    for (var i = 0; i < checkedNodes.length; i++) { 
        if (checkedNodes[i] != node) { 
            if (checkedNodes[i].get_parent() == node.get_parent()) { 
             if(checkedNodes[i].get_parent().get_attributes().getAttribute("radio")=="yes") 
                oldNode = checkedNodes[i]; 
            } 
        } 
    } 
    if (oldNode != null) { 
        if (oldNode.get_parent() == node.get_parent()) { 
            oldNode.set_checked(false); 
            oldNode.set_expanded(false); 
        } 
        } 
        node.set_checked(true); 
        node.set_expanded(true); 
        oldNode = node
    } 

thank you,
Phani
Yana
Telerik team
 answered on 13 Jul 2009
7 answers
90 views
Hello all.

I try to use your project silverlight radupload (http://demos.telerik.com/aspnet-ajax/upload/examples/silverlight/SilverlightUpload.zip) and when i launch it, i have a javascript error :

Erreur : $ is not a function
Fichier Source : http://localhost:2510/WebSite5/Default.aspx
Ligne : 107

i think lines of error are :
var $ = $telerik.$;
and
var downloadFile = $("<a class='download-file'></a>")

when the scrit try to make an attribute on "downloadfile" variable the error comes.

How can i do ?

Thank you, best regards.

(I'm french sorry for my bad english)


Ivo
Telerik team
 answered on 13 Jul 2009
1 answer
100 views
Hi,

I tried to set the style of the name column with the following code (I know - now validation and so on -- it's just to the functionality):

RadFileExplorer1.Grid.Columns[0].ItemStyle.CssClass =

"Label";

This works as expected - for the first 11 rows (the style changes the background color)
After this I all rows are without that style (class).

Using IE8 Devel I found that row 12 is:
<tr class="rgNoRecords" style="display: none;">
After this row the "Class" attribute for TD is no longer there.
So row 11 looks like: (that's correct)
<td class="Label" unselectable="on">
And row 13 than:
<td unselectable="on">

Regards

Manfred

Nikolay Rusev
Telerik team
 answered on 13 Jul 2009
3 answers
105 views
Is it possible to have different SharePoint sites use separate ListConfigFile.xml files?

Elizabeth
Stanimir
Telerik team
 answered on 13 Jul 2009
2 answers
156 views
Hi

I have the editor dialogs working on my development machine (Vista IIS7) but when I upload to the server, they are not working.  I get the following error:

Message: Object doesn't support this property or method
Line: 43
Char: 1
Code: 0
URI: http://test.????????.com/ScriptResource.axd?d=DU7g_wQW-tV4QeYVS_gLgXVZWW4ZL1dor0p0F187gm0dTShmzT1Tg48JMZlQmbcDDDHOCI-vFteYTWW3sq2Gop3r18kl4qiXBqPHwa-0sO41&t=633809219809160434

Message: Sys.ArgumentException:  does not derive from Sys.Component.
Parameter name: type
Line: 2825
Char: 9
Code: 0
URI: http://test.??????.com/ScriptResource.axd?d=Wf_E1GAoeCAIHDwB-ecqg0WluaIxXOle_VN2t1P7HMlFD-382Wz2QXMd88hEqBg_0&t=633790231336249871

Here is my web.config.  I can't see what is wrong with it - any ideas.

<?xml version="1.0" encoding="utf-8"?>  
<configuration> 
  <configSections> 
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /> 
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" /> 
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /> 
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /> 
        </sectionGroup> 
      </sectionGroup> 
    </sectionGroup> 
  </configSections> 
  <system.web> 
    <pages> 
      <controls> 
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
      </controls> 
    </pages> 
    <compilation debug="true">  
      <assemblies> 
        <add assembly="Eco.Handles, Version=4.0.0.0, Culture=neutral, PublicKeyToken=46a833be9e90de8c" /> 
        <add assembly="Eco.Interfaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=46a833be9e90de8c" /> 
        <add assembly="Eco.Persistence, Version=4.0.0.0, Culture=neutral, PublicKeyToken=46a833be9e90de8c" /> 
        <add assembly="Eco.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=46a833be9e90de8c" /> 
        <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
      </assemblies> 
    </compilation> 
 
    <customErrors mode="Off">  
    </customErrors> 
 
    <authorization> 
      <allow users="*" /> 
    </authorization> 
 
    <authentication mode="Forms">  
      <forms loginUrl="~/CMS/Login.aspx" name=".ASPXFORMSAUTH" /> 
    </authentication> 
 
    <membership defaultProvider="EcoMembershipProvider" userIsOnlineTimeWindow="15">  
      <providers> 
        <clear /> 
        <add name="EcoMembershipProvider" type="EcoCMS.Providers.EcoMembershipProvider" EcoSpaceTypeName="EcoCMS.EcoCMSEcoSpace" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="true" passwordFormat="Clear" /> 
      </providers> 
    </membership> 
 
    <roleManager cacheRolesInCookie="true" cookieName="MyRoles" cookiePath="/" cookieProtection="None" cookieRequireSSL="false " cookieSlidingExpiration="true" cookieTimeout="30" createPersistentCookie="true" defaultProvider="EcoRoleProvider" domain="test.com" enabled="true" maxCachedResults="100">  
      <providers> 
        <clear /> 
        <add name="EcoRoleProvider" type="EcoCMS.Providers.EcoRoleProvider" EcoSpaceTypeName="EcoCMS.EcoCMSEcoSpace" /> 
      </providers> 
    </roleManager> 
 
    <profile defaultProvider="EcoProfileProvider">  
      <properties> 
      </properties> 
      <providers> 
        <clear /> 
        <add name="EcoProfileProvider" type="EcoCMS.Providers.EcoProfileProvider" EcoSpaceTypeName="EcoCMS.EcoCMSEcoSpace" /> 
      </providers> 
    </profile> 
 
    <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /> 
 
    <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20" /> 
 
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> 
      
    <httpHandlers> 
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>  
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" /> 
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*"/>  
      <add path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> 
    </httpHandlers> 
    <httpModules> 
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
      <add name="CMSUrlRewriter" type="EcoCMS.Pages.CMSUrlRewriter, EcoCMS.Pages" /> 
    </httpModules> 
      
    <trust level="Full" originUrl="" /> 
  </system.web> 
 
  <location path="CMS">  
    <system.web> 
      <authorization> 
        <deny users="?" /> 
      </authorization> 
    </system.web> 
  </location> 
 
  <appSettings> 
    <add key="Eco.Web.MaxPool" value="0" /> 
    <add key="Eco.Web.MaxAge" value="600" /> 
    <add key="EcoAspProvider.EcoSpaceTypeName" value="EcoCMS.EcoCMSEcoSpace" /> 
  </appSettings> 
 
  <system.webServer> 
    <validation validateIntegratedModeConfiguration="false" /> 
    <modules> 
      <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
    </modules> 
    <handlers> 
      <add name="CMSWildCard" path="*.aspx" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> 
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> 
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> 
      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" /> 
      <add name="Telerik_Web_UI_DialogHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" /> 
    </handlers> 
  </system.webServer> 
 
</configuration> 

Any ideas - thoughts.

Thanks

Nick
Nicholas
Top achievements
Rank 1
 answered on 13 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?