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

I need a bubble chart where the size of the bubble has two dimensions (Width & Height).

Is this possible and if so how?

Danail Vasilev
Telerik team
 answered on 29 Jul 2015
2 answers
105 views

Hi

 

im probably being a bit silly but i cant work out how to get this to work properly i want the notification to check on an interval , but get the data from a web service , but if there is no data from the web service i dont want it to pop anything up.

 

this is what i have so far

     <telerik:RadNotification ID="RadNotification1" Animation="Slide" runat="server" OffsetX="-20"<br>        VisibleOnPageLoad="true" OffsetY="-20" Width="250px" Height="80px" LoadContentOn="TimeInterval"<br>        WebMethodName="GetWeatherForcast" WebMethodPath="../Services/EclipseService.asmx"<br>        UpdateInterval="30000" AutoCloseDelay="1500" KeepOnMouseOver="true" RenderMode="Lightweight"<br>        VisibleTitlebar="false" Value="rainyState" EnableRoundedCorners="true" Skin="Office2007" OnClientUpdated="OnClientUpdated"><br>    </telerik:RadNotification>

 

and for the JS function

    function OnClientUpdated(sender, args) {
        var newMsgs = sender.get_value();
        if (newMsgs != 0) {
            sender.show();
        }
    }

 

it mostly seems to work , but i need it not to pop up anything when no data is returned from the web service ?

 ​

Ianko
Telerik team
 answered on 29 Jul 2015
1 answer
95 views

Hello,
I have come across a problem with the editor
We have recently upgraded the telerik controls from V 2013 to V 2015.2.623.45. 
After upgrade new version that some functionality are messed up.
Steps to reproduce the issue.

1 - Add below content HTML mode.

test<br><br>test<br><br>test<br><br><table style="width: 242px; height: 92px;"><tbody><tr><td> </td><td > Test</td><td> </td></tr><tr><td> </td><td> </td><td> </td></tr></tbody></table><br> 

 2 - Back to Design view and try to set align of "Test" text which is in table.

3 - Go to HTML mode and check all content.it is as below which are wrong and style should be in <p> tag inside <td>.

  Wrong Content : "test<br><br>test<br><br>test<br><br><table style="width: 242px; height: 92px;"><tbody><tr><td> </td><td style="text-align: center;"> Test</td><td> </td></tr><tr><td> </td><td> </td><td> </td></tr></tbody></table><br>"

 

It should  be  : "test<br><br>test<br><br>test<br><br><table style="width: 242px; height: 92px;"><tbody><tr><td> </td><td > <p align="center">Test</p></td><td> </td></tr><tr><td> </td><td> </td><td> </td></tr></tbody></table><br>" 

This can easily be reproduced on your demo site as well(Chrome).

Is there any fix or workaround for this issue?
Please suggest.
Thanks.

Ianko
Telerik team
 answered on 29 Jul 2015
2 answers
67 views

Hi 

 I have posted the problem before, but I think I might not ask in a correct way.

 I create an appointment in Rad scheduler. it works fine if the appointment is a day long. 

But when it is longer then a day, it only shows the first day and on Sunday(if the appointment is cross Sunday).

 

 Appreciated!

 

Chris

Bozhidar
Telerik team
 answered on 29 Jul 2015
1 answer
149 views

Hi

This is my online quiz scenario:

First Step of wizard: Shows a description of quiz

 .

Middle steps of wizard: creating dynamically using database

.

Finally step of wizard: Shows quiz result using chart

 

I read Rad Wizard description and I saw others discussion about it but I don't know how can do with my scenario.

Please help me.

Plamen
Telerik team
 answered on 29 Jul 2015
6 answers
158 views

Hi,

I have a Bubble Chart (RadHtmlChart) filled by a datatable in which every row is a serie.

Bubble on the chart have the same size even the value assigned to Size property of seriesItem is different.



How can I have the correct size for each series?



Here's the code used to fille chart.



// get data

DataTable dt = ChartQueryStringParameters.GetChartSeries(p.PMaster, p.Level, p.L_Item, itemsPerChart);

// bidning data to volume chart

foreach (DataRow dr in dt.Rows)

