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

I need copy the raw table from MS Word to Editor, I've use "Non SupressClean Message" but It still clean my table in the content. Now I want to copy all my content from word with no formating

Plz help, Thanks
Ianko
Telerik team
 answered on 10 Jul 2014
1 answer
205 views
Example not work http://www.telerik.com/help/aspnet-ajax/page-layout-sticky-footer-header.html
Footer stick to bottom of "Article 1(2)"
IE 11, Chrome 35, Opera 22
Boyan Dimitrov
Telerik team
 answered on 10 Jul 2014
1 answer
80 views
Hi ..
I have a button which Creates a pdf and after that i need to refresh the radgrid .. I call the same Search button but the radgrid remains the same and not being
refreshed. Any idea how this event can be handled ?
Thanks in advance
Spiros
Viktor Tachev
Telerik team
 answered on 10 Jul 2014
2 answers
129 views
Dear Telerik,

Is there a way to create calculated item programmatically?

The situation is that I have a series of e.GroupName.ToString() calculation cases in the ItemNeedCalculation event, however, being unable to access hide/show visibility of one of the fields, I am thinking of using a check box to generate such calculated item programmatically. Or else is there any better solution to my original purposes to hide calculated item?

Sorry for multiple questions, but I couldn't find enough information regarding calculated item. Much Appreciated!

Best regards.

Kostadin
Telerik team
 answered on 10 Jul 2014
5 answers
359 views
Hi!

I'm using RadProgressManager and RadProgressArea to monitor a custom progress in the following scenario:

  1. The user clicks "Create" button
  2. At server-side, X items are being added to a Zip-file. For each item, the custom progress is updated.
  3. When the Zip-file is created, it is written to the Response-stream.
  4. The Zip-file is available for download.

If the user would click the "Create" button again, the progress area won't display. Is it possible to "reset" the RadProgressManager in any way after it has finished (without having to redirect to the same page again)?
Hristo Valyavicharski
Telerik team
 answered on 10 Jul 2014
1 answer
241 views
Hi,

I want to show file filter for images , i have put the code at my design page

Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable = function () { return false; };
Telerik.Web.UI.RadAsyncUpload.Modules.IFrame.isAvailable = function () { return false; };

This code is not working fine when first time the page is loaded and then i click browse,but when i perform any operation like editing a radgrid or some other operation and then i click browse then its working properly.

Hereby i attached 2 files First Time and Second Time .In FirstTime Image it does not show anything and in SecondTime  it shows Filter Icon.


Plz Suggest
Hristo Valyavicharski
Telerik team
 answered on 10 Jul 2014
3 answers
110 views
The "Find And Replace" icon is disabled in the "HTML" editing mode. It is reproduced in the Firefox.
If I'm using the IE or Chrome the icon is enabled in the "HTML" tab.
How can I fix it?


Shinu
Top achievements
Rank 2
 answered on 10 Jul 2014
1 answer
126 views
I am seeing some odd behavior with the combobox.
I have them on a page and if you drop down and check on of the entries it shows the value in the box.  I then close the box then open it again and select another from the list it shows 2 selected but then when the dropdown goes away the text area now shows the same of the first one I had selected.  I then click the box again and select all from the drop down list, it says all selected but when the drop down collapses the box displays the same value of what was originally selected.  IIt does not seem to be an issue if you select more than one in the very beginning

This is the box on the screen
<tr>
    <td style="vertical-align: top">Conversion:
    </td>
    <td>
        <telerik:RadComboBox runat="server" ID="ConversionType" Width="100%" DataTextField="ConversionDescription" DataValueField="ConversionTypeID" OnClientLoad="onLoad"
            Skin="Sunset" EmptyMessage="Select Conversion" MaxHeight="200px" CheckBoxes="True" ShowToggleImage="False"  EnableCheckAllItemsCheckBox="true"
            ShowDropDownOnTextboxClick="False" MarkFirstMatch="True"/>
    </td>
</tr>

This is the javascript for the OnCLientLoad
function onLoad(sender) {
            var div = sender.get_element();
 
            $telerik.$(div).mousedown(function (e) {
                if (sender.get_dropDownVisible()) {
                    sender.hideDropDown();
                }
                else {
                    sender.showDropDown();
                }
            });          
        }



 
Shinu
Top achievements
Rank 2
 answered on 10 Jul 2014
6 answers
756 views
Hello.

I am using this demo as a guide: http://www.telerik.com/help/aspnet-ajax/panelbar-items-client-side-code.html and everything seems straightforward.   The problem is that, regardless of what I do, I am getting an Uncaught ReferenceError: Telerik is not defined exception in my JavaScript code.  Here are the details:

- ASP.NET MVC 4 application using the ASPX engine
- I have a master page, a page, and a partial view.
- The partial view is what contains the RadPanelBar and it is defined like this:

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ModuleMenu>" %>
<%@ Import namespace="HarleyDavidson.Hdds.Talon.Web.Models.Global" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 <telerik:RadScriptManager ID="RadScriptManager1" runat="server">

 </telerik:RadScriptManager>

<telerik:RadPanelBar ID="radMenu" Runat="server" Skin="Black">
</telerik:RadPanelBar>

