Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
280 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
164 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
631 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
104 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
1 answer
59 views

Telerik RadDatePicker unable to choose selected date from calendar using Firefox(39.0) and Chrome(43.0.2357.134) but Same is worked for IE(9.0). We are using framework 2.0 with visual studio 2005.

 

 <radCln:RadDatePicker ID="radFromDate" MinDate="1/Jan/1900" onkeypress="javaScript: return false;"
                                                                        DateInput-DateFormat="dd-MMM-yyyy" DateInput-DisplayDateFormat="dd-MMM-yyyy"
                                                                        AutoPostBack="true" runat="server" Width="130px" Visible="false"           OnSelectedDateChanged="radIDFromDate_OnSelectedDateChanged">
                                                                    </radCln:RadDatePicker>​

Eyup
Telerik team
 answered on 24 Jul 2015
1 answer
129 views
                                <div id="divStuff" runat="server" Visible="False"
                                    style="float: left; position: relative; padding-top: 5px; padding-left: 25px; height: 340px; width: 500px; margin-right: 2px" >
                                    <fieldset style="height: 350px">
                                        <legend><b>Names</b></legend>
                                        <div style="padding-top: 25px; padding-left: 15px">
                                            <div style="float: left;padding-left: 40px">
                                                <div>
                                                    <asp:Label runat="server" Text="Available" Font-Bold="True"></asp:Label>
                                                </div>
                     <telerik:RadListBox id="lstAvailableNames"
                                                    AllowTransfer="true" TransferToID="lstSelectedNames" AllowReorder="True" ButtonSettings-AreaWidth="35px"
                                                    TransferMode="Move" SelectionMode="Multiple" Sort="Ascending"
                      runat="server" Height="260px" Width="185px" AutoPostBackOnTransfer="True"
                                                    OnTransferred="OnListBoxTransferred">
                     </telerik:RadListBox>
                                            </div>
                                            <div style="float: left">
                                                <div>
                                                <asp:Label runat="server" Text="Selected" Font-Bold="True"></asp:Label>
                                                </div>
                     <telerik:RadListBox  id="lstSelectedNames" SelectionMode="Multiple"
                                                    ButtonSettings-AreaWidth="35px" Sort="Ascending"
                      runat="server" Height="260px" Width="155px" >
                     </telerik:RadListBox>
                                            </div>
                                        </div>
                                    </fieldset>
                                </div>
Aneliya Petkova
Telerik team
 answered on 24 Jul 2015
1 answer
192 views

Following is code....

1.Drawing a line with multiple values.

 <telerik:RadHtmlChart runat="server" ID="chart1" Width="800" Height="500" Transitions="true">
    <PlotArea>
        <Series>
        
            <telerik:LineSeries Name="Line Series">
                <LineAppearance LineStyle="Step" />
                <Appearance>
                    <FillStyle BackgroundColor="Green" />
                </Appearance>
                <LabelsAppearance Visible="false" />
                <MarkersAppearance Visible="false" />
                <SeriesItems>
                    <telerik:CategorySeriesItem Y="200" />
                    <telerik:CategorySeriesItem Y="200" />
                    <telerik:CategorySeriesItem Y="200" />
                    <telerik:CategorySeriesItem Y="200" />
                    <telerik:CategorySeriesItem Y="200" />
                    <telerik:CategorySeriesItem Y="200" />
                    <telerik:CategorySeriesItem Y="200" />
                </SeriesItems>
            </telerik:LineSeries>
        </Series>
        <CommonTooltipsAppearance Color="White"></CommonTooltipsAppearance>
        <XAxis>
            <MajorGridLines Color="#EFEFEF" Width="1" />
            <MinorGridLines Color="#F7F7F7" Width="1" />
            <Items>
                <telerik:AxisItem LabelText="2008" />
                <telerik:AxisItem LabelText="2009" />
                <telerik:AxisItem LabelText="2010" />
                <telerik:AxisItem LabelText="2011" />
                <telerik:AxisItem LabelText="2012" />
                <telerik:AxisItem LabelText="2013" />
                <telerik:AxisItem LabelText="2014" />
            </Items>
            <TitleAppearance Position="Center" Text="Years" />
        </XAxis>
        <YAxis>
            <MajorGridLines Color="#EFEFEF" Width="1" />
            <MinorGridLines Color="#F7F7F7" Width="1" />
            <TitleAppearance Position="Center" Text="Finance" />
        </YAxis>
    </PlotArea>
    <ChartTitle Text="Company Performance">
        <Appearance Align="Center" Position="Top" />
    </ChartTitle>
    <Legend>
        <Appearance Position="Bottom" />
    </Legend>
