Telerik Forums
Community Forums Forum
3 answers
228 views

Hi All,

My requirement goes like , we dont have allowed list extensions , instead we have blocked list of file types/extensions. So i wrote java script which will check against the blocked list [i.e xml file]. should be removed from the upload file collection. So i wrote following  java script.

 function OnClientFileSelected(sender, args) {

               var currentFileName = args.get_fileName();
               var fileExt = '.' + currentFileName.split('.').pop().toUpperCase();
               if (!(IsValidFileType(fileExt))) {
                   // invalid file - inform user and remove
                   alert('"' + currentFileName + '" cannot be uploaded and will be removed.');
                   sender.deleteFileInputAt(args.get_rowIndex());
                   sender.deleteFileInputAt(currentFileName);
               }
           }

this script is runing fine. It is able to remove blocked file extensions from uploading. But in target folder am able to see the blocked files. It means in Front end the blocked file types are removed from uploading list.but in backend it goes to target folder.

 

Ivan Danchev
Telerik team
 answered on 24 Jul 2015
1 answer
56 views

We are looking for a developer to build on the Telerik platform a portal + app for our products/services 

We are located in Amsterdam, The Netherlands,

Interested? Then please send an email to Marco.Robben@mastermind.eu

Naren
Top achievements
Rank 1
 answered on 22 Jul 2015
0 answers
81 views

Hello,

We have DevCraft Complete.  Anything in there to help create a site wide search on an intranet?

 

Thanks

Bryan
Top achievements
Rank 1
 asked on 14 Jul 2015
6 answers
117 views
I purchased Telerik controls after spending some time using the demos and trial. However, I did not work very far into the advanced features before purchasing.

It turns out that there is almost zero documentation for anything but the most basic of functions, the controls have major bugs which go unfixed for years, and the support staff is unable to understand most questions.

What was to be a 3 month project has just hit 6 months, and I put the blame for that squarely on Telerik. Out of any given day, I spend almost 6 hours trying to find information on how to work around their controls, or get them to work at all. 

If you are evaluating Telerik, I advise you to search around the web for complaints about them. You will find that there are many, and that they all have a common complaint of poor documentation and bug-ridden controls. 

http://www.gitshah.com/2011/03/telerik-controls-perfect-example-of-how.html

http://www.telerik.com/forums/poor-documentation

Julian
Top achievements
Rank 1
 answered on 04 Jun 2015
2 answers
289 views
Hi all,
     i am trying to open a PDF file inside RadWindow.Its working in Chrome and Firefox but in IE its not opening.Any help.

<telerik:RadWindow ID="RadWindow1" runat="server">
    <ContentTemplate> 
    <iframe id='iframe3' runat='server' width='600px' height='600px' src='/files/sample.pdf'></iframe>
    </ContentTemplate>
  </telerik:RadWindow>
Eddy
Top achievements
Rank 1
 answered on 04 May 2015
0 answers
41 views

I am calling a remote view by app.navigate().

app.navigat("index.html");

But it is called three times in a row.

 How can i fix it on 1.

Shri Kant
Top achievements
Rank 1
 asked on 28 Apr 2015
0 answers
107 views

I need a quick help here , i followed the tutorials  online on using kendo ui jsp wrapper to do crud operation , where i have problem is when editting with popup  when i click the update and send the request to my servlet , all my request.getParamere() are returning null values , a quick check on the brower developer shows that datas where actually sent seen scrren shot below 

 

and my page looks like this 

<%-- 
    Document   : firstpage
    Created on : Apr 16, 2015, 3:17:28 PM
    Author     : Adebayo
--%>
<%@taglib prefix="kendo" uri="http://www.kendoui.com/jsp/tags"%>
<%@page import="com.google.gson.Gson"%>
<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  <title>Insert title here</title>

  <link href="styles/kendo.common.min.css" rel="stylesheet">
  <link href="styles/kendo.default.min.css" rel="stylesheet">

  <script src="js/jquery.min.js"></script>
  <script src="js/kendo.all.min.js"></script>
</head>
<body>

  <!-- products grid will go here -->
<kendo:grid name="products" pageable="true"  sortable="true" filterable="true" groupable="true">
  <kendo:grid-pageable pageSizes="true" refresh="true" buttonCount="5"/>
    <kendo:grid-editable mode="popup"/> 
                         
    <kendo:grid-toolbar>
  <kendo:grid-toolbarItem name="create" />