{

if (dr["Vol_Dimension"].ToString() != "0")

{

BubbleSeries bSerie = new BubbleSeries();

bSerie.Name = dr["SerieName"].ToString().Replace("'", "\\'");

SeriesItem sItem = new SeriesItem();

sItem.XValue = Convert.ToDecimal(dr["Vol_XValue"]);

sItem.YValue = Convert.ToDecimal(dr["Vol_YValue"]);

sItem.SizeValue = Convert.ToDecimal(dr["Vol_Dimension"]);

sItem.TooltipValue = dr["SerieName"].ToString().Replace("'", "\\'");

bSerie.Items.Add(sItem);

BubbleChartGAP_Volume.PlotArea.XAxis.AxisCrossingValue = Convert.ToDecimal(dr["Vol_XAxis"]);

BubbleChartGAP_Volume.PlotArea.YAxis.AxisCrossingValue = Convert.ToDecimal(dr["Vol_YAxis"]);

BubbleChartGAP_Volume.PlotArea.Series.Add(bSerie);

}

}



Thank you.

Gregory
Top achievements
Rank 1
 answered on 28 Jul 2015
9 answers
835 views
I was wondering if there was anyway to disable RadAsyncUpload's upload button clientside while uploads are already taking place? I want to restrict the user from selecting and uploading files while files are already in the process of uploading.

Thanks again for the help!

-  Pat
Hristo Valyavicharski
Telerik team
 answered on 28 Jul 2015
2 answers
95 views
I have a datasource that has an ID column.  I'd like to display the page with the row that matches a [user-provided] ID.  This could also be done two fold by (a) querying which page a particular datafield value is on; (b) displaying a particular page
Peter
Top achievements
Rank 1
 answered on 28 Jul 2015
3 answers
226 views
Hi...

I have a listview on a page, I am trying to add an item via javascript with insertItem().  What params am I supposed to give to the method in order to add an item?

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<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> 
            <%--Needed for JavaScript IntelliSense in VS2010--%> 
            <%--For VS2008 replace RadScriptManager with ScriptManager--%> 
            <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" /> 
        </Scripts> 
    </telerik:RadScriptManager> 
    <script type="text/javascript">  
        //Put your Java Script code here.  
    </script> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
    </telerik:RadAjaxManager> 
   
    <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Outlook">  
    </telerik:RadSkinManager> 
    <div> 
 
        <telerik:RadListView ID="RadListView1" runat="server"   
            DataSourceID="AccessDataSource1" Skin="Office2007">  
            <AlternatingItemTemplate> 
                <div class="rlvA">  
                    <img src="images/book.png" />&nbsp;<asp:Label ID="Field1Label" runat="server" Text='<%# Eval("Field1") %>' /> 
                </div> 
            </AlternatingItemTemplate> 
            <ItemTemplate> 
                <div class="rlvI">  
                    <img src="images/book.png" />&nbsp;<asp:Label ID="Field1Label" runat="server" Text='<%# Eval("Field1") %>' /> 
                </div> 
            </ItemTemplate> 
            <EmptyDataTemplate> 
                <div class="RadListView RadListView_Office2007">  
                    <div class="rlvEmpty">  
                        There are no items to be displayed.</div> 
                </div> 
            </EmptyDataTemplate> 
            <LayoutTemplate> 
                <div class="RadListView RadListView_Office2007">  
                    <div ID="itemPlaceholder" runat="server">  
                    </div> 
                </div> 
            </LayoutTemplate> 
            <SelectedItemTemplate> 
                <div class="rlvISel">  
                    &nbsp;<asp:Label ID="Field1Label" runat="server" Text='<%# Eval("Field1") %>' /> 
                </div> 
            </SelectedItemTemplate> 
        </telerik:RadListView> 
        <asp:AccessDataSource ID="AccessDataSource1" runat="server"   
            DataFile="~/App_Data/Database.mdb" SelectCommand="SELECT [Field1] FROM [NAMES]">  
        </asp:AccessDataSource> 
        <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="InsertNewItem()" /> 
          
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">  
        <script type="text/javascript">  
            function InsertNewItem() {  
                alert("What params am I supposed to pass in order to have the listview insert a row for me?");  
                var listView = $find("<%= RadListView1.ClientID %>");  
                listView.insertItem();  
            }  
        </script> 
        </telerik:RadCodeBlock> 
    </div> 
    </form> 
</body> 
</html> 
 
Maria Ilieva
Telerik team
 answered on 28 Jul 2015
1 answer
100 views

HI there.

I have a big problem with my Radcombobox rendering while using URL rewrite.

<rules>
          <rule name="RewriteASPX">
          <match url="(.*)"/>
          <conditions logicalGrouping="MatchAll">
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
            <add input="{REQUEST_FILENAME}" pattern=".*Telerik\.Web\.UI\.*" negate="true"/>
          </conditions>
          <action type="Rewrite" url="{R:1}.aspx"/>
        </rule>
      </rules>

as soon as I delete my rewriting everything goes well.

thanks.

Hristo Valyavicharski
Telerik team
 answered on 28 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?