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

Hi

Is there a equivalent to the $(document).on function for the clientSelectedIndexChanging and clientSelectedIndexChanged events for a RadCombobox in jQuery?

Viktor Tachev
Telerik team
 answered on 20 Aug 2015
1 answer
42 views

Hi,

I have radgrid with the possibility of adding a line.
One column is of GridDropDownColumn.
How to play the DropDown ??

Thank you.​

Viktor Tachev
Telerik team
 answered on 20 Aug 2015
1 answer
347 views

We recently updated to the newest version 2015.2.729.40 and our Rotator image onclick doesn't work in Chrome and doesn't work on some machines in IE.

 We had <asp:Image controls in our rotator which are rendered as <mg

 To correct this, we had to change the control type to <asp:ImageButton which renders as <input

  Again, this issue only happened after our recent updated to version 2015.2.729.40

 Simplified example below

<%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default1.aspx.vb" Inherits="TestWebRoot._Default" %>
 
<!DOCTYPE html>
 
<html>
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
        <script type="text/javascript">
            //Put your JavaScript code here.
        </script>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        </telerik:RadAjaxManager>
 
        <telerik:RadRotator ID="RadRotator1" runat="server" Height="300px" Width="823px" BackColor="White"
            ScrollDuration="5000" FrameDuration="10000" ItemHeight="300px" ItemWidth="823px" PauseOnMouseOver="true"
            RotatorType="SlideShow" ScrollDirection="Left" BorderWidth="0px" SlideShowAnimation-Type="CrossFade"
            WrapFrames="False">
            <Items>
                <telerik:RadRotatorItem>
                    <ItemTemplate>
                        <table style="position: relative;">
                            <tr>
                                <td style="vertical-align: top;">
                                    <div class="Center ProductLabel" style="width: 100%; height: 20px;">
                                        img control
                                    </div>
                                    <img id="Img2" runat="server" src="~/images/logo.jpg" style="width: 50px; height: 50px;" alt="My Image" onclick="alert('here'); return false;" title="MyTitle" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="Center ProductLabel" style="width: 100%; height: 20px;">
                                        ImageButton
                                    </div>
                                    <asp:ImageButton ID="Image1" runat="server" style="width: 50px; height: 50px;" AlternateText="My Image" ImageUrl="~/images/logo.jpg" OnClientClick="alert('here'); return false;" />
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </telerik:RadRotatorItem>
            </Items>
        </telerik:RadRotator>
        Test Image outside Rotator
        <img id="Img1" runat="server" class="Link" src="~/images/logo.jpg" onclick="alert('here');" />
    </form>
</body>
</html>

Slav
Telerik team
 answered on 20 Aug 2015
1 answer
162 views

I am having a strange problem. First let me start by saying that I am using the Telerik controls supplied by DotNetNuke. So I can not "upgrade" to any other version of the Telerik controls. I am stuck with what I am given.

I wrote a module initially using Telerik v2012.2.724.35 (which was bundled with DNN v6.02.09)and it worked great. I unfortunately am forced to upgrade to a new DNN version because of a bog in Telericks RADSchedule (which effect the month of November only). So...now I am running DNN that comes with Telerik v2013.1.403.40

The problem is that when I click on a button inside the RADGrid and the ItemCommand event fires, previously I was able to obtain the value of each cell in the row that the button was activated in. The *same exact code* running in v2013.1.403.40 of Telerick now returns to me "&nbsp;" for every single cell in the row. It's like the new Telerik version doesn't bind the data to the GridDataItem (e.Item) within the ItemCommand event like it used to.

What am I missing? How do I get the selected row's data like I had before?

Ben
Top achievements
Rank 1
 answered on 20 Aug 2015
1 answer
110 views

I have a HTMLChart that I would like to allow a user to right click on a point on the graph and set a start date and then right click on a second point and set the end date.  After the points are set it would then pass the dates into a stored procedure and update the HTMLChart.  How would I go about doing this?  The chart is currently being populated via server-side code.

