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

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.

Eyup
Telerik team
 answered on 22 Oct 2019
23 answers
2.7K+ views
I have a web site in ASP.NET 3.5 that runs fine using ver. 2009.1208.35 of Telerik.Web.UI.dll.

I only replace the Telerik.Web.UI.dll and Telerik.Web.Design.dll with the latest ver. 2009.1314.35 and viewing a page in the browser I get the Error: ASP.NET Ajax client-side framework failed to load.

I copy back ver. 2009.1208.35 of the dlls and viewing the same page in the browser works fine!

Using VS 2010 on Win 7 computer. Web.config does not have any version numbers for the Telerik settings.

Both versions are in the GAC.

Why does 1208 work and 1314 not work?


SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 21 Oct 2019
6 answers
442 views
I am looking at creating a menu that will display only specific elements to users in a specific role.  Is there an example of this?
Vessy
Telerik team
 answered on 21 Oct 2019
3 answers
125 views

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!

Rumen
Telerik team
 answered on 21 Oct 2019
3 answers
211 views

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 only
<a class="tipsylnk rtbWrap"...>
without data-attr attribute.
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
var toolBar = $find("<%=RadToolBar1.ClientID %>");
var button = toolBar.findItemByText("Button 1");
alert(button.get_attributes().getAttribute("DisplayName"));

but actually I'd like to use standard jquery $('.tipsylnk'). selector
and process all items in the same way.
So is it possible to render custom attributes to html element attribute
for RadToolbarButtons?
Peter Milchev
Telerik team
 answered on 21 Oct 2019
7 answers
2.2K+ views
Hello,

We are trying to update a Progress bar from a Callback function that returns progress on a printing job from a code behind function.

The code behind method is as follows:

  private  void ClientOnJobProgress(object sender, JobProgressEventArgs arguments)
        {
            Console.WriteLine("Progress: {0:000}% with job state {1}", arguments.Progress, arguments.State.ToString());
            Progress = arguments.Progress;
            ScriptManager.RegisterStartupScript(this.Page, Page.GetType(), "progress", "AdjustProgressBar('" + arguments.Progress + "');", true);

           //  RadProgressBar1.Value = arguments.Progress;       
        }
If I set the Progress Bar Value as in the comments line above , the progress is only updated when the job is 100% complete and does not update during the process.  I tried calling a JavaScript function from the codebehind that finds the progress bar element in the document and tries to update the progress bar value then. Which doesnt update at all.

  function AdjustProgressBar(progressValue) {
                    
                    var progressBar = document.getElementById('<%=RadProgressBar1.ClientID%>');
                    progressBar.value = progressValue;

                } 

What would be the proper way of updating a ProgressBar from a callback function where as to show the updates values? Please advise and thank you in advance.











Rumen
Telerik team
 answered on 21 Oct 2019
6 answers
281 views
Basically I have a rad grid, and the enter key is causing the delete confirm to popup.
Is there a way to cancel the delete before the confirm pops up?

Thanks,

Nate
Attila Antal
Telerik team
 answered on 21 Oct 2019
14 answers
1.5K+ views
HI,
Iam using Object data osurce to populate a RadGrid.
On button click Iam trying to access the GridDataItem's dataitem property and cast it to object .
But the dataitem is always null.
Please let us know how can we retrieve the object type of  a selected row  from the RadGrid on a button click event.
Thanks,
Bala
Attila Antal
Telerik team
 answered on 18 Oct 2019
1 answer
234 views

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

 

Vessy
Telerik team
 answered on 18 Oct 2019
2 answers
97 views

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);

            }

Vessy
Telerik team
 answered on 17 Oct 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?