Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
92 views
I have a graphic. In this graphic I need to show two moments. One moment, between a year range and other moment in other range. So, each range must be two diferent colors, in same line serie. I think to build two series, but when I put serie = 0, I heve a dot line, but I don't want a dot line, but invisible line. Is posible? Below my code:

chartSeries1.SetValues(bl.doubleArrayMercado);
chartSeries2.SetValues(bl.doubleArray2009);
chartSeries3.SetValues(bl.doubleArray2010);
for (int i = 0; i < bl.doubleArray2009.Length; i++)
{
if (bl.doubleArray2009[i] == 0)
{
chartSeries2.Items[i].Empty = 
true//Here a dot line and no invisible line 

chartSeries2.Items[i].Visible = 
false;
}
}
for (int i = 0; i < bl.doubleArray2010.Length; i++)
{
   if (bl.doubleArray2010[i] == 0)
   {
chartSeries3.Items[i].Empty = 
true;//Here a dot line and no invisible line
chartSeries3.Items[i].Visible = 
false;
    }




Peshito
Telerik team
 answered on 04 May 2012
4 answers
128 views
Hi 
I am using Media mangager and flash manager in Rad Editor for MOSS (Rad Version 2010.2.826.35 ). this is behaving differently in different browsers. 
Is there any documentation on the browser/OS support for the Media / flash manager?
Rumen
Telerik team
 answered on 04 May 2012
1 answer
51 views
Steps to reproduce:
1) go to http://demos.telerik.com/aspnet-ajax/scheduler/examples/timezones/defaultcs.aspx
2) make sure the time zone is (UTC+2:00) Helsinki
3) add an recurring appointment for a day ex: 1st May 2012
4) set start time as 05/01/2012 12:00AM, end time as 05/01/2012 01:00AM (1st May 2012)
5) select recurring check box
6) set recurrence 'daily'
7) set 'EndsBy' - 05/04/2012 (4th May 2012)

then check out the scheduler that it shows the appointment also for '5th May 2012'
when checked locally in recurrence rule it stores UNTIL=20120505T000000Z

any fixes for this?
Plamen
Telerik team
 answered on 04 May 2012
1 answer
106 views
Hi,

I have a problem with SortOrder for SelectFields in GridGroupByExpressions when i change to "Descending". Only works for "Ascending". 

When i change to "Descending" i got an error at the designer in VS .NET. i attached an image with the error.

The code for the grid is:

<GroupByExpressions>
                    <telerik:GridGroupByExpression>
                        <GroupByFields>
                            <telerik:GridGroupByField FieldName="OrderNumber" />
                        </GroupByFields>
                        <SelectFields>
                            <telerik:GridGroupByField FieldName="OrderNumber" FieldAlias="OrderNumber" HeaderText="Ordem"
                                SortOrder="Ascending" />
                            <telerik:GridGroupByField FieldName="OrderID" FieldAlias="OrderID" HeaderText="Ítens"
                                Aggregate="Count" />
                            <telerik:GridGroupByField FieldName="ProductAmount" FieldAlias="GroupTotal" Aggregate="Sum"
                                HeaderText="Total" />
                            <telerik:GridGroupByField FieldName="OrderStatus" FieldAlias="OrderStatus" HeaderText="Status" />
                        </SelectFields>
                    </telerik:GridGroupByExpression>
                </GroupByExpressions>
Shinu
Top achievements
Rank 2
 answered on 04 May 2012
2 answers
63 views
Hi,

Is it possible to enable sorting on the grid and then allow the users to sort the data in the grid, without having to add any code, behind the scenes?

Thanks
Angella
Top achievements
Rank 1
 answered on 04 May 2012
2 answers
169 views
Hello,
I am binding the Grid inside a loadHeader method and inside that method, I need to call an event called raIseChangedEvent. Inside raiseChangedEvenet, I need to find the label control inside the gridview and get the value of it. I don't know how to do this. below is my code

public loadHeader()
{

    RadGrid_Header.DataSource = HeaderList;
         RadGrid_Header.DataBind();
         RaiseChangedEvent();

}
protected void RaiseChangedEvent()
{
       // This is what i did with asp.net gridview
       grd_view_tracking.SelectedIndex = 0;
       GridViewRow selected_row = grd_view_tracking.SelectedRow;
      string job_seq_text_val = ((Label)selected_row.FindControl("lbl_job_seq")).Text;
}

How can I get the value of job_seq_text_val  in RadGrid.

Steve
Top achievements
Rank 1
 answered on 04 May 2012
9 answers
277 views

hallo,

is there exist file upload style drag and drop ?

thanx in advance,

Stev

Princy
Top achievements
Rank 2
 answered on 04 May 2012
3 answers
184 views
Is it possible to set the DefaultInsertValue property of a RadGrid with a form control such as TextBox? I have tried the following code without success.

<telerik:GridBoundColumn DataField="ItemID"

FilterControlAltText="Filter column column" HeaderText="Item ID"

 

UniqueName="ItemID" DefaultInsertValue='<% TextBox1.Text %>'>

 

</telerik:GridBoundColumn>


the radgrid control is bound to an entitydatasource  having a two part key one of which is a foreign key needing to be populated with the current entity set's pk.
tony
Top achievements
Rank 1
 answered on 04 May 2012
2 answers
325 views
Hi,

I'm trying to hide all sections on a line graph where the Y value = 0.

All the solutions i have found require me to use a single series bound to the charts data source property. I'm using a list of chart series that i add to the chart object, so the ItemDataBound event does not get fired.

Attached is the output graph, i need to remove all points before the arrows on each series.

Is there a way to do this? 

Much appreciated
Nick
Top achievements
Rank 1
 answered on 04 May 2012
1 answer
179 views
I would like to know if my usage of the NeedDataSource event is correct.

<telerik:RadListView ID="rlvResults" runat="server" AllowPaging="True"
    ItemPlaceholderID="SearchResultsHolder" DataKeyNames="Id" Skin="Web20"
    EnableEmbeddedSkins="False" OnNeedDataSource="rlvResults_NeedDataSource">
    <LayoutTemplate>
        <asp:Panel ID="SearchResultsHolder" runat="server" />
        <div style="clear: both" />
        <div>
            <telerik:RadDataPager ID="rdpSearchResultsPager" runat="server"
                PagedControlID="rlvResults" PageSize="5">
                <Fields>
                    <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                    <telerik:RadDataPagerButtonField FieldType="Numeric" />
                    <telerik:RadDataPagerButtonField FieldType="NextLast" />
                    <telerik:RadDataPagerPageSizeField PageSizeText="Page size: " />
                </Fields>
            </telerik:RadDataPager>
        </div>
    </LayoutTemplate>
    ...
</RadListView>

code behind:

protected void Page_Load(object sender, EventArgs e)
{
    if (!Page.IsPostBack)
    {
        ...
    }
}
 
protected void rlvResults_NeedDataSource(object sender, Telerik.Web.UI.RadListViewNeedDataSourceEventArgs e)
{
    if (Page.IsPostBack)
    {
        rlvResults.DataSource = GetData();
    }
}
 
protected void bSearch_Click(object sender, EventArgs e)
{
    rlvResults.DataSource = GetData();
    rlvResults.DataBind();
}

This is a search page. When bSearch is clicked the results should be shown in rlvResults. On Page_Load!Page.IsPostBack  the listview should not display any items.

I've added a check to only get data for the listview when it's a client postback event (paging, sorting, etc). Is this the correct usage for this event?
Brian
Top achievements
Rank 1
 answered on 03 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?