Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
256 views
my client gave me the screen shot to make a pie chart like it shows in image13.jpg (image on right hand side).
Just want to clarify that 1,2,3 shown in the chart actually will replace "No status, Evication".

here is the sample data
     No Status:        10
     Eviction:        20
    Ready to Repair:        30
    Repairs:        40
    Ready to List:        50
    Listed:            60
    Listed-Back On The Market:        70
    Offers In:        80
    Pending Sale:        90
    Closing Documents In:        100
    Closed:        50
    Removed From Market:        33
    Litigation:        44
    TS Sale Rescission:        33


This is the code which I have written.
   Private Sub BuildChart()
        Dim radChart = New RadChart()
        radChart.ChartTitle.TextBlock.Text = "Active Property by status"
        radChart.Series.Add(BuildChartSeries())
        ChartDiv.Controls.Add(radChart)
    End Sub

    Private Function BuildChartSeries() As ChartSeries
        Dim chartSeries = New ChartSeries()
        Dim result As DataTable

        chartSeries.Type = ChartSeriesType.Pie
        chartSeries.Appearance.LabelAppearance.Visible = False
        chartSeries.Appearance.TextAppearance.Visible = False
        chartSeries.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.ItemLabels

        result = WebPartBase.LoadActivePropertyByStatus()
        For i As Integer = 0 To (result.Rows.Count - 1) Step 1
            chartSeries.AddItem(CustomFunctions.HandleDBNULL(result.Rows(i)("count"), 0.0), CustomFunctions.HandleDBNULL(result.Rows(i)("SaleStatus"), ""))
        Next


        Return chartSeries
    End Function


and the output which is shown 12.jpg, way different then what my clients wants.

I am new to telerik chart control, so i am just throwing arrows in the dark.

could any one please help me out here.
 
Velin
Telerik team
 answered on 27 Jul 2010
4 answers
261 views
Hey guys,

i`m using the RadAsyncUpload control for the first time and wondered about an issue that appeared. 

First of all i`ve to say that the whole upload is working well even within ajaxyfied content. But there appeared one issue i wasn`t able to detect the issue.

For example there is my AsyncUpload sample code.

<telerik:RadAsyncUpload ID="rauImage"  
                            runat="server"  
                            AllowedFileExtensions=".jpg"  
                            MaxFileInputsCount="1"  
                            MaxFileSize="5242880"  
                            InitialFileInputsCount="1" 
                            OverwriteExistingFiles="true" 
                            TemporaryFileExpiration="05:00:00"
</telerik:RadAsyncUpload> 
 
Please notice that there is only one input field ony my page, because it is necessary that there is only once.
In all scenarios i`ve only have one input field.

Now i`ve tried to use the upload in the following scenario:

  • I`ve selected a file (file was written into the handler)
  • I`ve used the submit button for a postback

 The file was successfully uploaded to the handler and after a postback it was successfully stored on the server. 


After that i´ve tried the following scenario:

  • I`ve selected a file (file was written into the handler) (File1)
  • I`ve removed the file
  • I`ve now selected another file (file was written into the handler)(File2)
  • I`ve used the submit button for a postback

In this scenario the behaviour is like follows. The upload doesn`t store the current selected File (File2) it is storing the old File (File1) that i`ve already removed from the server.


I`ve wondered about the issue. Because if you are validating the selected file  and in case the file isn`t valid  you`ll have no chance to upload a second valid file because the second file is never being uploaded
Are there any suggestions out there?

Thanks in advance.

Regards

Chris









Yana
Telerik team
 answered on 27 Jul 2010
1 answer
94 views
Hi there,

I am experiencing a bit of an annoying problem with the RadEditor at the moment, and was hoping that someone might know the problem here.

Basically, when I apply a header class to some text (in design view), all the style attributes of the header are visible in the design view except for the bottom margin. However, in preview view it looks exactly as it should do. This only seems to occur in IE, it displays correctly in design and preview view in FireFox (unfortunatly IE8 is the browser of choice here - not my decision).

Is there a known reason for this? This is kind of a must as the preview view should reflect the published page (where the bottom margin is displayed correctly as well).

It just seems to be that a headers bottom margin is not displayed in preview view in RadEditor in IE (8).

Thanks for your assistance.
Regards,
Scott
Rumen
Telerik team
 answered on 27 Jul 2010
3 answers
248 views
Hi,
Is there a way to find an item that is NOT part of the current page of the grid. (Using pager).
I'm using  "FindItemByKeyValue" but it returns NULL when the item I'm looking for is in another page.

Thanx  a lot!
Nikolay Rusev
Telerik team
 answered on 27 Jul 2010
2 answers
131 views
Hi,

I like the feature where Grid allows to reorder columns displayed. How can I restrict some of the columns in the grid to be reordered? For example I don't want users to re-order action columns[edit/delete] ones.

Any help would be highly appreciated.

Many thanks.

MG
FISCAL
Top achievements
Rank 1
 answered on 27 Jul 2010
6 answers
251 views
Greetings,

i am using the demo "Filtering Template Columns", it works great in IE and Firefox and i am very happy with it. however in chrome it doesn't work at all. how can i fix this?
Martin
Telerik team
 answered on 27 Jul 2010
1 answer
106 views

Requirements

RadControls version 2010.2.713.40

.NET version 4.0

Visual Studio version 2010

programming language C#

browser support

all browsers supported by RadControls


PROJECT DESCRIPTION
RadChart has built-in support for zooming and scrolling. However, "the zooming precision in some scenarios seems to be a bit off" as discussed in this forum thread. When it happens, it is very confusing for end users.

To prevent the scenarios from happening, I turned on scrolling but turned off zooming. I put a range-enabled RadSlider underneath the chart to control zooming. It is pretty straightforward to set the chart's scale while a user drags the slider's handles, because the slider has several client- and server-events you can hook your code. It is challenging, however, to synchronize the slide's drag handles' positions when a user scrolls the chart, because the chart doesn't expose any scrolling events.

The attached demo project uses a hack to capture a RadChart's scrolling event. Therefore, I am able to synchronize the slider's drag handles' positions with the chart's scrolling offset.
Yavor
Telerik team
 answered on 27 Jul 2010
1 answer
253 views
Hi to everyone,

I'm using a RadGrid, I would like to know if some of you have created a dynamic header, based on a table data column..Can you tell me how can I do it, otherwise where can I find some source code...I appreciate your help, I attach a gif file

Regards
Princy
Top achievements
Rank 2
 answered on 27 Jul 2010
1 answer
609 views
Hi,

I would like to know is there any thing like modal popup window in RadASP.NETAjax controls. I want to open up a model popup to fill out the mailing information by user and then close the it on sublit with appropriate message for user.

Can you please let me know is this thing possible in rad controls ?

Thanks,
Prayag
Shinu
Top achievements
Rank 2
 answered on 27 Jul 2010
1 answer
262 views
I have a radgrid that is tied to an objectdatasource that allows inserts.  When I click the "Add New Record" button at the top of the grid, I want to set focus to the first columns textbox for input. 

How do I do this?
Princy
Top achievements
Rank 2
 answered on 27 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?