Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
65 views

Hello.

My problem is I need to act clientwise on users "reselecting" an item in my radcombo with keystroke.

I.e:
-----------------------------------------------------------

if user select A > fire a client function.
if user select A again > fire a client function

 ----------------------------------------------------------

I can handle the mouseclick event by adding onclick event to the specific RabcomboboxITem ("A"). It works fine. 

I can handle Keystroke select (first time!), by using onClientIndexChanged. It works fine

I can handle Keystroke REselect, by using OnClientKeypressing. It works fine

Troubles start if user selects other item (away from "A").
Now my OnClientKeypressing  event (which fires BEFORE selectionchange)  only sees "A" pressed and wrongfully fires my client function.

Any clues to a solution are appreciated

 

Regards

 Mark



Hristo Valyavicharski
Telerik team
 answered on 24 Apr 2015
3 answers
121 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
83 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
124 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
346 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
153 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
86 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
655 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
77 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
81 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
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?