Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views
I have used custom scroll bar in my whole application.
How can i change scroll bar of Rad list box with my custom scroll bar ?
Ivan Danchev
Telerik team
 answered on 12 Mar 2015
11 answers
269 views
Hi,

My requirement is to databind the media player playlist in code behind. However, when I try to populate the playlist from the code behind, I don't get anything in the playlist but only the first video plays. Can you please help?

What I currently do is:

In the aspx page:

<telerik:RadMediaPlayer ID="RadMediaPlayer1" runat="server" Height="554px" Width="692px">
<PlaylistSettings Mode="Buttons" ButtonsTrigger="Hover" />
</telerik:RadMediaPlayer>

And in the aspx.vb page:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load

RadMediaPlayer1.ToolBar.HDButton.Visible = False
RadMediaPlayer1.TitleBar.ShareButton.Visible = False

Dim table As DataTable = GetDataTable("SELECT * From Mytable", MyConnString)

For Each row As DataRow In table.Rows
Dim myfilename As String = row("myFilename") 'Mp4 file
Dim mytitle As String = row("mytitle")

Dim file As New MediaPlayerVideoFile() With {.Title = mytitle, .Poster = "poster.png"}
file.Sources.Add(New MediaPlayerSource() With {.Path = myfilename)})
RadMediaPlayer1.Playlist.Add(file)
Next

End Sub

Friend Shared Function GetDataTable(ByVal query As String, ByVal myConn As String) As DataTable

Dim connString As String = ConfigurationManager.ConnectionStrings(myConn).ConnectionString
Dim conn As SqlConnection = New SqlConnection(connString)
Dim myadapter As SqlDataAdapter = New SqlDataAdapter
myadapter.SelectCommand = New SqlCommand(query, conn)
Dim table As New DataTable
conn.Open()
Try
myadapter.Fill(table)
Catch ex As Exception
Finally
conn.Close()
End Try
Return table
End Function
Pavlina
Telerik team
 answered on 12 Mar 2015
1 answer
368 views
Hi 

I have downloaded the trial and it does not seem to contain the live demo's folder once installed.
how do I get hold of the live demo's?

Ta,
D
Marin Bratanov
Telerik team
 answered on 12 Mar 2015
1 answer
99 views
H,
I can not understand a dove to look for translate these labels (Image)
in RadGridPager.

This is the portion of class that used for translate other elements.


      radGrid.ClientSettings.ClientMessages.PagerTooltipFormatString = "Pagina <strong>{0}</strong> di <strong>{1}</strong>";
      radGrid.ClientSettings.ClientMessages.DragToGroupOrReorder = "";
      radGrid.ClientSettings.ClientMessages.DragToResize = "";
      radGrid.ClientSettings.ClientMessages.DropHereToReorder = "";
 
      radGrid.PagerStyle.PrevPageText = "";
      radGrid.PagerStyle.NextPageText = "";
      radGrid.PagerStyle.PagerTextFormat = "CAMBIA PAGINA {4}  PAGINA <strong>{0}</strong> DI <strong>{1}</strong>, ELEMENTO <strong>{2}</strong> DI <strong>{3}</strong> - ( TOTALE : <strong>{5}</strong> ) ";
      radGrid.PagerStyle.ShowPagerText = true;
      radGrid.PagerStyle.PageSizeLabelText = "ELEMENTI PER PAGINA";
      radGrid.PagerStyle.FirstPageToolTip = "Prima pagina";
      radGrid.PagerStyle.GoToPageButtonToolTip = "Vai alla pagina";
      radGrid.PagerStyle.GoToPageTextBoxToolTip = "Vai alla pagina";
 
      radGrid.PagerStyle.FirstPageText = "Pagina:";     
      radGrid.PagerStyle.LastPageToolTip = "Ultima pagina";
      radGrid.PagerStyle.ChangePageSizeComboBoxToolTip = "Cambia Pagina";
      radGrid.PagerStyle.ChangePageSizeTextBoxToolTip = "Cambia Pagina";
      radGrid.PagerStyle.ChangePageSizeComboBoxTableSummary = "CAMBIA PAGINA";               
      radGrid.PagerStyle.ChangePageSizeButtonToolTip = "Cambia Pagina";
       
      radGrid.PagerStyle.PrevPageToolTip = "Pagina precedente";
      radGrid.PagerStyle.PrevPagesToolTip = "Pagine precedenti";
      radGrid.PagerStyle.NextPageToolTip = "Pagina successiva";
      radGrid.PagerStyle.NextPagesToolTip = "Pagine successive";
                       
      radGrid.MasterTableView.NoDetailRecordsText = "NESSUN ELEMENTO TROVATO";
      radGrid.MasterTableView.NoMasterRecordsText = "NESSUN ELEMENTO TROVATO";
      radGrid.MasterTableView.CommandItemSettings.RefreshText = " AGGIORNA LISTA";
 
      radGrid.SortingSettings.SortedAscToolTip = "Ordinato in modo crescente";
      radGrid.SortingSettings.SortedDescToolTip = "Ordinato in modo decrescente";
      radGrid.SortingSettings.SortToolTip = "CLICCARE PER ORDINARE";
 
      radGrid.GroupingSettings.ExpandTooltip = "Espandi gruppo";
      radGrid.GroupingSettings.CollapseTooltip = "Comprimi gruppo";
 
      radGrid.HierarchySettings.CollapseTooltip = "Comprimi";
      radGrid.HierarchySettings.ExpandTooltip = "Espandi";