<script language="javascript" type="text/javascript">
    debugger;
    var panelBar = $find('<%=radMenu.ClientID %>');
    var menuJson = JSON.parse('<%=Model.MenuItems %>');    
    
    for (var i = 0; i < menuJson.length; i++) {
        var s = menuJson[i];
                       
        var rootItem = new Telerik.Web.UI.RadPanelItem();
        rootItem.set_text(s.DisplayName);
        
        if (s.ChildrenNodes != null) {
            addItemsToRoot(s);
        }

        panelBar.trackChanges();
        panelBar.get_items().add(rootItem);
        //rootItem.get_items().add(childItem);
        //panelBar.get_items().getItem(0).get_items().insert(0, firstChild);
        panelBar.commitChanges();
    }
    

    function addItemsToRoot(rootItem) {
        
    }    
    
</script>

This is the line that is failing:   var rootItem = new Telerik.Web.UI.RadPanelItem();


Per this document: http://www.telerik.com/help/aspnet-ajax/introduction-troubleshooting.html I checked out my web.config, but I have the following entries in my web.config:
<system.web>
...
<httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
 </httpHandlers>

</system.web>
<system.webServer>
    <handlers>
...
  <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </handlers>
<system.webServer>

The entire rendered output of the page is:



<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>
        
    Site

    </title>
    <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    <link href="/Content/site.css" rel="stylesheet"/>

    <script src="/Scripts/modernizr-2.6.2.js"></script>

    <script src="/Scripts/jquery-1.8.2.js"></script>

    <title>

</title></head>
<body>
    <form method="post" action="./" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="RadScriptManager1_TSM" id="RadScriptManager1_TSM" 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="ng15QNpcL+QMheDSxB7BclZEjyRZ/v1t5idEPeiJeYSPTRn/4byScB2vP0oW+2a7vFBCdCKd2gbSqonyKQox3iQobJtFN0DQvJyc9/Q//kuvEk5ZXjOsbPn1Bn5Ew52E" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<script src="/WebResource.axd?d=pynGkmcFUV13He1Qd6_TZJGlNwqpp6-nH7r5-E8vYTJkH7zSzodYcVW3jIzmw2y-aefQNjxKsZCGMmHrgHPSvA2&amp;t=635328605200000000" type="text/javascript"></script>


<script src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&amp;compress=1&amp;_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a509f92a1-e5fd-464f-a450-13846a6c973b%3aea597d4b%3ab25378d2" 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 type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctl00$RadScriptManager1', 'form1', [], [], [], 90, 'ctl00');
//]]>
</script>

        <div id="page">
            <header>
                <div id="header_interactive_content">
                    <span class="interactive_content_header">Most Recent KBA's</span>
                </div>
                <div id="header_logo">
                </div>
                <div style="clear: both">
                </div>
                <div id="header_nav">
                    <div class="header_nav_left"></div>
                    
                            
 <!-- Menu -->

                    
                    <div class="header_nav_item_last"><span class="header_nav_item_span"></span></div>
                    <div class="header_nav_right"></div>
                </div>
            </header>
            <div style="clear: both"></div>
            <div id="body">
                <div class="content_wrapper">
                    <div id="content_menu">
                        

<div id="1_radMenu" class="RadPanelBar RadPanelBar_Black">
<!-- 2014.2.618.45 --><input id="1_radMenu_ClientState" name="1_radMenu_ClientState" type="hidden" />
</div>

<script language="javascript" type="text/javascript">
    debugger;
    var panelBar = $find('1_radMenu');
    var menuJson = JSON.parse('[{"DisplayName":"User Dashboard","Url":"#","Module":"Dashboard","IsRootNode":true,"ChildrenNodes":null}]');    
    
    for (var i = 0; i < menuJson.length; i++) {
        var s = menuJson[i];
                       
        var rootItem = new Telerik.Web.UI.RadPanelItem();
        rootItem.set_text(s.DisplayName);
        
        if (s.ChildrenNodes != null) {
            addItemsToRoot(s);
        }

        panelBar.trackChanges();
        panelBar.get_items().add(rootItem);
        //rootItem.get_items().add(childItem);
        //panelBar.get_items().getItem(0).get_items().insert(0, firstChild);
        panelBar.commitChanges();
    }
    

    function addItemsToRoot(rootItem) {
        
    }    
    
</script>

                    </div>
                    <div id="content">
                        <section>
                            
    
<b>The user Dashboard will go here. </b>
                        </section>
                    </div>
                    <div style="clear:both"></div>
                </div>
            </div>
            <footer>
                <div class="content_wrapper">

                    <div style="clear: both;"></div>
                    <div style="float: left; width: 100%; text-align: center;">
                        <br>
                      a href="/privacy.aspx">Privacy Policy</a> &nbsp; <a href="/Account/LogOff">Log Off</a>
                    </div>
                </div>
            </footer>
            <div style="clear:both"></div>
        </div>
        

        
    
<div class="aspNetHidden">

<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="F124CA87" />
</div></form>
</body>
</html>


  Any help that can be provided would be fantastic!




Doug
Top achievements
Rank 1
 answered on 10 Jul 2014
4 answers
112 views
Hello,

I am using treeview and I'm noticing that when I expand a node whose children has an exceptionally long string - the view scrolls to the right horizontally consequentially obfuscating other parent nodes on the left from the view. This happens only when I run it in IE. Does anyone have a work around for this problem.


Regards

Jesse Ash
Hristo Valyavicharski
Telerik team
 answered on 09 Jul 2014
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?