Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
603 views
I have several chart questions.
1) I want to change the label for each series item to "Name" or "TooltipValue".  Is this possible? 
2) What is the purpose of the TooltipValue?  The tooltip always displays XValue,YValue and never displays the value et for TooltipValue.
3) I need to display the Name values for each SeriesItem in alpha order as the Legend. Is this possible? 
<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server">
    <PlotArea>
        <Series>
            <telerik:ScatterSeries Name="XXX Data">
                <TooltipsAppearance Visible="true" />
         
                <Items>               
                    <telerik:SeriesItem XValue="1674" YValue="4.3" TooltipValue="ABC" Name="ABC" />                   
                    <telerik:SeriesItem XValue="6468" YValue="3.4" TooltipValue="DEF" Name="DEF"/>
                    <telerik:SeriesItem XValue="3600" YValue="3.4"  />
                    <telerik:SeriesItem XValue="5252" YValue="2.9"  />
                    <telerik:SeriesItem XValue="2612" YValue="1.6"  />
                    <telerik:SeriesItem XValue="1054" YValue="1.3"  />
                </Items>
            </telerik:ScatterSeries>
        </Series>
        <XAxis MajorTickType="Outside" MinorTickType="Outside"  Reversed="false" Step="1000" AxisCrossingValue="0" MinValue="0" MaxValue="7000">
            <TitleAppearance Position="Center" RotationAngle="0" Text="Error Count" />
            <LabelsAppearance DataFormatString="{0}" RotationAngle="0" />
            <MajorGridLines Color="#EFEFEF" Width="1" />
            <MinorGridLines Color="#F7F7F7" Width="1" />
 
        </XAxis>
        <YAxis Color="Black" MajorTickSize="1" MajorTickType="Outside" Reversed="false"
            MinorTickType="None" MaxValue="8.0" MinValue="0.0" Step="0.5" AxisCrossingValue="0.0">
            <TitleAppearance Position="Center" RotationAngle="0" Text="Error Percent" />
            <LabelsAppearance DataFormatString="{0}" RotationAngle="0" />
            <MajorGridLines Color="#EFEFEF" Width="1" />
            <MinorGridLines Color="#F7F7F7" Width="1" />
        </YAxis>
    </PlotArea>
    <ChartTitle Text="XXX Data">
        <Appearance Align="Center" BackgroundColor="White" Position="Top" />
    </ChartTitle>
    <Legend>
        <Appearance Visible="true" />
    </Legend>
 
</telerik:RadHtmlChart>
Danail Vasilev
Telerik team
 answered on 01 Oct 2014
3 answers
1.5K+ views
I am trying to change the background color of a RadButton using CSS but it is not working...

Button Code:
<telerik:RadButton SingleClick="true" SingleClickText="Submitting..." ButtonType="LinkButton" CssClass="btnY" runat="server" ID="btn" Width="60" Text="Submit" OnClick="btn_Click" />

