Hi again all. Another small issue. My small player (in a raddockzone) all looks ok except for the slider, which looks strange and does not respond to mouse click/drag. I will attach what it looks like. Seems to be on all skins I have tried. Any suggestions on what to look at? The slider works on mobile view but the volume is not accessible through the desktop and also fullscreen looks fine.
Thanks for any suggestions.
Hello!
I am working on a site that is using version 2016.2.607.40 of Telerik.Web.UI and I would like to customize the dialogs for the RadEdior control. I do not have access to the installer for this version so I cannot get a copy of the EditorDialogs folder.
Could you link to the installer or a copy of the folder for me?
Thank you!
Hi!
I am looking for a way to add custom attributes to RadToolbarButton to be rendered in html
When I use following snippet
RadToolBarButton button =
new
RadToolBarButton();
button.Attributes[
"data-attr"
] =
"CustomText"
;
button.CssClass +=
"tipsylink"
;
I expect to see<
a
class
=
"tipsylnk ..."
data-attr
=
"CustomText"
...>
But unfortunately I can see onlywithout data-attr attribute.<
a
class
=
"tipsylnk rtbWrap"
...>
I do use jquery to read such attributes from web controls for my custom needs.
And that works for all standard asp.net controls but unfortunately
radtoolbar implementation is different - as I understand it stores
custom attributes in another place.
I know that it is possible to read such attributes on client side using
but actually I'd like to use standard jquery $('.tipsylnk'). selector
var
toolBar = $find(
"<%=RadToolBar1.ClientID %>"
);
var
button = toolBar.findItemByText(
"Button 1"
);
alert(button.get_attributes().getAttribute(
"DisplayName"
));
and process all items in the same way.
So is it possible to render custom attributes to html element attribute
for RadToolbarButtons?
Dear Telerik,
I want to use Gantt Chart load From Database, but after I run the data didn't show.
The steps are :
1. Create new project
2. Add Telerik RadScriptManager
3. Add RadGantt and SQL Data source. The table and data I copied from Telerik.mdf.
Here the code :
<%@ 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">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
<div>
<div class="demo-container no-bg">
<telerik:RadGantt RenderMode="Lightweight" ID="RadGantt1"
runat="server"
DataSourceID="SqlDataSource1"
DependenciesDataSourceID="SqlDataSource2"
ReadOnly="true"
SelectedView="WeekView">
<DataBindings>
<TasksDataBindings IdField="ID" ParentIdField="ParentID" StartField="Start" OrderIdField="OrderID" SummaryField="Summary" ExpandedField="Expanded" EndField="End" TitleField="Title"
PercentCompleteField="PercentComplete" />
<DependenciesDataBindings TypeField="Type" IdField="ID" PredecessorIdField="PredecessorID" SuccessorIdField="SuccessorID" />
</DataBindings>
</telerik:RadGantt>
</div>
<asp:SqlDataSource runat="server" ID="SqlDataSource1" SelectCommand="SELECT * FROM [GanttTasks]" ConnectionString="<%$ ConnectionStrings:PM %>" ProviderName="<%$ ConnectionStrings:PM.ProviderName %>"/>
<asp:SqlDataSource runat="server" ID="SqlDataSource2" SelectCommand="SELECT * FROM [GanttDependencies]" ConnectionString="<%$ ConnectionStrings:PM %>" ProviderName="<%$ ConnectionStrings:PM.ProviderName %>"/>
</div>
</form>
</body>
</html>
Thanks for any help
When using Masterpage, I cannot read value from the Slider or move slider. Without Masterpage everything is working fine.
Radslider:
<telerik:RadSlider RenderMode="Lightweight" ID="RadSlider_Items"
runat="server" Value="100" ItemType="item" Width="790px"
SmallChange="1" OnClientValueChanged="onSliderValueChanged"
Height="70px" AnimationDuration="400" ShowDragHandle="true"
MaximumValue="300" MinimumValue="50" ThumbsInteractionMode="Free">
</telerik:RadSlider>
Javascript error:
Cannot read property 'get_value' of null
Javascript code:
function onSliderValueChanged(sender, args) {
var slider = $find('ContentPlaceHolder1_RadSlider_Items');
var sliderValue = slider.get_value;
var imageControl = $find('ContentPlaceHolder1_RadImageEditor1');
imageControl.zoomImage(sliderValue);
}