Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
188 views
I have a radtreeview with checkbox. When I check the checkbox, I want to prevent checked event by clicking 'cancel' on confirm box but it doesnt work. Here is my code:
<telerik:RadTreeView ID="_tree" runat="server" Skin="Silk" CheckBoxes="true" OnClientNodeChecking='ClientNodeChecking' TriStateCheckBoxes="true" CheckChildNodes="true"></telerik:RadTreeView>


function ClientNodeChecking(sender, eventArgs) {
        var node = eventArgs.get_node();
        if (node.get_checked()) {
            var agree = confirm('Do you want to check?');
            if (agree) {
                node.check();
            }
            else
                return false;
        }
    }
Ivan Danchev
Telerik team
 answered on 24 Jul 2015
19 answers
515 views
Hi Team,

I would like to know if the below mentioned format can be achieved using the treeview.

-Section1
     -Section1.1
        -This section is long and need
           text wrapping with the indentation
           proper.
        -this is a small section   
     +Section1.2
     +Section1.3
     +Section1.4
+Section2
+Section3
+Section4

Do let me know if my question is not understandable.

Thanks,
Soonam
Ivan Danchev
Telerik team
 answered on 24 Jul 2015
23 answers
932 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
651 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
48 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
664 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
182 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
172 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
289 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
176 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?