Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
108 views
I am in the process of taking all my Sql reports in sql reporting and moving to Telerik reporting.  Went to it becuase it was easy but its hard to maintain another server.  So what I would like is help in developing my first chart.  what I need to do is pull my information from a database and then rotate through it to add my data.  My first chart is pretty simple I need to create the side lengend based on amount of personnel it pulls from the database and then create a legend based on if they had have certain reviews done on them.
Annual
Ready
Not COmpleted

These should be in bar chart to show this.  My question is how to do this.  Are these seperate series or one series, i don't get the linog on the asp.net side.

How can i rotate through my datatable to get all this.

<telerik:RadChart ID="RadChart1" runat="server" Width="500px" >
            <Legend>
                <Items>
                
                </Items>
            </Legend>
        </telerik:RadChart>

Select Total, Readiness, Annual, NoComplete from #TempCount

So total would be the bar charts left legend for total # of personnel subdivided into 20 personl incriments,
then you would have 3 bars Readines, Annual and noComplete.
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 14 Jan 2013
2 answers
107 views
Hello forums,

We are having a weird issue with RadChart in that sometimes the chart goes wonky when it is placing the labels for the dots on a line chart.  Yes, the dots are a bit close together, but it doesn't seem like they are all that terribly close together.  It's possible that this is just a RadChart bug.  We are currently using RadChart (ASP.net AJAX) version 2012.2.828.40.  Attached are some sample graphs for you to peruse.  Any suggestions of things we could try to tweak to keep this from happening would be welcome.

Thanks in advance,

Scott
Missing User
 answered on 14 Jan 2013
1 answer
65 views
Hi Friends,

We have requirement to display the image in the particular position of the every series item of StackedBarchart. When we tried this, the whole value of series item is changed as image. 

  foreach (ChartSeriesItem seriesItem in seriesGroup.Items) 
        { 
              seriesItem.Appearance.FillStyle.FillSettings.BackgroundImage = "~/starimage.jpg"; 
               seriesItem.Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Image; 

        }


For your reference, required chart image file is attached.

Please help us to achieve this functionality.

Regards,
K.Prabhu




MasterChiefMasterChef
Top achievements
Rank 2
 answered on 14 Jan 2013
0 answers
106 views
Hi,

I have 2 related comboboxes which works perfectly without AJAXManager; but when you turn on the AJAXManager, it fires the event but the second combobox is not clickable or nothing happens (no dropdown) when clicking the dropdown button. The controls are within a ASCX page that is loaded dynamically into a RADMultipage PageView during runtime.

<div>
      <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
          EnablePageHeadUpdate="False">
          <AjaxSettings >
              <telerik:AjaxSetting AjaxControlID="cboApplication" EventName="SelectedIndexChanged">
                  <UpdatedControls>
                      <telerik:AjaxUpdatedControl ControlID="cboComponents" />
                  </UpdatedControls>
              </telerik:AjaxSetting>
          </AjaxSettings>
      </telerik:RadAjaxManager>
 
  </div>
      <div class="contents">
          <table>
              <tr> <td class="LabelColumn"><asp:Label ID="lblApplication" CssClass="Labels" Text="Application: " runat="server"></asp:Label></td> <td colspan="3">
                  <telerik:RadComboBox ID="cboApplication" runat="server" AutoPostBack="True"  OnSelectedIndexChanged="cboApplication_SelectedIndexChanged"
                      Width="320px" />
                  </td> </tr>
              <tr><td class="LabelColumn"><asp:Label ID="lblComponent" Text="Component: " CssClass="Labels" runat="server"></asp:Label></td> <td colspan="3"><telerik:RadComboBox ID="cboComponents" runat="server" Width="320px" /></td></tr>
              <tr><td class="LabelColumn"><asp:Label ID="lblRType" runat="server" Text="Type: " /></td><td colspan="3"><telerik:RADComboBox ID="cboReleaseType" Width="320px" runat="server" /></td></tr>
              <tr><td class="LabelColumn"><asp:Label ID="lblVersion" Text="Version: " CssClass="Labels" runat="server"></asp:Label></td> <td colspan="3"><telerik:RadTextBox ID="txtVersion" runat="server" Width="320px" /></td></tr>
              <tr><td class="LabelColumn"><asp:Label ID="lblArea" runat="server" Text="Area: " /></td><td colspan="3"><telerik:RadComboBox ID="cboArea" runat="server" Width="316px" /></td></tr>
              <tr><td class="LabelColumn"><asp:Label ID="lblDeployTime" Text="Deploy Time: " runat="server" /></td>
                  <td><telerik:RadNumericTextBox ID="txtDeployTime" runat="server" Width="110px" /></td>
                  <td class="LabelColumn"><asp:Label runat="server" ID="lblRevertTime" Text="Revert Time: " /> </td>
                  <td><telerik:RadNumericTextBox ID="txtRevertTime" runat="server" Width="110px" /></td>
              </tr>
           </table>
      </div>
