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

I am working code-behind and have a condition.

If Ok => read a playlist
if NotOK => read a single video

 if (myCondition)
            {
                RadMediaPlayer1.Sources.Add(new MediaPlayerSource() { Path = "https://www.youtube.com/watch?v=C4gcySKN16E" });
            }
            else
            {                
                RadMediaPlayer1.PlaylistSettings.YouTubePlaylist = MyYoutubePL;
                RadMediaPlayer1.PlaylistSettings.Position = MediaPlayerPlaylistPosition.Horizontal;
                RadMediaPlayer1.PlaylistSettings.Mode = MediaPlayerPlaylistMode.Buttons;
                RadMediaPlayer1.PlaylistSettings.ButtonsTrigger = MediaPlayerScrollButtonsTrigger.Hover;
            }

When myCondition is true, all works perfecly, the single video file is attached to the player

but if myCondition is false : nothing happens, I can't see any Playlist or video...

Any idea ?
Eyup
Telerik team
 answered on 18 Mar 2015
5 answers
224 views
Hi All,
I have nested radgrid and I want to update field inside the child grid,so how can I access the boundfield  of the childgrid in Update event ???


thanks in advance
ghadeer
Kostadin
Telerik team
 answered on 18 Mar 2015
3 answers
114 views

hello,

i'm currently doing some experiments with the radgrid control and edit capabilities/options it offers, this is my current situation:

 - there's about 30 radgrids on my test page, each one is dynamically and programmatically created, and each one will be editable
 - each grid needs to have it's own custom edit form generated from the columns present on the respective radgrid
 - the previous version of the website uses standard gridviews and already has all the code behind that creates table rows, columns and controls in a separate "Details" page
 - the edit forms need to have combos/dropdowns, datetimepickers, textboxes and so on
 - my plan is to use the code behind to programmatically create all the edit forms

now as far as i know my current options are:
 - programmatically create a template on the EditCommand event and then "binding" it to the grid
 - create a new webusercontrol on the EditCommand event and then add all the controls i want to

are there any other options?
is any of the options i listed possible?

i would appreciate some help on this

 

 

Maria Ilieva
Telerik team
 answered on 18 Mar 2015
1 answer
87 views
Hi
I have a problem with RadGrid
It works fine but if someone minizmizes the Browser to half(attached picture) then the grid goes beyond the webpart zone in page of the  browser in sharepoint.
How to avoid the same??
Marin
Telerik team
 answered on 18 Mar 2015
1 answer
190 views
Is there any inbuilt feature for creating collapsible rows in a repeater? For example, you have rows of notes and an expand buttom. On clicking on expand that displays the entire notes, the date it was created and by whom.
Vessy
Telerik team
 answered on 18 Mar 2015
2 answers
244 views
Hi
I have requirement where i have data shown in Rad Grid(Assuming 4 Columns) and for each row at the end i need to add button as Update
Once i clicked the Update button i want pop up window opened with the values for the row.
I was able to achieve the same using the below Example
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx.
But now the requirement is little complicated here
Assuming We show EmployeeId,Firstname,Lastname and State
1 Steve Jobs CA as example
When clicked on edit button it shows me these values and i can manullay update - But for Countries in need all the States avaialble - Say a list of 50 States shown rather than just textbox of CA and manually typing  chaning to NJ - I want dropdown of all 50 States which i have in List and Have CA - selected.
This way the user can edit select what ever state he wants to select.

How to achieve the same, Thanks in advance
Babu
Top achievements
Rank 1
 answered on 17 Mar 2015
1 answer
126 views
The Navigation control looks like an improvement over the conventional menu, at least in regards to responsive design. 

Can this control be bound to a sitemap, and will it perform security trimming?
Ivan Danchev
Telerik team
 answered on 17 Mar 2015
5 answers
159 views
Hi 

I have a RadMenu which is getting populated from a sitemap 
I want to convert the text of menu based upon culture set from the language dropdown .

Could any one help me on this , how to achieve this with small piece of code.

Thanks
Hristo Valyavicharski
Telerik team
 answered on 17 Mar 2015
1 answer
272 views
Hallo,

The class GridTableView supplies the method ExportToPdf(). This method writes the generated PDF-Data to the Page.Response. What I need is a method/solution which doesn't writes to Page.Response and returns a byte-Array or Stream which represents the PDF. Something like that:

public Byte[] ExportToPdfAsByteArray();

Does anyone know how to realize that?

BTW: I have seen the example from Telerik where a method was attached to the GridExporting-Event to extract the PDF-Data from the GridExportingArgs and write the pdf to a file. But that isn't a solution for me because it still writes to HttpResponse and it does a Response.Redirect to the actual page.

Thanks

Oliver
Konstantin Dikov
Telerik team
 answered on 17 Mar 2015
5 answers
213 views
Hi,

I have a RadPanel Bar and Panel items inside that. I have a grid view in which there is a textbox with autocomplete extender feature.

When i type the value in the textbox the Completion list of extender control is not going behind the panel bar and it hides behind the panel bar.

I tried to set the postioning to absoulte and z-index, but no luck

Please help me out on resolving this

Regards,
Ravi












Magdalena
Telerik team
 answered on 17 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?