Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
575 views
Please check this chart for reference: http://dl.dropbox.com/u/19767586/radchart-xaxis-labels-tochange.png

Note how the x-axis labels, which also serve as the column headers for the datatable, go 1, 2, 3, ... 10.

I need to change these so they show month names. That is, Jan, Feb, Mar, ... Oct.
(the data fluctuates, showing all months 1 - current). I am generating/adding the dataseries to the graph in code.
There are about a dozen different ChartSeries.
cs = New TC.ChartSeries(mr("NAME"), Telerik.Charting.ChartSeriesType.Line)
For Each lr As DataRow In ls.Rows
    i = New TC.ChartSeriesItem(CDbl(lr("LOANS")), MonthName(lr("MONTH")))
    i.Name = MonthName(lr("MONTH")) '// TRIED WITH AND WITHOUT THIS LINE
    i.Label.Visible = False
 
    cs.AddItem(i)
Next
chartMilestoneLoans.AddChartSeries(cs)

I found this question, and based on the answer there, tried this
chartMilestoneLoans.PlotArea.XAxis.Clear()
chartMilestoneLoans.PlotArea.XAxis.AddRange(1, Now.Month, 1)
For lc As Integer = 0 To (Now.Month - 1)
    chartMilestoneLoans.PlotArea.XAxis(lc).TextBlock.Text = MonthName(lc + 1)
Next

This doesn't throw any errors, ... but it also doesn't change the labels as expected.
How can i replace the numbers with the month names?
Aaron Abdis
Top achievements
Rank 1
 answered on 26 Oct 2011
4 answers
81 views

Hi Guys,

I created a simple website just implement the upload with progressbar function. It works when I debug the website using VS.NET 2010. But after I deploy to the host, the RadProgressArea doesn't appear. Please help us to sort it out ASAP.

The Deploy URL as below:

http://raduploadtest.infobleops.net/

I also attached our codes.

Web.Config as below:

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  -->
<configuration>
    <connectionStrings>
        <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
    </connectionStrings>
    <system.web>
        <compilation debug="true" targetFramework="4.0">
            <assemblies>
                <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            </assemblies>
        </compilation>
        <authentication mode="Forms">
            <forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
        </authentication>
        <membership>
            <providers>
                <clear/>
                <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
            </providers>
        </membership>
        <profile>
            <providers>
                <clear/>
                <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
            </providers>
        </profile>
        <roleManager enabled="false">
            <providers>
                <clear/>
                <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
                <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
            </providers>
        </roleManager>
        <httpHandlers>
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
            <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
        </httpHandlers>
        <httpModules>
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
        </httpModules>
        <httpRuntime maxRequestLength="1048576" requestValidationMode="2.0"/>
    </system.web>
    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true">
            <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule"/>
        </modules>
        <validation validateIntegratedModeConfiguration="false"/>
        <handlers>
            <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
            <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler"/>
        </handlers>
    </system.webServer>
</configuration>


ASPX as below:

<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>
  
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
  
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Welcome to ASP.NET!
    </h2>
    <p>
        To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">www.asp.net</a>.
    </p>
    <p>
        You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&;clcid=0x409"
            title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>.
    </p>
    <table>
    <tr>
        <td>
            <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
            </telerik:RadScriptManager>
            <telerik:RadUpload ID="RadUpload1" Runat="server">
            </telerik:RadUpload>
            <telerik:RadProgressManager ID="RadProgressManager1" Runat="server" />
            <telerik:RadProgressArea ID="RadProgressArea1" Runat="server" 
                DisplayCancelButton="True">
            </telerik:RadProgressArea>
            <br />
            <br />
            <telerik:RadButton ID="RadButton1" runat="server" Text="Upload">
            </telerik:RadButton>
        </td>
    </tr>
    </table>
</asp:Content>



Thanks
Bill

Peter Filipov
Telerik team
 answered on 26 Oct 2011
1 answer
36 views
This morning our head of sales cornered me and said, "We have an extremely important demo today and they want to know that we can handle scheduling."

My response was that all of our existing clients just use Outlook / Exchange for schedules.  He said the client wanted it built into our product and we had 3 hours to show something.

Although we use Telerik for a number of other things I've never even looked at the scheduling control.  After seeing your online demo, it took us about 45 minutes to get something "demo ready" version built into our product.  From what I can tell, to do it right might take another 2 hours.

So, here's a big thank you to the Telerik team.  Now this company is even more convinced that I'm a rock star. ;) 




Sebastian
Telerik team
 answered on 26 Oct 2011
0 answers
25 views
Hugo
Top achievements
Rank 1
 asked on 26 Oct 2011
9 answers
92 views
Hi, i have a radgrid that has quite a complex group header. bascically the group header groups all files or a person together. i want the user to be able to drag a file from one person to another to re-assign that file. I can make it work for dragging a row from person one's list of files (rad grid rows) to another persons list of files (rad grid rows), but as a person can have a lot of files, this might not actually allow you to see who you are dragging the file to (as the group header might be off screen and not visible)

Is there a way of allowing dragging to a group header row? i have looked into the HTML element targets (the trash can example), and could use that with a div over the persons photo, then a suffix to see if it was a picture target that the row was dropped on (ie call the divs <div id="unique_name_droptarget"> and look for the _droptarget part of the id in the args.get_destinationHtmlElement();

but that might be a bit messy.

any other solutions?
James
Top achievements
Rank 1
 answered on 26 Oct 2011
1 answer
45 views
How would I attach a client event handler to the text box that gets autogenerated when you call startEdit() on a node?

I tried using the OnClientKeyPressing() event on the tree, but apparently it doesn't bubble up from the text box.
Marbry
Top achievements
Rank 1
 answered on 26 Oct 2011
3 answers
336 views

Hi,
I installed Telerik.Web.UI.dll in Gac and I set it in the machine's Web.config :

<handlers>
            <add name="Telerik_Web_UI_WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
 </handlers>

as explained in http://www.telerik.com/help/aspnet-ajax/introduction-troubleshooting.html

Unfortunately, I have the following error.Does anyone know how to fix it?
Thank you.
Best regards,
Silvia

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.

Source Error:

[No relevant source lines]

Source File: none    Line: 0

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Version Information: Microsoft .NET Framework Version:2.0.50727.5662; ASP.NET Version:2.0.50727.5053 
Silvia
Top achievements
Rank 1
 answered on 26 Oct 2011
2 answers
55 views
Hi
I have an ajaxified page by RadAjaxManager , and jquery is enabled too.
on the onLoad event of jquery I want to find a reference to a RadButton :
            $(document).ready(function () {                
                var btn = $find("<%= btnAdminRibbonBar_SH.ClientID %>"); /* find button*/
                alert(btn.get_primaryIconElement());
            });

but I get a null reference
it seems that in this event RadButton is not loaded yet
is there any same event belong to telerik  ajax framework to use  (RadAjaxManager just have 2 client side event  )?

Thank you very much , for your feedback
reza
Top achievements
Rank 1
 answered on 26 Oct 2011
6 answers
508 views
Is it possible to loop thru all the columns in a grid and get all the column names, and allocate those columns with empty header name, and hide from grid.

kenneth
Top achievements
Rank 1
 answered on 26 Oct 2011
7 answers
101 views
Hi Everybody - I have taken over a project that used the Telerik controls from 2008 and I just ran the upgrade wizard and now I am gitting a bunch of $telerik is not defined errors and non of the RadWindows are working

can someone point me in a direction to get started? I'm really new to Telerik controls too :)

Thanks
Jamie
Iana Tsolova
Telerik team
 answered on 26 Oct 2011
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
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
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?