Telerik Forums
UI for ASP.NET AJAX Forum
23 answers
955 views
Based on the demo available on https://demos.telerik.com/aspnet-ajax/media-player/examples/overview/defaultcs.aspx#qsf-demo-source, I have used mediaplayer in my project. It plays all the .mp4 files except two in my list. That is confusing me. I checked the extension of the two files and both are .mp4 files. Both these files are of 1080p with large file size. Does that matter?
Eyup
Telerik team
 answered on 24 Jul 2015
4 answers
670 views

Hello,

 hopefully this is not a duplicate but I haven't been able to find any solution.

 

What I am looking for is a way to modify the new value when the 'save' event is fired. In my scenario there are several rows in the grid representing order positions. The user should now enter the amounts which are going to be shipped so he then can get a delivery note. So when the user enters an amount larger than initial the ordered one he should be warned and asked if he really wants to ship more. If denied the value should be set to the ordered amount.

I've tried several ways by modifiying the e.values or the e.model property. With or without a grid.refresh()... no way to modify the new value.

Finally I just define a e.preventDefault() but don't really like it.

Does anyone knows how to achieve my goal? Many thanks in advance!!

Olaf
Top achievements
Rank 2
 answered on 24 Jul 2015
1 answer
53 views
Many of this forums posts seem to be missing. For example, the DatePicker area has only seven posts, and I'm pretty sure they used be many, many more.
Pavlina
Telerik team
 answered on 24 Jul 2015
1 answer
676 views

Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: The state information is invalid for this page and might be corrupted.

 

when I click the button several times, then this error, you help me with!

Pavlina
Telerik team
 answered on 24 Jul 2015
1 answer
204 views

I am trying to create a UI test for an ASP.NET web site hosted in SharePoint 2010 using Test Studio. I am using WS2008 and IE10 for testing.

I am having a problem while getting element within an iFrame. This iFrame is created dynamically on click a link and loaded within a HTML page under the current page.

 I think that the iFrame is not loaded in the DOM and this is why I am getting error while accessing elements in the iFrame.

Can you please provide me a way to access elements in the iFrame?

 PFB, the error I have got in the log file:

Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure waiting for frane '[Frame:id=DlfFrame1bc2fae4-baa8-45e1-9331-88asdlaewrfkdj,name=Frame_2,src=http://contoso.com/_layouts/listform.aspx,UseQuery:False]' time out. Error: Wait for condition has timed out.

 Thank you in advance.

Boyan Boev
Telerik team
 answered on 24 Jul 2015
1 answer
182 views
When we export our grid with "ignorepaging=true" to PDF, grid row content are splitting into two parts when there are more pages.
Some cell data is displaying in one page and some is in second page. So is there is some way or property through which we can
solve this problem. Attaching screen shot for example.
Pavlina
Telerik team
 answered on 24 Jul 2015
3 answers
299 views

My File is MP4 Format,video codec is h264,audio is aac,but MediaPlayer control can't play the video,IE11,Chrome Firefox browser is NOT OK!

Please let me know if I have to do any settings in my machine/application!

My Code is:

<telerik:RadMediaPlayer ID="RadMediaPlayer1" runat="server" AutoPlay="True" Source="~/Video/test2.mp4"></telerik:RadMediaPlayer>​

 

Eyup
Telerik team
 answered on 24 Jul 2015
1 answer
187 views

Hi,

 I have the following code line:

GridTableView masterTable = (sender as RadGrid).MasterTableView;
RadComboBox cmbCurrencies = (masterTable.GetBatchEditorContainer("COLUMN") as Panel).FindControl("cmbCURRENCIES") as RadComboBox;

 

Visual Studio compiler says:

Error98'Telerik.Web.UI.GridTableView' does not contain a definition for 'GetBatchEditorContainer' and no extension method 'GetBatchEditorContainer' accepting a first argument of type 'Telerik.Web.UI.GridTableView' could be found (are you missing a using directive or an assembly reference?)C:\DCS\Caronte\VSCaronte\Movistar.Caronte.Web\ControlTemplates\MovistarCaronte\Phases\RFQControl.ascx.cs70954Movistar.Caronte.Web

Why this method cannot be found?

 Thanks in advance,

Alfonso

Konstantin Dikov
Telerik team
 answered on 24 Jul 2015
6 answers
671 views
Hi,

Can anyone help me how to find button control in form template using javascript?

I have tried  $('[id$="btnUpdate"]') and  $telerik.$( $find("<%=RadGrid1.ClientID %>").get_masterTableView().get_element()).find('input[id*="txtUsername"]')[0]; but nothing changed.

 $(document).ready(function () {
                $('[id$="btnUpdate"]').click(function (e) {
                    var grid = $find("<%=RadGrid1.ClientID %>");
                    var MasterTable = grid.get_masterTableView();
                    var row = MasterTable.get_dataItems()[0];
                    var txtUsername = $telerik.$(MasterTable.get_element()).find('input[id*="txtUsername"]')[0];

                    $.ajax({
                        url: "Handler1.ashx",
                        data: { 'username': txtUsername },
                        type: "POST",
                        async: false,
                        cache: false,
                        success: function (response) {
                            if (response != 0) {
                                alert('this user already exist!');
                                return false;
                            }
                            else {
                                return true;
                            }
                        },
                        error: function () {
                            alert('Error!');
                            return false; 
                        }
                    });
                 }); 
            });
Chrisbarm
Top achievements
Rank 1
 answered on 24 Jul 2015
1 answer
119 views

Hi Telerik Team,

 

I am Developing the Web application using radschedular,

 

http://www.telerik.com/support/code-library/occupied-time-slots-and-recurring-appointments

  

I am using the above code library for avoid the Recurrence Overlapping,

My problem is,

     The code works well, that is avoid the recurrence in a Current week(I am only using the Week view)

 But it will not work for upcoming weeks...

 

For Example,

    I recurrence booking a room for monday and tuesday (from 10:00 am to 12pm)

Then again one more Recurrence booking(say r2) for the same week like Thursday and Tuesday(at same time) .

here, I facing the issue on next week's tuesday recurrence booking is overlapping.

 

Could you tell me the solid solution for this issue...

Plamen
Telerik team
 answered on 24 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?