Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
85 views
Hi.
Been trying to change the tooltipstext in radeditor but with no success.
Been reading that I should modify (or create a new) RadEditor.Tools.resx

But, just for testing I edited the above file and modified this value..

  <data name="AjaxSpellCheck" xml:space="preserve">
    <value>AJAX Spellchecker TESTING!</value>
  </data>

However, the tooltip still says "Ajax Spellchecker".
Browsercache empty, done IISRESET etc etc. What am I missing here? 
Nil
Top achievements
Rank 1
 answered on 20 Apr 2009
3 answers
85 views

I would like to control data being displayed in two non hierarchical RadGrids using one RadDatePicker control. When the OnSelectDateChanged event occurs, I want the two grids to display content for that date only. The two grids use RadGridX_ItemDataBound to color code some of the data when the grids are refreshed.

I was hoping Telerik Rad Controls could invoke two functions or register two functions from one event handler. For example:

OnSelectedDateChanged="Raddatepicker2_SelectedDateChanged1; Raddatepicker2_SelectedDateChanged2". In this logic, Raddatepicker2_SelectedDateChanged1 would call on the server side,  SqlDataSource1.SelectCommand and Raddatepicker2_SelectedDateChanged2 would call SqlDataSource2.SelectCommand which have “WHERE” clauses with the selected date. This approach failed. I will appreciate any suggestion or hint.

 

Thanks,

Baxis

Eric
Top achievements
Rank 1
 answered on 20 Apr 2009
1 answer
154 views
Hey at Telerik

My problem is that i would like to use enter key as tab key. It worked perfectly in Q3 2008 release, but i have upgraded to Q1 2009 and suddenly i'm having problems. I use the inputDomElement to give focus to a radcombobox, that does't work anymore, and furthermore it seems like the focus is somhow locked so i can't set focos to next element once i set focus to a radcombobox.

I have included an example which illustrates the problem. It can be found here. http://80.166.206.186/Screendump/

 

I hope there is a way to fix this easily.

Morten

Atanas Korchev
Telerik team
 answered on 20 Apr 2009
1 answer
76 views
Hi there, I want to enable delete functionality only on month view and day view, but when I enable the following code the delete funtionality is lost on day view as well. (Month view it remains) Any suggestions?
Thanks

<MonthView ReadOnly="false" /> 
<WeekView HeaderDateFormat="dd/MM" ReadOnly="true"  /> 
<DayView ReadOnly="false"  /> 
Peter
Telerik team
 answered on 20 Apr 2009
2 answers
154 views
I'm using IIS7 Integrated Mode.  I've followed all the instructions in the help and blog posts. Re-named the file in web.config to ".axd".

<system.web>

<httpHandlers> 
      <remove verb="*" path="*.asmx" /> 
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> 
      <add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
      <add path="Telerik.RadUploadProgressHandler.axd" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" validate="false" /> 
</httpHandlers> 

<system.webServer>

<handlers> 
      <remove name="WebServiceHandlerFactory-Integrated" /> 
      <remove name="ScriptHandlerFactory" /> 
      <remove name="ScriptHandlerFactoryAppServices" /> 
      <remove name="ScriptResource" /> 
      <remove name="MvcHttpHandler" /> 
      <remove name="UrlRoutingHandler" /> 
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.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=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> 
      <add name="Telerik_RadUploadProgressHandler_axd" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.axd" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" /> 
</handlers> 

I've also set the AjaxUrl:
<telerik:RadProgressManager ID="BookUploaderProgressManager" runat="server" AjaxUrl="~/Telerik.RadUploadProgressHandler.axd" />

Can anyone confirm they have this working in MVC?
DGDev
Top achievements
Rank 2
 answered on 20 Apr 2009
1 answer
248 views
Hi,

I'm trying to style a hierarchical tabstrip and multipage controls so that the tabs "content area" has a border around it.  I apply a css style to the multipage element giving it a left, right, and bottom borders, and applying a background image.  I use the "ShowBaseLine="true" property of the tabstrip to get the top border.  This works fine for a tab with no second level.  But for the tabs with second levels, the border is broken on the left and right.  How can I properly style this so the border is not broken?  Am I missing something easy?  Also, I think I might want to set the background of the second level tabs to be either a solid color, or to extend the background image of the multipage up.  Any idea if this is possible?  Finally, on tabs that have no second level, the vertical space of the combined tabstrip/multipage is reduced by about 26px.  I have tried to work around this by putting an empty second level tab but that didnt seem to work.

looks good
<img alt="looks good" src="http://www.brianmila.com/tabstrip1.jpg">

broken borders
<img alt="broken borders" src="http://www.brianmila.com/tabstrip2.jpg">

Thanks,
Brian





Alex Gyoshev
Telerik team
 answered on 20 Apr 2009
2 answers
218 views
Hi,

I think I am close to finding an answer on this - but it is so far elluding me.  I have an app that supports drag to group.  In my app, I can canfigure it to have custom CssClass for a column header as well as for individual row and alt row cells, but I only know at runtime (not at compile time) what the column names will be.  It is all fine for displaying without grouping - my column headers and column rows and alt rows get the right classes on them (both can get set in PreRender, except if I want a special class on a row or alt row cell based on the cell content value in which case I do it in ItemDataBound.)

However, when Grouping, I find that I seem also to have a need to separately set the CssClass for the column in the GridGroupheaderItem.  In order to know what CssClass i want to set, i need to be able to find the right column cell in the GridGroupColumnItem based on column name.  But it is not apparent to me how I can get at the column names for that in ItemDataBound (which seems to me to be the right event to do it in - since I do get that event called for these.) 

Any ideas on how to identify the right cell by column name for the GridGroupheaderItem in the ItemDataBound event?

