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

  I entered the text and the below code is working to get the range
    editor.getSelectedElement().createTextRange()
 If I delete the text in editor and enter some other text and the above code throw the error as below,
   Object doesn't support this property or method  

Please let me know why this error throwing at next time. Do we need to refresh the editor or something, if yes how to do?
Rumen
Telerik team
 answered on 14 May 2012
8 answers
649 views
Hi Telerik,

I have a RadAsyncUpload control in my page.  When users upload documents, the progress bar and a Cancel button for the uploading item are showing. Users can either wait until the file is totally uploaded or hit the cancel button to cancel the upload. When users hit the Cancel button, the progress bar disappears and the red light and Remove button show up.  The red light item is very confusing for my users.  Is there any way I can get rid of the entire item(red light, document name and "Remove button") when users click "Cancel" button?

Thanks!
joan780
Plamen
Telerik team
 answered on 14 May 2012
2 answers
157 views
Hello,

I use the Grid with EditFormType = Template. When the user clicks the edit button on an item which is at the bottom of the browser window, only the top of the editform is visible and the user has to scroll down to see the whole control. Is it possible to automatically scroll down so the form is completely visible?
Is there any built-in mechanism in the RadGrid?

Thanks!
JP
Top achievements
Rank 1
 answered on 14 May 2012
2 answers
110 views
Hi everyone,
i'd like to use the Google-like filtering for Radgrid as shown in one of the examples:
Grid / Google-like Filtering
It uses a self created Custom-ControllColumn for that which is inheriting from GritTemplatecolumn.
The control is declared in code-behind and therefore also the grid is created in code-behind.
I've already a grid and its columns are defined in the aspx file.
As far as I know you shouldn't mix up the column-definition; either code-behind or static in the aspx.
I'd like to know if it is possible to define this control in a way that i can use it in the aspx.

How can I realize that?
What steps must be done to make the in CS written control available in the aspx-file?

Greetings,
Marcel
Marcel
Top achievements
Rank 1
 answered on 14 May 2012
2 answers
75 views
I have a telerik grid with lots of rows. i have a delete button:
<telerik:GridButtonColumn ButtonType="ImageButton"
FilterControlAltText="Filter column column" UniqueName="GridButtonDelete" CommandName="Delete">

I initially had code in the postbackurl and after the delete button was clicked I successfuly went to another page and did what i had to do. But I decided to add a client side confirmation
(item["GridButtonDelete"].Controls[0] as ImageButton).OnClientClick = "return confirm ('OK to Delete?');";
Once the confirmation was added the postbackurl of the delete button does not fire.
what am i doing wrong?
Saro
Top achievements
Rank 1
 answered on 14 May 2012
1 answer
86 views
It would appear that in 2012.1.215.40, OnClientSelectedIndexChanging does not hit when the selection is changed via keyboard rather than mouse. I have not rolled back to the previous version to test the previous behavior--but all of a sudden we have an application in which data which should not be edited can be edited. I'm thinking this is a SERIOUS BREAKING BUG. (Note, we have AllowCustomText=false.) Please advise of any workaround. Meantime I'm going to try to block all characters using onKeyDown per this sample:
http://www.telerik.com/help/aspnet-ajax/combobox-prevent-typing-particular-characters.html 
However, it has to be set in code for every single RadCombo--so a very ugly solution if it works.

I'll put this in a support ticket as well.
Ivana
Telerik team
 answered on 14 May 2012
16 answers
2.4K+ views

Hi

I have 2 questions that I need some help with if possible.

1)

I have implemented the RadAsyncUpload conrol in my web application to allow a user to upload files to the server. I would like to clear the uplaoded file list above the select button and this uploaded files in Javascript. Is this possible?

2)

How do a person code for when a file already exists using the RadAsyncUpload conrol?

Thank you
Fred

Kartar
Top achievements
Rank 1
 answered on 14 May 2012
3 answers
317 views
I'm writing to ask how best to read folders and/or files from a populated RadFileExplorer control, programmatically with C#;

Each day, date sensitive .pdf and .xls files are uploaded, via the RadFileExplorer;  On subsequent days, the previous days .pdf and .xls are manually moved to an Archive folder - also contained in the RadFileExplorer;  

The objective is to eliminate the manual process of moving files, and programmatically accomplish the same task;     

Any insight is appreciated;  Best regards - Rob

<telerik:RadFileExplorer ID="RadFileExplorer1" Runat="server" Width="100%" OnClientItemSelected="OnClientItemSelected"
                    ExplorerMode="FileTree" 
                    OnClientLoad="OnFileExplorerLoad" 
                        VisibleControls="TreeView, Grid, Toolbar, ContextMenus" 
                    TreePaneWidth="100%" BorderColor="Transparent" BorderStyle="None" 
                    EnableCopy="True" Height="600px" >
                    <Configuration ViewPaths="~/Customers" UploadPaths="~/Customers/"
                        DeletePaths="~/Customers/" MaxUploadFileSize="2147483647" />
                </telerik:RadFileExplorer>
Dobromir
Telerik team
 answered on 14 May 2012
2 answers
127 views
Hi,

How can I Remove a Column by drag and drop it outside the contol? Is there a Column Chosser window to re-Add/Show the hidden columns?

thank you
Mohammad
Top achievements
Rank 1
 answered on 14 May 2012
1 answer
102 views
Hi,

I have radupload setup and working fine on iis7.
I have all the maxfilesize , requestfiltering and so on setup to their maximum values.
I am using your sample java script to determine the file size and cancel if the file is over 1GB is size:

 
function checkUploadedFilesSize(progressArea, args) { 
          if (!progressArea.confirmed &&
  args.get_progressData().RadUpload.RequestSize > 1073741829) {
              document.getElementById('Label1').innerHTML = "max file size exceeded";
                  progressArea.cancelRequest();
               
          }
      }

its all working fine for files up to about 2GB is size, the java script catcthesh them and cancels them, however for files over 2GB in size nothing happens, javascript never fires,browser just load until file not found is displayed.
It this something that can be fixed ?

Also the above javascript doesnt seem to be working in Google Chrome browser for whatever reason..? Any ideas?
Plamen
Telerik team
 answered on 14 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?