Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
245 views
I am using an old licensed version of the Telerik TabStrip. I am using IE 10 and 11. I am now getting javascript errors when I use the TabStrip on a web page. The error is window.attachEvent("onunlo\x61d",this.O9); Object does not support attachEvent. How would I fix this?


The dll shows as
RadTabStrip.Net2.dll

Assembly Version 3.4.1.0

Telerik © 2002-2007

Dimitar
Telerik team
 answered on 08 Aug 2014
11 answers
235 views
Hi,

    When i set validation group for rad button it wont fire server side click event.
If i remove the validation group it works fine.    
    




Thanks,
Dhamu
Maven
Top achievements
Rank 2
 answered on 08 Aug 2014
8 answers
969 views
I would like to use the RadAsyncUpload control without using a temporary file.  I just need the stream to pass to another function(e.File.InputStream).  How can I accomplish this?  

It works for me when I run it in Visual Studio, but fails when I deploy it to the server.  I am setting my Temporary Folder to a folder in the HttpContext.Current.Server.MapPath.  The user machine will not have that path.

My ascx file:
        <telerik:RadAsyncUpload runat="server" ID="RadAsyncUploadLetterFile" AllowedFileExtensions="rtf,rtfb" Width="225px"  
            OnFileUploaded="RadAsyncUploadLetterFile_FileUploaded" MaxFileInputsCount="1" DisablePlugins="True"
            PostbackTriggers="btnUpload" OnClientFileUploadFailed="onClientFileUploadFailed" 
            EnablePermissionsCheck="False" DisableChunkUpload="True" UseApplicationPoolImpersonation="True" 
            Skin="Web20" MultipleFileSelection="Disabled" >
        </telerik:RadAsyncUpload>

ascx.cs:
        public void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                RadAsyncUploadLetterFile.TemporaryFolder = HttpContext.Current.Server.MapPath(@"..\..\Reports");
            }
        }


Hristo Valyavicharski
Telerik team
 answered on 08 Aug 2014
2 answers
159 views
Hello,

Even though we bought the licence recently im getting a javascript error when using a RadListbox in a a UserControl then is called on a RadGrid.

When its called in ASPX, it does not verify the same behavior, in other words all goes well.

The userControl its quite simple

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="IncidenteComentarios.ascx.cs" Inherits="CRM.Ui.Web.IncidenteComentarios" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadToolBar runat="server" ID="ToolBar" AutoPostBack="true" Skin="Windows7">
    <Items>
        <telerik:RadToolBarButton Text="Guardar" CommandName="PerformInsert" CommandArgument="" />
        <telerik:RadToolBarButton Text="Guardar / Novo" CommandName="PerformInsert" CommandArgument="New" />
        <telerik:RadToolBarButton Text="Cancelar" CommandName="Cancel" />
    </Items>
</telerik:RadToolBar>
<br />
<telerik:RadListBox ID="lstRecursos" runat="server" CheckBoxes="true" Width="350px"
    DataTextField="_Descricao" DataValueField="_Codigo" DataKeyField="_Codigo" Height="200px">
</telerik:RadListBox>

At this sample no operations are taken on server.

Thanks
Princy
Top achievements
Rank 2
 answered on 08 Aug 2014
1 answer
138 views
Hi There,

I learned from the following documentation page that there is a RadWordsProcessing feature that can be used to manipulate docx files.

http://www.telerik.com/help/aspnet-ajax/radwordsprocessing-getting-started.html

However, it is also mentioned that reference to the following dlls is required.

• Telerik.Windows.Documents.Core.dll
• Telerik.Windows.Documents.Flow.dll
• Telerik.Windows.Zip.dll

Can I check with you whether it is recommended to reference dll under the namespace 'Telerik.Windows' in ASP.NET projects?

Regards,
Ryan
Ianko
Telerik team
 answered on 08 Aug 2014
3 answers
326 views
I have a radtrrview. How can I get the entire treeview expanded on hover of the root node.
Aneliya Petkova
Telerik team
 answered on 08 Aug 2014
13 answers
937 views
Hi,

Is it possible to read barcode image using camera and get the decoded text?

Thanks,
Berk.
Gorge
Top achievements
Rank 1
 answered on 08 Aug 2014
3 answers
152 views
Hello Team,

I am working on Web Application. used FIlterTemplate in GridBoundColumn of RadGrid.

Placed RadButton in Filter template with Toggle type : "CustomToggle" and ButtonType : "ToggleButton".

In preRender Event of Radgrid, I found grid.mastertableview.FIlterExpression is Empty.

Please find below Script used OnClientToggleStateChanged :

<telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">
<script type="text/javascript">
function ToggleStateChanged(sender, args) {
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
if (args._currentToggleState._attributes.text == "All") {
  tableView.get_filterExpressions().clear();
}
else {
   tableView.filter("UserName", "<%= Context.User.Identity.GetUserName() %>", "EqualTo");                                                                                }
}
</script>
</telerik:RadScriptBlock>  

Can anyone help me out? stuck with a simple filter functionality.

Thanks and Regards,
Ruchi Patel







Eyup
Telerik team
 answered on 08 Aug 2014
10 answers
502 views
Hi,
I have RadTreeView with context menu. The code looks like this.
<telerik:RadTreeView ID="RadTreeView1" runat="server" Style="border: 1px solid #CBE7F5;" 
                 OnNodeExpand="RadTreeView1_NodeExpand"  
                 OnNodeClick="RadTreeView1_NodeClick"  
                 OnClientNodeClicking="OnClientNodeClicking"   
                 OnContextMenuItemClick="RadTreeView1_ContextMenuItemClick" 
                 OnClientContextMenuItemClicking="onClientContextMenuItemClicking" 
                 OnClientContextMenuShowing="onClientContextMenuShowing" 
                 > 
                 <ContextMenus> 
                   <telerik:RadTreeViewContextMenu ID="MainContextMenu" runat="server"
                        <Items> 
                            <telerik:RadMenuItem Value="CR" Text="Create Change Request" ></telerik:RadMenuItem>                             
                        </Items> 
                        <CollapseAnimation Type="none" /> 
                    </telerik:RadTreeViewContextMenu> 
                 </ContextMenus>                  
        </telerik:RadTreeView> 

in the contextmenuitemclick event I am accessing the node like this
 protected void RadTreeView1_ContextMenuItemClick(object sender, RadTreeViewContextMenuEventArgs e) 
    { 
        RadTreeNode clickedNode = e.Node; 

most of the times the returns a valid RadTreeNode, but after a few clicks or the page is left untouched for a while the e.Node returns null. I suspected Session timeout but it is not. Any ideas on how to resolve this or am I doing some thing wrong? please help.


Aneliya Petkova
Telerik team
 answered on 08 Aug 2014
1 answer
117 views
Can you please explain or provide an example of how to use custom images?

I am not referring to custom shapes, I would like to use an image such as a PNG as the shape, is this possible? I understand its possible with silverlight and wpf versions of the diagram but I'm using asp.net ajax

I can probably provide my images in the SVG format if that helps

Thanks
Slav
Telerik team
 answered on 08 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?