</kendo:grid-toolbar>
    <kendo:dataSource pageSize="10">
 
  <kendo:dataSource-transport>
  <kendo:dataSource-transport-read url="employeeJson" type="GET"></kendo:dataSource-transport-read>
  <kendo:dataSource-transport-update url="employeeJson?update" type="POST"></kendo:dataSource-transport-update>
  <kendo:dataSource-transport-create url="getEmployees?create" type="POST"></kendo:dataSource-transport-create>
  <kendo:dataSource-transport-destroy url="getEmployees?delete" type="POST"></kendo:dataSource-transport-destroy>
     
</kendo:dataSource-transport>


 
        
    <kendo:dataSource-schema >
 
<kendo:dataSource-schema-model id="ref_id">
    
    
     
<kendo:dataSource-schema-model-fields>
    
     <kendo:dataSource-schema-model-field name="Employees">
      <kendo:dataSource-schema-model-field-validation required="true"/>
   </kendo:dataSource-schema-model-field>
<kendo:dataSource-schema-model-field name="ref_id" type="string" />
<kendo:dataSource-schema-model-field name="passport_no" type="string" />
<kendo:dataSource-schema-model-field name="surname" type="string" />
<kendo:dataSource-schema-model-field name="dob" type="date" />
<kendo:dataSource-schema-model-field name="cre_date" type="date" />
<kendo:dataSource-schema-model-field name="enrol_no" type="string" />
 
</kendo:dataSource-schema-model-fields>
</kendo:dataSource-schema-model>
</kendo:dataSource-schema>
      
    </kendo:dataSource>
    
    <kendo:grid-columns>
        
      <kendo:grid-column title="Refrence No" field="ref_id" />
      <kendo:grid-column title="Passport No" field="passport_no"/>
      <kendo:grid-column title="Surname" field="surname" />
      <kendo:grid-column title="Date Of Birth" field="dob"  format="{0:dd-MMM-yyyy}"/>
      <kendo:grid-column title="Create Date" field="cre_date" format="{0:dd-MMM-yyyy}" />
      <kendo:grid-column title="Enroment No" field="enrol_no"/>
      
       <kendo:grid-column>
    <kendo:grid-column-command>
      <kendo:grid-column-commandItem name="edit"></kendo:grid-column-commandItem>
      <kendo:grid-column-commandItem name="destroy"></kendo:grid-column-commandItem>
    </kendo:grid-column-command>
  </kendo:grid-column>
    </kendo:grid-columns>
    
  </kendo:grid>
</body>
</html>

What im i doing wrong ?

Adebayo
Top achievements
Rank 1
 asked on 23 Apr 2015
0 answers
87 views
There have been no goals after 135 minutes of this tie so far and we can all thank Jan Oblak for that.

Real Madrid vs Atletico Madrid Highlights

The giant Slovenian goalkeeper, affectionately nicknamed 'The Wall' in
some quarters after last week's first leg, conjured up another big save
to deny Cristiano Ronaldo as the first half was drawing to an end here
this evening.
jamelaths
Top achievements
Rank 1
 asked on 22 Apr 2015
2 answers
113 views

Hello I am trying to figure out what could be the problem with only one of PC not playing video with Silverlight using Telerik controls. As soon as I open the book that is supposed to play a .ismv file; I get following error in "Inspect Element" on IE & Chrome as well as "Firebug" for Firefox:

 

Uncaught Error: Unhandled Error in Silverlight Application [Arg_COMException]
Arguments: 
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. 
See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.30514.00&File=mscorlib.dll&Key=Arg_COMException   
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Analytics_Start()
   at Microsoft.Expression.Encoder.AdaptiveStreaming.PlaybackInfo..ctor(MediaElement me)
   at Microsoft.Expression.Encoder.AdaptiveStreaming.AdaptiveStreamingSource.set_MediaElement(MediaElement value)
   at Training.BaseBook.StartMediaPlayback(RadMediaItem mediaItem, MediaElement mediaElement)
   at SixPoint.MainPage.HomeTeamVideo_6Pt_StreamAttached(Object sender, EventArgs e)
   at Telerik.Windows.Controls.RadMediaItem.AttachStream()
   at Telerik.Windows.Controls.RadMediaPlayer.Play()
   at SixPoint.MainPage.HomeTeamBook_PageChanged(Object sender, RadRoutedEventArgs e)
   at Telerik.Windows.RadRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
   at Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
   at Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
   at Telerik.Windows.Controls.RadBook.OnPageChanged(RadRoutedEventArgs e)
   at Telerik.Windows.Controls.RadBook.OnCurrentSheetIndexChanged(Int32 newValue, Int32 oldValue)
   at Telerik.Windows.Controls.RadBook.OnRightPageIndexChanged(Int32 rightPageIndex)
   at Telerik.Windows.Controls.RadBook.OnRightPageIndexPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
   at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
   at Telerik.Windows.Controls.RadBook.PageTurner_Completed(Object sender, PageTurnEventArgs e)
   at Telerik.Windows.Controls.Book.PageTurner.Timer_Tick(Object sender, EventArgs e)
   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)

 