</telerik:RadHtmlChart>

 

2.Not drawing a line with single value.

<telerik:RadHtmlChart runat="server" ID="chart1" Width="800" Height="500" Transitions="true">
    <PlotArea>
        <Series>
        
            <telerik:LineSeries Name="Line Series">
                <LineAppearance LineStyle="Step" />
                <Appearance>
                    <FillStyle BackgroundColor="Green" />
                </Appearance>
                <LabelsAppearance Visible="false" />
                <MarkersAppearance Visible="false" />
                <SeriesItems>
                    <telerik:CategorySeriesItem Y="200" />                  
                </SeriesItems>
            </telerik:LineSeries>
        </Series>
        <CommonTooltipsAppearance Color="White"></CommonTooltipsAppearance>
        <XAxis>
            <MajorGridLines Color="#EFEFEF" Width="1" />
            <MinorGridLines Color="#F7F7F7" Width="1" />
            <Items>
                <telerik:AxisItem LabelText="2008" />
                <telerik:AxisItem LabelText="2009" />
                <telerik:AxisItem LabelText="2010" />
                <telerik:AxisItem LabelText="2011" />
                <telerik:AxisItem LabelText="2012" />
                <telerik:AxisItem LabelText="2013" />
                <telerik:AxisItem LabelText="2014" />
            </Items>
            <TitleAppearance Position="Center" Text="Years" />
        </XAxis>
        <YAxis>
            <MajorGridLines Color="#EFEFEF" Width="1" />
            <MinorGridLines Color="#F7F7F7" Width="1" />
            <TitleAppearance Position="Center" Text="Finance" />
        </YAxis>
    </PlotArea>
    <ChartTitle Text="Company Performance">
        <Appearance Align="Center" Position="Top" />
    </ChartTitle>
    <Legend>
        <Appearance Position="Bottom" />
    </Legend>
</telerik:RadHtmlChart>

 

Please find the attached files.​

 

Danail Vasilev
Telerik team
 answered on 24 Jul 2015
1 answer
153 views
I am able to draw a line between two series but not able to draw on single series it is showing only point. I want draw line single series also.
Danail Vasilev
Telerik team
 answered on 24 Jul 2015
1 answer
61 views

I think this is an advance topic in Kendo UI. I have a Kendo UI grid and I added a custom edit popup to update the data in the grid.
My data packet like this :

 

{
 fieldOne : "valueOne";
 fieldTwo : "valueTwo";
 fieldThree : [{a : "someValue", b : "someValue"},{a : "someValue", b : "someValue"}]
}
 

 In edit popup I will edit this data. But I have a new requirement that add a new value to fieldThree. My new Data packet will look like this...     

 {
  fieldOne : "valueOne";
  fieldTwo : "valueTwo";
  fieldThree : [{a : "someValue", b : "someValue"}]
 }

 

 

 

What I have done is I made a custom popup and custom fields for that. But my question is how I redefine the data packet to above one ?? In Kendo UI it will only update existing values...

 

Rasika
Top achievements
Rank 1
 answered on 24 Jul 2015
1 answer
70 views

 

How to display single RadGrid as like below :

 

1).if i click on Addnew Record button, RadGrid should display all Columns (Example: 10 cols) in EditForms mode only for Insert

        

2).if i click on Edit Button, RadGrid should display 4 columns (remaining should be hide) in Inplace mode only for Update

 

 

 

 

Eyup
Telerik team
 answered on 24 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?