Protected Sub cboApplication_SelectedIndexChanged(sender As Object, e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles cboApplication.SelectedIndexChanged
    Dim connection As New SqlConnection(ConfigurationManager.ConnectionStrings("mConnectionString").ConnectionString)
 
    Dim adapter As New SqlDataAdapter("SELECT * FROM tblComponents WHERE AppID = " & e.Value & " order by ComponentName", connection)
    Dim dt As New DataTable()
    adapter.Fill(dt)
 
    cboComponents.DataTextField = "ComponentName"
    cboComponents.DataValueField = "ComponentID"
    cboComponents.DataSource = dt
    cboComponents.DataBind()
    'insert the first item
    cboComponents.Items.Insert(0, New RadComboBoxItem(""))
End Sub


Any help would be appreciated
Viswanathan
Top achievements
Rank 1
 asked on 14 Jan 2013
2 answers
63 views
We have a requirement for displaying the RadChart control as a one of the column in RadGrid. We tried to display the chart in the column of the grid control. but the area of title, legend, xaxis, yaxis values are displayed as empty. so the alignment of grid control is getting differently.

In one of the telerik forum, assigning of the AutoLayout property set to false. we tried this also but still we are helpless.

please assist to achieve this scenario.

Thanks,
Meenakshi.
Missing User
 answered on 14 Jan 2013
3 answers
104 views
When inserting table from word (clearing word formatting)- it looses some formatting (borders and background colors)

Problem appears in RadControls for ASP.NET AJAX 2012.3 1218
.net framework 4.5
Rumen
Telerik team
 answered on 14 Jan 2013
1 answer
88 views
Hi,

I'm wondering whether there is an option that allows me to skip the skin chosen in the skin-manager to be applied for a certain control (a button in my case) ?
I cannot find something like ControlsToSkip. Am i missing something here?

As a follow up. How to undo a skin in code behind?

thanks, Michael
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 14 Jan 2013
2 answers
79 views
I am in a situation where a user will have a variable number of items and beside each item I want a RadNumericTextBox. I was thinking of using the RadListView and setting the template to be the item name and a RadNumericTextBox associated with it. I want to ignore the edit, create, and the more advanced features of the RadListView. I just want a list of items with the input boxes that will auto post back.

The problem I am facing is when a user changes a number in the text box, how do I know which text box this is? I was looking to see if there was a attribute on RadNumericTextBox that could hold an arbitrary value such as my item key so I would know which number they changed. However, I don't see such an attribute.

Is there some way I can make a determination which text box they edited when I auto post back? 

In case anyone asks, I do not want to force my user to click a button to make the row go into edit mode, change the number, then click a button to save the row.
DuelingCats
Top achievements
Rank 2
 answered on 14 Jan 2013
1 answer
132 views
I am dynamically loading the radcombobox in my program and getting emptyvalue when quering SelectedValue. This is working just fine with asp.net dropdownbox:

In the aspx file I have:

<asp:Repeater ID="rptTI" runat="server" EnableViewState="false">
<ItemTemplate>
     <telerik:RadCombobox ID="ddlPay"  runat="server" AutoPostBack="False" />
</ItemTemplate>
</asp:repeater>

in the cs file I have in the itemdatabound of the repeater:

protected void OnItemDataBound(Object sender, RepeaterItemEventArgs e)
{
  DropDownList ddlPay = ((DropDownList)e.Item.FindControl("ddlPay"));
  ddlPay.DataSource = payrollDataView;
  ddlPay.DataTextField = "value";
  ddlPay.DataValueField = "id";
  ddlPay.DataBind();
}

Now when I save the value I am doing ddlPay.SelectedValue and it gives empty string.

It is interesting to see if I change the RadCombobox to asp:DropDownList, it works just fine!
Nencho
Telerik team
 answered on 14 Jan 2013
0 answers
39 views
Hi, 

I d like to set up static headers and scrolling inside of the grid, but when I turn on this feature my grid is suddenly ruined.  Checkout the screenshot..

Will this be fixed in new release?

Cheers.
Jan
Top achievements
Rank 1
 asked on 14 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?