Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
292 views
We have a RadGrid with a lot of columns, when we navigate with the keyboard the cursor disappear and the scrolls not moving.
Is there any way to scrolls follows de selected cell?

Thanks!
Lina
Top achievements
Rank 1
 answered on 13 Aug 2013
4 answers
254 views
My editor has an empty space at the bottom (see attached screenshot).  As far as I can tell, this only appears when autoheight is true.  I have tried clearing out the modules and changing css, all with no luck.  When I look at the editor's source in firefox using firebug I noticed that there is a newline which is causing the bottom space to exist (it is between the Wrapper table and the InsertLink div):

<div id="ctl00_cphMain_fv_reSupervisorNotes" class="RadEditor Default reWrapper" style="height: auto; width: 100%; min-height: 100px; min-width: 856px;">
<div id="ctl00_cphMain_fv_reSupervisorNotes_dialogOpener" style="display:none;">
<div class="reRibbonBarWrapper"></div>
<table id="ctl00_cphMain_fv_reSupervisorNotesWrapper" cellspacing="0" cellpadding="0" style="table-layout:auto;width:100%;height:100px;">

<div id="ctl00_cphMain_fv_reSupervisorNotes_InsertLink" class="reInsertLinkWrapper" style="display: none;">
<table class="reControlsLayout" cellspacing="0" cellpadding="0" border="0">
</div>
<input id="ctl00_cphMain_fv_reSupervisorNotes_ClientState" type="hidden" name="ctl00_cphMain_fv_reSupervisorNotes_ClientState" autocomplete="off">
</div>


Here is my editor declaration:

<telerik:RadEditor
    ID="reSupervisorNotes" runat="server"
    EditModes="Design" ContentAreaMode="Div" NewLineMode="P"
    ToolsFile="~/App_Data/RadEditor/Tools.xml" ToolbarMode="ShowOnFocus"
    AutoResizeHeight="true" Height="100px" Width="100%"
    Content="<%# Bind('SupervisorNotes') %>"
    OnClientLoad="RadEditorOnClientLoad">
    <Languages>
        <telerik:SpellCheckerLanguage Code="en-GB" Title="English UK" />
    </Languages>
</telerik:RadEditor>

And here is my tools file:

<?xml version="1.0" encoding="utf-8" ?>
<root>
    <modules>
        <module name="RadEditorHtmlInspector" enabled="false" visible="false" dockingzone="bottom" />
        <module name="RadEditorNodeInspector" enabled="false" visible="false" dockingzone="bottom" />
        <module name="RadEditorDomInspector" enabled="false" visible="false" dockingzone="bottom" />
        <module name="RadEditorStatistics" enabled="false" visible="false" dockingzone="bottom" />
    </modules>
    <tools>
        <tool name="Bold" shortcut="CTRL+B"/>
        <tool name="Italic" shortcut="CTRL+I"/>
        <tool name="Underline" shortcut="CTRL+U"/>
        <tool separator="true"/>
        <tool name="ForeColor"/>
        <tool name="BackColor"/>
        <tool separator="true"/>
        <tool name="JustifyLeft"/>
        <tool name="JustifyCenter"/>
        <tool name="JustifyRight"/>
        <tool separator="true"/>
        <tool name="Indent"/>
        <tool name="Outdent"/>
        <tool separator="true"/>
        <tool name="InsertOrderedList"/>
        <tool name="InsertUnorderedList"/>
        <tool separator="true"/>
        <tool name="InsertLink" shortcut="CTRL+K"/>
        <tool name="InsertSymbol"/>
    </tools>
    <tools name="DropdownToolbar">
        <tool name="FontName"/>
        <tool name="RealFontSize" text="Size"/>
    </tools>
    <tools enabled="true">
        <tool name="Undo" shortcut="CTRL+Z"/>
        <tool name="Redo" shortcut="CTRL+Y"/>
        <tool separator="true"/>
        <tool name="Cut" shortcut="CTRL+X"/>
        <tool name="Copy" shortcut="CTRL+C"/>
        <tool name="Paste" shortcut="CTRL+V"/>
        <tool separator="true"/>
        <tool name="Print" shortcut="CTRL+P"/>
        <tool name="FindAndReplace" shortcut="CTRL+F"/>
        <tool name="SelectAll" shortcut="CTRL+A"/>
        <tool separator="true"/>
        <tool name="AjaxSpellCheck" shortcut="F7"/>
        <tool name="ToggleScreenMode" shortcut="F11"/>
    </tools>
 
</root>
Ianko
Telerik team
 answered on 13 Aug 2013
1 answer
240 views

Hello,

I want to check Remove of RadAsyncUpload is clicked or not to set textbox(ruFakeInput) width according to that condition.

My script is

$telerik.$(document).ready(function() {
               setTimeout(function() {
                   var btnRemove = document.getElementById("<%= btnRomovePhoto.ClientID %>");
                   if (btnRemove) {
                       $('input.ruFakeInput').css("width", "120px");
 
                   }
                   else {
                       $('input.ruFakeInput').css("width", "191px");
 
                   }                   
 
                  //here i check .ruRemove is clicked or not and set 'ruFakeInput' width
 
               }, 200);
           });

i try this way

$telerik.$("button [name=RowRemove]").click(function() {
 
            alert('click');
 
            });

and

$telerik.$(".RadUpload .ruRemove").click(function() {
 
alert('click');//here set $('input.ruFakeInput').css("width", "120px");
 
});


but its not working. Any solution?
Shinu
Top achievements
Rank 2
 answered on 13 Aug 2013
3 answers
133 views
Hi

How can I display an ajax loading icon until the navigateurl is completely loaded in the radwindow?