Thanks,

Ed Hinton
Ed
Top achievements
Rank 1
 answered on 20 Apr 2009
1 answer
143 views
Hi There!

I am working with RadEditor which is having limited number of tools.
Along with some editor tools I am also using 
InsertUnorderedList, InsertOrderedList, Indent, Outdent and SpellCheck(i configured this from "getting started" section of documentation). And these tools are not working at all.
Also one thing i noticed that when i change the format the text alignment to center, right, justified then bullets and numbering starts working but when i align text back to left then again it stops working. whereas indentations not works at all.
Please tell me where I am missing the things.
Here is my mark up text for Rad editor

 

                       <telerik:RadEditor NewLineBr="False" ID="radEditText" runat="server" EnableEmbeddedSkins="False" Skin="Default" Height="307px" Width="794px" meta:resourcekey="radEditTextResource1" ToolProviderID="">  
                           <Tools > 
                               <telerik:EditorToolGroup> 
                                   <telerik:EditorTool Name="FontName"  /> 
                                   <telerik:EditorTool Name="RealFontSize" Text="Size"/>  
                                   <telerik:EditorTool Name="ForeColor" /> 
                                   <telerik:EditorTool Name="Bold" ShortCut="CTRL+B" /> 
                                   <telerik:EditorTool Name="Italic" ShortCut="Ctrl+I" /> 
                                   <telerik:EditorTool Name="Underline" ShortCut="Ctrl+U" /> 
                                   <telerik:EditorTool Name="JustifyLeft" /> 
                                   <telerik:EditorTool Name="JustifyCenter" /> 
                                   <telerik:EditorTool Name="JustifyRight" /> 
                                   <telerik:EditorTool Name="InsertUnorderedList" /> 
                                   <telerik:EditorTool Name="InsertOrderedList" /> 
                                   <telerik:EditorTool Name="Indent" /> 
                                   <telerik:EditorTool Name="Outdent" /> 
                                   <telerik:EditorTool Name="SpellCheck" /> 
                               </telerik:EditorToolGroup> 
                           </Tools>                             
                           <Content></Content>  
                       </telerik:RadEditor> 

 

 T

hanks!
With Regards,
Fatima Khan

Rumen
Telerik team
 answered on 20 Apr 2009
1 answer
162 views
Hi
   I have a problem with disabled dropdown color. If I disable the dropdown from server side using Office2007 Skin then color goes gray which is good but if I disable the control using javascript then color stay white. I cannot change the skin as my entire application is configured to use that color scheme so I have not tested it on other skins but overall the color should go gray either we disable it using Server Side code or JS code.

The other problem is I am unable to find the Dropdown in JS using
document.getElementById  or $find or $get
one of them returns object and others null, the object one gives error that this is not its property.

Now I have attached the OnClientLoad event and either stores the object in global js variable or doing initial settings there.
I have tried different options posted on telerik forum to find dropdown but all invain.

I would like to upload the mini project with problems but could not find any upload option here. Please paste this code and test it at your end.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    
</head>
<body>
    <form id="form1" runat="server">
            <asp:ScriptManager runat="server" ID="smTest"></asp:ScriptManager>        
 
    <div>
        <p>Disabled color from Server side</p><telerik:RadComboBox ID="RadComboBox1" runat="server" >
        <Items>
            <telerik:RadComboBoxItem Text="This is disabled from Server end" />
            <telerik:RadComboBoxItem Text="Another text 1" />
        </Items>
        </telerik:RadComboBox>
        
        <p>Disabled from Client Side</p><telerik:RadComboBox ID="RadComboBox2" runat="server" OnClientLoad="ClientLoad">
        <Items>
            <telerik:RadComboBoxItem Text="Disable from Client Side" />
            <telerik:RadComboBoxItem Text="Another text" />
        </Items>
        </telerik:RadComboBox>
        <input type="button" onclick="return disableClientControl()" value="why Cant I get the dropdown" />
    </div>
     <script language="javascript" type="text/javascript">
         var ddl1;
         function ClientLoad(sender, args) {
             ddl1 = sender;
             ddl1.set_enabled(false);
         }
         function disableClientControl() {
             var ddl = document.getElementById("RadComboBox2")
             alert("next line will give JS error")
             ddl.set_enabled(false);
         }

    </script>
    </form>
   
</body>
</html>
-------------
SERVER SIDE CODE
------------

 protected void Page_Load(object sender, EventArgs e)
    {
        RadComboBox1.Enabled = false;
    }




Alex Gyoshev
Telerik team
 answered on 20 Apr 2009
1 answer
182 views
I'm trying to display grid lines (horizontal and vertical lines around each day) on the calendar control. I have tried the following but cannot get the desired result - I get no lines at all.

<telerik:RadCalendar ID="Calendar1" runat="server"   
ForeColor="Black" Font-Names="Arial,Verdana,Tahoma" 
Width="780px" Height="376px"   
CellAlign="Left" Style="border-color: #ececec" 
EnableMultiSelect="False" ShowOtherMonthsDays="False" 
ShowRowHeaders="False" UseColumnHeadersAsSelectors="False"   
AutoPostBack="True"   
ondayrender="Calendar1_DayRender" DayNameFormat="Short"   
SelectedDate="" PresentationType="Preview">  
<WeekendDayStyle BorderWidth="1px" Height="90px" Width="90px" Wrap="False" HorizontalAlign="Left" VerticalAlign="Top" /> 
<DayStyle Width="90px" Height="90px" BorderWidth="1px" Wrap="False" HorizontalAlign="Left" VerticalAlign="Top" /> 
<telerik:RadCalendar> 
 
Shinu
Top achievements
Rank 2
 answered on 20 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?