Thanks,
Marco
Kostadin
Telerik team
 answered on 12 Mar 2015
1 answer
70 views
What is the best way to define a multi language access keyes?
Misho
Telerik team
 answered on 12 Mar 2015
28 answers
987 views
Hi I am using IE7, I have to asp:panels, one contains a readonly form and one contains the edit form. The edit form has RadTextBoxes with MultiLine set to true, and the data is loaded programmatically into them.

When I load the form into edit mode, only the first line of the text box is showing. If I type a character in the text box, the rest of the lines show up.

It seems this is because I have width="95%" in my text box. If I remove the width, or set it to a static value, all the lines show up.

Is there a workaround for this?

My text box is like this.

<

telerik:RadTextBox ID="tb1" runat="server" TextMode="MultiLine" MaxLength="1000" Rows="4" Width="50%"/>

Abhay
Top achievements
Rank 1
 answered on 12 Mar 2015
2 answers
54 views
Good morning,

Could you tell me whether RadContextMenu has implemented responsive design capabilities as RadMenu or not yet ?

I struggle with example http://demos.telerik.com/aspnet-ajax/button/examples/splitbutton/defaultcs.aspx What I need to achieve is, when user decrease page size zoom, or open web page on mobile device, then RadContextMenu control should go elasticed as well. I know, how to change fixed font (px) to em, but context menu is still the same or even worse bigger.

Please help me to solve this issue.

Best regards

Vasssek


Vasssek
Top achievements
Rank 1
 answered on 12 Mar 2015
2 answers
180 views
Hello Team,

I am using radCalender in my application. I want to highlight some special days with some counts inside it.

ClientSide dayrender event is not firing. Can anyone help me out?

Please find code below:
<telerik:RadCalendar ID="RadCalendar2" runat="server" TitleFormat="MMMM yyyy" AutoPostBack="false">
                        <ClientEvents OnDayRender="OnDayRender"></ClientEvents>
                    </telerik:RadCalendar>
function  OnDayRender(sender, args) {
                alert('hi');                 
                }

I want to achive functionality provided here(Client-Side) : http://demos.telerik.com/aspnet-ajax/calendar/examples/programming/customdaycellrendering/defaultcs.aspx?show-source=true


Thanks and Regards,
Ruchi Patel


Pavlina
Telerik team
 answered on 12 Mar 2015
19 answers
364 views
I've tried the Visual Stylebuilder today (for the first time in a few months) and it appears almost nothing is working. I find myself changing colors but only in less than 50% of the cases I will see any changes. Like when trying to edit a RadTabStrip or Button, making a few color changes in fine-tune and nothing changes on the screen (I've clicked "removed" on background images etc to make sure that isn't why).

Even when I see them, the mostly doesn't work in preview, like if I chose to make a new skin based on lets say the default skin, then change base color for Button or RadTabStrip, I will see the buttons update on the screen, but when I click save, it will tell me how the different buttons will look, and they all look exactlly as they do in the original skin. For other components like Calendar it does seem to work though. And this seem to go on and on. I've tried using Chrome, IE and Firefox, all in latest versions but the problem remains. 


When I tried the Style Builder a few months ago, it worked much better. Is this a temporary thing? Unfortunately, I find it close to useless right now (sorry).
Bozhidar
Telerik team
 answered on 12 Mar 2015
2 answers
103 views
ver: RadControls for ASP.NET AJAX Q3 2011 1305\Bin35
2011.3.1305.35

I'm debugging issue with a page using this control, required to upload file (xls) to test
when 1st time running, they worked fine
however, subsequent testing trying to upload xls file, the upload progress never increase always stay at zero percent.

a peer suggest me to run the web site using an app pool with 32-bits app enabled, same result
he suggest me trying to upload different xls, same issue

what can I do to make it work? or how to troubleshoot it?
I tried binded the client event OnClientFileUploadFailed, it's not triggered. only when I cancel the upload, then this event fired.
Peter Filipov
Telerik team
 answered on 12 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?