Thanks
Saravanan
Shinu
Top achievements
Rank 2
 answered on 13 Aug 2013
4 answers
252 views
Hi

How can I add a background icon to certain days of the radcalendar? The database contain few dates and on clicking a button I want to add those days to the radcalendar and assign an image and a custom tooltip.

Please help
Dan
Shinu
Top achievements
Rank 2
 answered on 13 Aug 2013
5 answers
192 views
Hi,

I applied Version 2013 Q2, and suddenly all the forms that use AutoCompleteBox stopped working as expected.Entries deleted by the user client side (using the mouse), still exist in the Entries collection after posting back.This is now causing Database constrains exceptions which means the logic for these form need to be modified.I now have to apply the previous version until this is fixed.

Madani
Newton
Top achievements
Rank 1
 answered on 12 Aug 2013
1 answer
253 views
I have a form where a user can specify the font/style/size of some text which is not present on the same page.

I need to add a couple toggle buttons which are basically the same Bold/Italic buttons which appear in many telerik controls, but just by themselves.  I'm wondering what would be the easiest way to do this. 

I was thinking of just creating a plain button and setting the regular state style to the pressed style when it is clicked.  Does that make sense? 
Danail Vasilev
Telerik team
 answered on 12 Aug 2013
1 answer
109 views
We're using Telerik version 2013.1.417.35. We've got an application with some very old page templating code (that we don't want to change out right now)

The input code is 
<body>
    <!-- this is in the page template ascx vv-->
    <form id="frmMain" method="post" runat="server">
        <!-- Henry thinks Telerik added this above ^^-->
    <div id="pagemiddle">
...
and the generated code seen in IE10 is

<body>
    <!-- this is in the page template ascx-->
    <form name="frmMain" method="post" action="login.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="frmMain">
<div>
<input type="hidden" name="Header_ScriptMgr_TSM" id="Header_ScriptMgr_TSM" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="..." />
</div>
 
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['frmMain'];
if (!theForm) {
    theForm = document.frmMain;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>
 
 
<script src="/UnifiedLogin/WebResource.axd?d=Cr6NY1haBII3CUWgTf-vRxkAVYzK1FJ6XORbJp5zHXYb1faJ2WnIXBUQYE-i4nGMszzp_Bd8NNpxf0uVdI32lDKWS0A1&t=635019945069635093" type="text/javascript"></script>
 
<link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=wu2-nH7iwSqT0TgvbyKgs_V6_TYA07BnX7YMX1qIIJuR4HyrpazOmoyBpnzlHOjhD1V1ffDT6dYFcYuP8e6q5HEg7UksZaSHMz-hLiqrRrp70O690UMQGVfLo2BOoWglTxXwoQ2&t=635088861486377646'></link><link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=GQ8da8vrWIHNQT0th0xfR3MyDFSTWwp_KKoQ9v7jpSqtcaJ8oN5X4iiDUx0DBfKjb2McbL21Oipj5GiIi_lljQ7uCEMc1-03RZQSZQFMw_D62MwFQkNAVXtdr7eQ0tLQOVOZYuOuYyxf08jSv92AeO9X58Q1&t=635088861486377646'></link>
<script src="/UnifiedLogin/WebResource.axd?d=SNhGNua5bytowQD_ES8ruTO4SCXXbtwK-lJPxXcl8mOmp64T4XpO5IObsf1rP-ugdukaf6Id84UYZkzqgspHp55pLaY1&t=635019945069635093" type="text/javascript"></script>
<script src="/UnifiedLogin/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=Header_ScriptMgr_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ab4491a8b-c094-46c4-848c-d2a016749dfa%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2013.1.417.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ab193e46e-1615-44ae-93b4-e80e222e7ddb%3a16e4e7cd%3a874f8ea2%3af7645509%3a24ee1bba%3af46195d3%3a19620875%3a490a9d4e%3abd8f85e4" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>
 
<script src="/UnifiedLogin/WebResource.axd?d=7qErcjeF3n7l-8Wtuwpfpl7dhaTO2Ezy-juh8r8wV2DMMv8roIP3UK5joLMFD8KoeAp0921xSW-aYXt5_rjRc2aMox41&t=635019945069635093" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
//]]>
</script>
 
<div>
 
    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="..." />
</div>
        <!-- Henry thinks Telerik added this above ^^-->
    <div id="pagemiddle">


The IE10 console says
HTML1512: Unmatched end tag. 
login.aspx, line 66 character 267
HTML1512: Unmatched end tag. 
login.aspx, line 66 character 561

Line 66 is the link tags:

<link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=...'></link><link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=...'></link>


Is there anything that we can do here?  The </link> is not strictly necessary under IE10/HTML5.  The page has doctype XHTML; but changing that doesn't fix the parsing message.
Henry
Top achievements
Rank 1
 answered on 12 Aug 2013
1 answer
121 views
Hi friends, I certainly am aware that telerik script manager is having all that the default/regular asp.net scrip-manger has but I am working on a website where we're having master page scenario and we do have telerik's script-manager present on the mark-up, but I still face troubles as if the script manager was absent (which is not true) and if add it to my mark-up I'd get an error saying that one instance already exists, which is again not wrong though. What may I be missing ?

Thanks,
-Aarsh
Henry
Top achievements
Rank 1
 answered on 12 Aug 2013
3 answers
133 views
my program creates and downloads a pdf from the radeditor.  However, when I try to open it in Adobe Reader 11.0.3 I receive and error about it either not being a supported type or damaged. In Adobe Reader 11.0.2 it works fine. How can I get it to work in both?
Ianko
Telerik team
 answered on 12 Aug 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?