Not sure what is causing the problem ? I have re-installed both Silverlight and .NET framework on this PC to match the PCs that do work fine and play the video. Only Firefox and Chrome play the video on other PCs but this one gets hung with the same error (mentioned above) in all 3 browsers - IE, Firefox and Chrome. 

The .ismv file was created using MS Expression Encoder 3.0

Any suggestions ? I am trying to help my client figure this out and no luck so far..

 

PK​

Kiril Vandov
Telerik team
 answered on 17 Apr 2015
3 answers
166 views
I have tried with 3 different computers, all with working SIlverlight installed in the browsers(both IE and Firefox).
When trying to watch any of the videos with the SIlverlight players it just shows me the Telerik intro and then IE says:

Webpage error details
  
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Mon, 28 Mar 2011 22:38:40 UTC
  
  
Message: Unhandled Error in Silverlight Application [Arg_COMException]
Arguments: 
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60129.0&File=mscorlib.dll&Key=Arg_COMException ;  at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Analytics_Start()
   at Microsoft.Expression.Encoder.AdaptiveStreaming.PlaybackInfo..ctor(MediaElement me)
   at Microsoft.Expression.Encoder.AdaptiveStreaming.AdaptiveStreamingSource.set_MediaElement(MediaElement value)
   at TelerikTv.SilverlightMediaPlayer.MainPage.<SetSmoothStreamingSource>b__4(Object s, EventArgs e)
   at Telerik.Windows.Controls.RadMediaItem.AttachStream()
   at Telerik.Windows.Controls.RadMediaItem.SelectInternal()
   at Telerik.Windows.Controls.RadMediaItem.OnSelected(RadRoutedEventArgs e)
   at Telerik.Windows.Controls.HeaderedSelector.OnIsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
   at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)
   at Telerik.Windows.Controls.HeaderedSelector.ItemSetIsSelected(Object item, Boolean value)
   at Telerik.Windows.Controls.HeaderedSelector.SelectionChanger`1.SynchronizeInternalSelection()
   at Telerik.Windows.Controls.HeaderedSelector.SelectionChanger`1.End()
   at Telerik.Windows.Controls.HeaderedSelector.SelectionChanger`1.SelectJustThisItem(T item)
   at Telerik.Windows.Controls.HeaderedSelector.OnSelectedIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
   at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)
   at Telerik.Windows.Controls.RadMediaPlayer.Play()
   at TelerikTv.SilverlightMediaPlayer.MainPage.SetSmoothStreamingSource()
   at TelerikTv.SilverlightMediaPlayer.MainPage.ttvPlayer_MediaEnded(Object sender, RadRoutedEventArgs e)
Line: 1
Char: 1
Code: 0
  
  
Message: Unhandled Error in Silverlight Application 
Code: 4004    
Category: ManagedRuntimeError       
Message: System.Exception: [Arg_COMException]
Arguments: 
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60129.0&File=mscorlib.dll&Key=Arg_COMException
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Analytics_Start()
   at Microsoft.Expression.Encoder.AdaptiveStreaming.PlaybackInfo..ctor(MediaElement me)
   at Microsoft.Expression.Encoder.AdaptiveStreaming.AdaptiveStreamingSource.set_MediaElement(MediaElement value)
   at TelerikTv.SilverlightMediaPlayer.MainPage.<SetSmoothStreamingSource>b__4(Object s, EventArgs e)
   at Telerik.Windows.Controls.RadMediaItem.AttachStream()
   at Telerik.Windows.Controls.RadMediaItem.SelectInternal()
   at Telerik.Windows.Controls.RadMediaItem.OnApplyTemplate()
   at System.Windows.FrameworkElement.OnApplyTemplate(IntPtr nativeTarget)     
  
Line: 382
Char: 1
Code: 0

What to do?
Other sites with Silverlight content works great.

Sincerely, Thomas
Iva
Telerik team
 answered on 16 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?