CSS:
.btnY{font-weight:bold;font-size:9pt;background-color:#abbc37;border:1px solid #788604;color:#fff;text-align:center;padding-right:5px;padding-left:5px;padding-top:0px;padding-bottom:0px;line-height:18px;}

What am I missing?
DogBizPro
Top achievements
Rank 1
 answered on 01 Oct 2014
11 answers
204 views
Hi,

I created a login page with ASP.NET AJAX for a web application and it works flawless in IE, Chrome, Safari and FireFox. However, when I activated FormsAuthentication and performed some tests I noticed that the RadButton control in de Login Page is not responding in FireFox. I do see the button border changing when I hover over the mouse, but there is no response when I click the button. The DefaultButton-option is also not working. 

Visual Studio code:
<div>
  <telerik:RadButton id="button_submit" runat="server" BackColor="#0072c6" Text="Sign In" SingleClick="true" SingleClickText="Sign In" Skin="Metro" ButtonType="LinkButton" Style="padding:4px 10px 5px 10px; margin: 5px 0; color: #fff " OnClick="ButtonSubmitClick" ></telerik:RadButton>
</div>

Browser inspection:
<div>
  <span id="button_submit" class="RadButton RadButton_Metro rbLinkButton" style="background-color:#0072C6;padding:4px 10px 5px 10px; margin: 5px 0; color: #fff "><span class="rbText">Sign In</span><input id="button_submit_ClientState" name="button_submit_ClientState" type="hidden"></span>
</div>

Any idea, how to solve this?


 


Danail Vasilev
Telerik team
 answered on 01 Oct 2014
3 answers
220 views
Hello,
I'm developing a online application with 'radOrgChart'. I have loaded the data to this radOrgChart from linqDataSource. On clicking any of the node, i need to re-display the radOrgChart as the clicked node as parent as in drill-down method. I have tested this drill-down method. But, i'm looking for different method. Instead of drill-down, i need a to click any node or a buttton inside the radOrgChart node to view. Then, while loading the page it shows all the nodes, instead of that, i need to display the parent and its child's only. Others needed to be collapsed. I check all the examples provided by telerik. It collapse using code-behind or in html setting attribute called colapsed="true" in radOrgChart. Here, i will submit my code and the screen shots. OrgChart-1 is the page when it loads before. And, OrgChart-2 is the page what i needs to be shown on page load.

<head runat="server">
    <title></title>
    <style type="text/css">
        .orgChartDiv {
            background-color: #e4e4e4;
            height: 100%;
            width: 100%;
            overflow-y: auto;
            float: left;
            position: relative;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
 
        <div class="orgChartDiv">
            <telerik:RadOrgChart ID="employeeOrgChart" runat="server" Skin="Default" EnableCollapsing="true" Width="100%"
                DataSourceID="LinqDataSource_Employee" DataTextField="FirstName" DataFieldID="EmployeeID" DataFieldParentID="ReportsTo"
                EnableGroupCollapsing="true" >
            </telerik:RadOrgChart>
        </div>
    </div>
    </form>
    <asp:LinqDataSource runat="server" ID="LinqDataSource_Employee"
        ContextTypeName="RadOrgChart.RealDataDataContext" TableName="Employees" />
</body>


With Regards,
Mohammed Rafsanjany
Plamen
Telerik team
 answered on 01 Oct 2014
8 answers
809 views
Hi,

I'm writing to ask how best to align a button to the right and one to the left in the same radtoolbar.

<telerik:RadToolBar ID="RadToolBarAction" runat="server" Skin="Office2007" Width="100%"
           OnButtonClick="RadToolBarAction_ButtonClick">
           <Items>
               <telerik:RadToolBarButton Value="BtnSave" meta:resourcekey="BtnSave"
                   ImageUrl="~/Save.gif" />   <--Want this one to the left     
               <telerik:RadToolBarButton Value="BtnReturnAip" meta:resourcekey="BtnReturnAip"
                   ImageUrl="~/backto_inprog.gif" />    <--Want this one to the right
           </Items>
       </telerik:RadToolBar>

Thanks in advance for any insight Jim
Randall
Top achievements
Rank 2
 answered on 01 Oct 2014
1 answer
718 views
Hi,

I'm trying to figure out why my site (which works perfectly in Dev - Famous last words) won't upload files on my server.  My guess is permissions, but I don't see any error messages anywhere.

I've deleted the RadUploadTemp folder in the App_Data folder and when I run the upload, this folder is created along with the RadUploadTestFile file inside it.  I just don't get any temp files being created in here.

Where should I see errors??  I've got my asp.net site running in debug mode with custom errors turned off.  I've checked the JS console and the Windows Event Viewer, but there is nothing.

Is there anything drastic or otherwise, that I can do to show an error?

Thanks
Hristo Valyavicharski
Telerik team
 answered on 01 Oct 2014
11 answers
314 views
I have a pretty basic image gallery right now, using the following code:

<telerik:RadImageGallery runat="server" Width="300px" Height="300px" LoopItems="true" ID="rigFeaturedNews" >
    <ImageAreaSettings Width="300px" Height="300px" />
    <ToolbarSettings ShowFullScreenButton="false" ShowSlideshowButton="false" ShowThumbnailsToggleButton="false" />
</telerik:RadImageGallery>

I have added two images to the gallery using code behind. On loading the page, the first image displays just fine. At the bottom, the thumbnails for both images are displayed. However, when I click the "next" button, or click on the thumbnail for the second picture, the loading spinner pops up, and the image grays, but the second image never loads.

Any idea what could be causing this?
Maria Ilieva
Telerik team
 answered on 01 Oct 2014
2 answers
91 views
Hi Everyone,
I am using RadEditor ToolBar
telerik control bit its not showing me on Firfox broser. Can anyone help me out on this issue.

Thanks in Advance!
Anjan
Top achievements
Rank 1
 answered on 01 Oct 2014
3 answers
149 views
In a GridImageColumn there is a DataAlternateTextField atribute informed with a DataItem. There are some urls that doesn't pont to any vàlid file, but the Alternate text is not shown; The alternate text exists but the grid displays an imatge placeholder.

The code is:

​<telerik:GridImageColumn HeaderText="Sintrom[I]" DataImageUrlFields="ImagenSintrom" DataImageUrlFormatString="{0}" 
    UniqueName="Sintrom" DataAlternateTextField="TooTipSintrom">
</telerik:GridImageColumn>


Viktor Tachev
Telerik team
 answered on 01 Oct 2014
2 answers
159 views
Hi,

We use telerik radchart for charting in our app, we've been using it for some time and recently upgraded to 2013.2.717.40 in our app (which was the most recent version our expired subscription had).

Since then, we get a 403 error when using a chart image:

ASPX:
...
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Charting" TagPrefix="telerik" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
...
<telerik:RadChart ID="RadChart" IntelligentLabelsEnabled="True" runat="server" CssClass="RadChart" DefaultType="Spline" />
...


The web.config has:
<httpHandlers>
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
</httpHandlers>

and
<handlers>
      <remove name="ChartImage_axd" />
<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
</handlers>

And I get a 403 permission denied on the url for the ChartImage.axd

The image is correctly created and cached in the appropriate temporary folder we've configured for use.

In processmonitor, as soon as that file is correctly written, the 403 failed request trace log file is created (we've enabled failed request tracing)

That file contains:
ModuleName IsapiModule 
Notification 128 
HttpStatus 403 
HttpReason Forbidden 
HttpSubStatus 0 
ErrorCode 0 
ConfigExceptionInfo  
Notification EXECUTE_REQUEST_HANDLER 
ErrorCode The operation completed successfully. (0x0) 

I'm now at a loss.

I can't see anything being denied permissions and it looks like the web.config is set right for charting.

Any ideas?
Danail Vasilev
Telerik team
 answered on 01 Oct 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?