Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
100 views

Hi,

At the opposite of selecting, droping could concern a folder. But this is not waht we want to do. We only want to allow files.

PS : I don't want to use allowed files extensions property because there are hundreds of extensions

NNou
Top achievements
Rank 1
 asked on 14 Apr 2017
0 answers
80 views

Hi,

I am able to expand/collapse my groups in Rad Grid on client side. What I would like to do is to cancel the expand/collapse in certain situations. For example, if the "Total" amount in my Group row is less than 100, I would like to cancel the expand event.

I know I should be able to do this by the GroupExpanding event - I have hooked that up (using GroupLoadMode = Client), and I can indeed intercept the expand event. However, I am not able to find a way to access the data in the group row I am expanding, to check what the total value is.

Is there a way to do this? I need to do this all client-side.

Basically, cancel the expand event if some value in the group row is not equal to 100.

Thanks

Daniel

Daniel
Top achievements
Rank 1
 asked on 14 Apr 2017
8 answers
176 views

Hi,

I encountered  a problem on IE9. I used AsyncFile Upload control. I needed Manual Upload and Multiple File Selection. I could select only one file in the open file dialog on IE9 and the upload module was IFrame. But On Firefox I could select several files at a time. After I had switched off the Manual Upload feature I could select several files at a time on IE9 and the upload module was Silverlight. What should to do in order the Multiple File Selection feature works on IE9?

Environment: Win7 Ultimate x64 SP1, IIS7, VS2010 SP1, Silverlight 5, Telerik Radcontrols for ASP.NET Ajax Q3 2012  SP2 v.12.3.1308.0

There is my project in the attachment.

Thank you in advance.

start.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Start.aspx.cs" Inherits="FileUploadIE.Start" %>
 
<%@ 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>
    <script src="http://localhost:12769/Scripts/jquery-1.9.0.js" type="text/javascript"></script>
    <script type="text/javascript" id="telerikClientEvents1">
        function RadAsyncUpload1_FilesSelected(sender, args) {
            var moduleName = sender.get_loadedModuleName();
            $('#moduleName').html('<span> Uploading module: ' + sender.get_loadedModuleName() + ' </span>');
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <p id="moduleName">
    </p>
    <div>
        <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" ManualUpload="True"
            MultipleFileSelection="Automatic" OnClientFilesSelected="RadAsyncUpload1_FilesSelected">
        </telerik:RadAsyncUpload>
    </div>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    </form>
</body>
</html>
 

start.aspx

using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
namespace FileUploadIE
{
    public partial class Start : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
 
        }
    }
}

 web.config

<?xml version="1.0"?>
<configuration>
  <system.web>
    <httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
    </httpHandlers>
    <compilation debug="true">
    </compilation>
  </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>
</configuration>

 

 

 

Ivan Danchev
Telerik team
 answered on 14 Apr 2017
0 answers
95 views

Hi,

I have put an image on the drop zone and I want the image to disapppear when the file is being dropped so that the text "Drop files here" does not appear on it. Is there any way to do that ?

Note that the file is not already dropped, he is being dropped

NNou
Top achievements
Rank 1
 asked on 14 Apr 2017
1 answer
79 views

Hi,

 

When I compare the FileExplorer (EnableFilteringOnEnterPressed = True) with Windows behavior there is one issue a customer pointed me to.

Try the following scenario:

  1. select a folder on the treeview screen, the items appear;
  2. type a word in the filterbox, remove some characters using cursor select and BACKSPACE, everything OK;
  3. type a word in the Filterbox, remove some characters using cursor select and DELETE, now the dialog appears if you want to delete the complete folder.

One customer had deleted complete folder by hitting OK. Not very clever of him but it can happen.

In the Windows Explorer this behavior is different; after DELETE the characters are just removed from the Searchbox and Search can be performed again.

Marc
Dimitar
Telerik team
 answered on 14 Apr 2017
5 answers
216 views
I have RadListBox with custom theme.

I have EnableMarkMatches = true. It works for IE 8.0 and IE 9.0. It doesn't work for Google Chrome.

When i start typing in listbox nothing happens. 

For e.g if i want to search "Pain in thumb" it filters out fine in IE.

Yazan
Top achievements
Rank 1
 answered on 13 Apr 2017
1 answer
157 views

I'm trying to fire a command from raddataform like:

        var masterTable = $find("<%= RadDataForm1.ClientID %>");
         masterTable.fireCommand("MyUploadCommand", "");

that fires very well and I can catch coomand in RadDataForm1_ItemCommand like:

If e.CommandName = "MyUploadCommand" Then......

but I cannot find controls inside <EditItemTemplate> no matter what. also very strange but inside Itemcommand routine e.DataFormItem.IsInEditMode is always false but its in edit mode.

I can access controls from RadDataForm1_Deletecommand, RadDataForm1_InsertCommand perfectly but not from RadDataForm1_ItemCommand.

How can I trigger  a command with javascript and catch it and access controls ?

If I cannot find the answer I have to give up using raddataform because there are no documents left to read...

 

best.

 

 

 

Aykut
Top achievements
Rank 1
 answered on 13 Apr 2017
0 answers
118 views

My value of rating control is 4.7 but it just show 4 stars. 

 

<telerik:RadRating runat="server" ID="rrComment"  ReadOnly="true" EnableEmbeddedSkins="true" Precision="Exact"  ViewStateMode="Inherit" />

binbin
Top achievements
Rank 1
 asked on 13 Apr 2017
0 answers
63 views
The following code works and updates the literal control perfectly.  When I add the ajax manager, it doesn't update the control at all . Its still Showing Chart...
cynthia
Top achievements
Rank 1
 asked on 13 Apr 2017
1 answer
110 views

Hi guys

 

I have a nicely-styled pdf output from theRadGrid, and I would like to complete the report by including a text cover page within the pdf before the data. How can I do this. Personally, I could create the cover page separately and merge it with the data pdf but I really want to provide this function so non-IT people can create their own output in a single click.

Can you suggest how this could be done?

Thanks

Clive

Rumen
Telerik team
 answered on 13 Apr 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?