Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
160 views

Hello, i have a radgrid which i need to show a horizontal scroll when we add a lot of columns and persist the width of the columns but my grid is fxed to the width window and not show the scroll, then resize the width column and this make looks very bad. I put the e.column width in the column_created event with percentage unit.

 I have the width column in a parameter and i put it in the column created event but i dont have width  configured in the radgrid . Is better put it in pixels? i have a column with no size for autogrow with the extra width that other columns not use.

 

Any idea?

 

 

Pavlina
Telerik team
 answered on 24 Apr 2015
1 answer
124 views

Hi,

I wanna know if it's possible to "customize" the YAxis's Title like this :

- I set the rotation value to "1" to put the Title in "hozitontaly mode" (may be is there a better way ?) and I want set 1 word by line in this title (because when the title is too long, it move the HtmlChart, and so the render is bad ..., as you can see on the attached file)

 - OR may be it's possible to put the Title above the Axis ?

 

Thanks a lot,

Regards

Danail Vasilev
Telerik team
 answered on 24 Apr 2015
9 answers
179 views
Hello,

The splitbutton logic is not working well in Q1 2015. It was ok in Q3 '14. Consider this:

<telerik:RadButton ID="RadButton1" Text=" " Width="30px" Icon-PrimaryIconUrl="https://secure.prooportal.com/Style/img/icon/sys/16x16/plain/check.png" Icon-PrimaryIconLeft="5px" Icon-PrimaryIconTop="4px" EnableSplitButton="true" RenderMode="Classic" runat="server"></telerik:RadButton>

This code works fine in Q3, in Classic and Lightweight. In Q1 the Lightweight version the displaying of the icon is incorrect/weird.

Attached a example of the result rendering (image)

This problem applies to all major browsers (Chrome, IE11, FF, Safari)

Kind Regards,

Erik
Rumen
Telerik team
 answered on 24 Apr 2015
5 answers
405 views
hi,
tried everything to play local MP4 files in media player, but can't get it to happen.

Added to web.config:
​<staticContent>
<remove fileExtension=".mp4" />
<remove fileExtension=".ogv" />
<remove fileExtension=".webm" />
<remove fileExtension=".mp3" />
<remove fileExtension=".ogg" />
<remove fileExtension=".wav" />
<mimeMap fileExtension=".mp4" mimeType="video/mp4" />
<mimeMap fileExtension=".ogv" mimeType="video/ogg" />
<mimeMap fileExtension=".webm" mimeType="video/webm" />
<mimeMap fileExtension=".mp3" mimeType="audio/mpeg" />
<mimeMap fileExtension=".ogg" mimeType="audio/ogg" />
<mimeMap fileExtension=".wav" mimeType="audio/wav" />
</staticContent>

tried various paths, and the sample code from Telerik, but I just can't get them to play. I can play a youtube video without a problem, but not local files.

Code is:-
​RadMediaPlayer1.ToolbarDocked = true;
RadMediaPlayer1.ToolBar.FullScreenButton.Visible = true;
RadMediaPlayer1.ToolBar.HDButton.Visible = true;
RadMediaPlayer1.Source = filename;
RadMediaPlayer1.Title = title;
RadMediaPlayer1.Skin = Session["Skin"].ToString();
RadMediaPlayer1.AutoPlay = true;

Filename is passed through, and could be a youtube URL or a path such as ~/App_Documents/FindACosta.mp4

Thanks

Pete
Eyup
Telerik team
 answered on 24 Apr 2015
1 answer
198 views

Hello,

 

when toolbar position is set to Top or Bottom it does not showing correctly number of items and current item. Also when user click to play slideshow, toggle fullscreen or show/hide toolbar it cause server postback and does not working.

 

If toolbar position is set to top inside or bottom inside toolbar is working.

 

I have created ImageGallery in codebehind and this property is setup in CreateChildControls method.

 

Is it issue or is there some way how to fix?

Thanks

Vlad