<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" Visible="false" Legend-Appearance-Position="Top" Width="95%">
                            <ClientEvents OnLoad="BottomXAxisLabels" OnSeriesClick="OnSeriesClick" />
                            <PlotArea>
                                <Series>
                                    <telerik:ScatterLineSeries DataFieldY="ReturnedValue" DataFieldX="cycle_Date">
                                        <TooltipsAppearance Color="White" >
                                        </TooltipsAppearance>
                                        <LabelsAppearance Visible="false">
                                        </LabelsAppearance>
                                    </telerik:ScatterLineSeries>
                                </Series>
                                <YAxis>
                                    <LabelsAppearance>
                                        <TextStyle Bold="true" />
                                    </LabelsAppearance>
                                    <MinorGridLines Visible="false"></MinorGridLines>
                                    <MajorGridLines Visible="false"></MajorGridLines>
                                </YAxis>
                                <XAxis DataLabelsField="cycle_Date" BaseUnit="Years" MajorTickSize="1" >
                                    <LabelsAppearance Visible="true" RotationAngle="90" DataFormatString="Year {0:yyyy}">
                                        <TextStyle Bold="true" />
                                    </LabelsAppearance>
                                    <TitleAppearance Text="Dates">
                                        <TextStyle Bold="true" />
                                    </TitleAppearance>
                                    <MinorGridLines Visible="false"></MinorGridLines>
                                    <MajorGridLines Visible="true"></MajorGridLines>
                                </XAxis>
                            </PlotArea>
                            <ChartTitle>
                                <Appearance>
                                    <TextStyle Bold="true" />
                                </Appearance>
                            </ChartTitle>
                            <Legend>
                                <Appearance Visible="true" Position="Bottom"></Appearance>
                            </Legend>
                        </telerik:RadHtmlChart>
                    </telerik:RadAjaxPanel>

Danail Vasilev
Telerik team
 answered on 20 Aug 2015
2 answers
137 views

Hi

Is it posible to set the styling of the input field of a RadComboBox depending on wether a pre-selected item is enabled og disabled?

RMM
Top achievements
Rank 1
 answered on 20 Aug 2015
1 answer
87 views

Hi,

I have a single series column chart & I want to remove all the column names on the x-axis for space reasons. How can I put those names in a Legend box underneath the chart?

Danail Vasilev
Telerik team
 answered on 20 Aug 2015
3 answers
196 views

I got a gridview which I created with following code when user clicked one of treview node I have to populate a radgrid for given departmen. I dont know how can I catch treeview click event and without making any postback populate radgrid for clicked departmen. All help will be apreciated, thank you in advance.

    //Load Root Nodes...  
    private void LoadRootNodes()  
    {  
        SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["Personelcon"].ConnectionString);  
        SqlCommand selectCommand = new SqlCommand("SELECT * FROM Department WHERE Reportsto IS NULL", connection);  
        SqlDataAdapter adapter = new SqlDataAdapter(selectCommand);  
        DataTable data = new DataTable();  
        adapter.Fill(data);  
 
        foreach (DataRow row in data.Rows)  
        {  
            RadTreeNode node = new RadTreeNode();  
            node.ImageUrl = "themes/default/entity.gif";  
            node.Text = row["Dname"].ToString();  
            node.Value = row["Departmenid"].ToString();  
            node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack;  
            RadTreeView1.Nodes.Add(node);  
        }  
    } 
Peter Filipov
Telerik team
 answered on 20 Aug 2015
2 answers
111 views

Hi,

 I have an autocompletebox in my page which uses a wcf service to fetch data. And I have a client template in autocompletebox which has #=Attributes.blabla # fields. WCF service returns the correct structure of data which has Text, Value and Attributes members and Attributes has the values I set. However the client template display these Attribute fields as undefined. I couldn't find any related item in this forum. 

Can you help me? 

Thanks.

Aydın
Top achievements
Rank 1
 answered on 20 Aug 2015
1 answer
225 views

I'm having a RadFileExplorer on my program and mapping it to a Shared Drive. The first level of treeview is loading as expected and when I click on the expand button on the treeview, the folders are not being loaded. And any files are not displayed on the file viewer on the right column. Below is my code, kindly let me know what could be the issue.

 

protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                if (!Page.IsPostBack)
                {
                    string[] viewPaths = Directory.GetDirectories(@"\\vmtywebAA02\develop\", "*", SearchOption.TopDirectoryOnly);
 
                    RadFileExplorer1.Configuration.ViewPaths = viewPaths;
                    RadFileExplorer1.Configuration.SearchPatterns = new[] { "*.*" };
                    RadFileExplorer1.Configuration.ContentProviderTypeName = typeof(CustomFileSystemProvider).AssemblyQualifiedName;                    
                }
            }
            catch (Exception)
            {
                throw;
            }
        }

Vessy
Telerik team
 answered on 20 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?