Angel Petrov
Telerik team
 answered on 24 Apr 2015
5 answers
111 views
Hi,

on http://www.telerik.com/help/aspnet-ajax/grid-applying-default-filter-on-initial-load.html , at bottom of page, where it say:

<MasterTableView FilterExpression="([chkBoxColumnDataField] = True)">

I thing the right text should be:

<MasterTableView FilterExpression="([BoolField] = True)">

Also, for me, right syntax may be:

<MasterTableView FilterExpression="( it.BoolField = True)">

Regards.
Daniel.

Konstantin Dikov
Telerik team
 answered on 24 Apr 2015
5 answers
709 views
Hi 
    i  have an auto complete text box i am able to  bind the the data to the text box  i  am able to  retrieve the value and store it in the database
No i want know how do i bind the the saved value  in the database to the to auto complete text box  again i tried somewhat like this 
         
AutoCompleteBoxEntry childNode = new AutoCompleteBoxEntry();
              childNode.Text = lblTeamLeaderName.Text;
            childNode.Value = lblTASKTEAM_ID.Text;
            txtusers.Entries.Add(childNode);

and
txtusers.Entries[0].Value = lblTASKTEAM_ID.Text;
                 txtusers.Entries[0].Text = lblTeamLeaderName.Text;


but still value which is saved  is not being shown in the textbox i want to bind the text and value some what like  dropdownlist box  can any one  tell where i am going wrong





Dell
Top achievements
Rank 1
 answered on 24 Apr 2015
1 answer
103 views

Hi,

I want to use client side binding and need to set additional Parameters (projectId) for GetTasks(). Every other controls (scheduler etc.) has a client Event, where I can set additional parameters in  context. Is there a similar client event in RadGantt? To use session variables is no option for me.

 thx

gregor

Bozhidar
Telerik team
 answered on 24 Apr 2015
3 answers
113 views

Hi,

I have an issue with users pasting invalid HTML into the editor (usually from an email client).  The HTML comes in with no closing tags, which then causes issues when we render the saved content onto a web page.

Example

<span style>some text<span style>more text <span style> some more text

Is there any way to either strip the invalid tags out or add the closing tags when the user pastes the data?

Thanks

Gavin.

Ianko
Telerik team
 answered on 24 Apr 2015
1 answer
404 views

I'm unable to get a RadListBox to sort.

.Net 4.5; version 2015.1.225.45

Here is the code below:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="WebApplication1._default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
            <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="false" />
            <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" CssClass="demo-containers">
                <div class="demo-container size-thin">
                    <telerik:RadListBox
                        ID="RadListBox1"
                        runat="server"
                        Sort="Descending"
                        DataSortField="t" 
                        CheckBoxes="true"
                        ShowCheckAll="true" >
                    </telerik:RadListBox>
                </div>
        </telerik:RadAjaxPanel>
     </form>
</body>
</html>

 

       protected void Page_Load(object sender, EventArgs ed)
        {
            DataTable dt = new DataTable();
            dt.Clear();
            dt.Columns.Add("v");
            dt.Columns.Add("t");
            DataRow a = dt.NewRow();
            a["v"] = "1"; a["t"] = "a";
            dt.Rows.Add(a);
            DataRow b = dt.NewRow();
            b["v"] = "2"; b["t"] = "f";
            dt.Rows.Add(b);
            DataRow c = dt.NewRow();
            c["v"] = "3"; c["t"] = "d";
            dt.Rows.Add(c);
            DataRow d = dt.NewRow();
            d["v"] = "4";d["t"] = "x";
            dt.Rows.Add(d);
            DataRow e = dt.NewRow();
            e["v"] = "5"; e["t"] = "b";
            dt.Rows.Add(e);
           
            RadListBox1.DataSource = dt;
            RadListBox1.DataTextField = "t";
            RadListBox1.DataValueField = "v";
            RadListBox1.DataBind();
        }
  

 

Bozhidar
Telerik team
 answered on 24 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?