Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
Hello,

I have 3 series that i would like to plot.  The first two, I would like to do a stacked-bar type plot, while leaving the last one in its own bar (plotted on the secondary y-axis).  I've been able to do this pretty easily by assigning the chart types to the series, but I have one problem which I cannot get around.  I would like the stacked bar to be on the left, and the normal bar to be on the right.  So far, no matter what I do, the stacked bar is always on the right of the normal bar.

I've attached a sample image.  The image shows how close I've come.  I want the green-red stacked bar to be on the left of the blue bar.

Does anyone know how to specify the order in which different chart types are rendered?

Thanks in advance,

Dan
Giuseppe
Telerik team
 answered on 29 Oct 2009
2 answers
243 views
Hi!

I want to set both the NavigateUrl and the Icon from code - client script or otherwise - but so far I've only found the setUrl method for RadWindow. How can I change the Icon for the RadWindow?
Christoffer Rosenqvist
Top achievements
Rank 1
 answered on 29 Oct 2009
2 answers
79 views
Hi,

I've got a grid that I am setting up so that ALL rows are editable.  I'm using the second method in the http://www.telerik.com/help/aspnet-ajax/grddefaulteditmodeforgriditemsoninitialload.html example.  This method specifies that you need to set the EditMode of the grid to EditForms.  I've done that and it works however I need the grid to now hide the non-editable rows.  At the moments its:
Row 1 data
Row 1 Edit form
Row 2 data
Row 2 Edit form

I want to get rid of the data row.  Any ideas. 

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 29 Oct 2009
1 answer
181 views
I have a RadComboBox that is populated in the code-behind. I am attaching a tool tip to each item in the combo box. Each tool tip displays on the page load but once the page is postback (there are other controls on the page that have AutoPostBack=True), the tool tips no longer display.

'in aspx page

<telerik:RadComboBox ID="RadComboPriority" runat="server" Width="280px" TabIndex="7" CssClass="blackText9" AllowCustomText="false"></telerik:RadComboBox>
  

'populating the RadComboBox on PageLoad

Public Sub LoadPriorities()
        Dim description As String
        Dim item As New RadComboBoxItem()
        item.Text = ""
        item.Value = 0
        RadComboPriority.Items.Add(item)

        Dim item1 As New RadComboBoxItem()
        item1.Text = "1 - Immediate"
        item1.Value = 1
        description = "Use this code when you are not able to do your job."
        ToolTipify(item1, description)
        RadComboPriority.Items.Add(item1)

        Dim item2 As New RadComboBoxItem()
        item2.Text = "2 - Serious"
        item2.Value = 2
        description = "For when you are able to do your job, but you are limited by a problem."
        ToolTipify(item2, description)
        RadComboPriority.Items.Add(item2)

        Dim item3 As New RadComboBoxItem()
        item3.Text = "3 - Minor"
        item3.Value = 3
        description = "This code is used when you need help but can wait until the priority 1 and 2 work orders are handled first."
        ToolTipify(item3, description)
        RadComboPriority.Items.Add(item3)
    End Sub

 

 

 

 

'adding tool tip to each item
Public Sub ToolTipify(ByVal item As RadComboBoxItem, ByVal description As String)
        Dim tip As New RadToolTip()
        item.Attributes.Add("ID", Guid.NewGuid().ToString())
        tip.RelativeTo = ToolTipRelativeDisplay.Element
        tip.Text = description
        tip.TargetControlID = item.Attributes("ID")
        tip.IsClientID = True
        'tip.ShowEvent = ToolTipShowEvent.FromCode
        'form1.Controls.Add(tip)
        tip.VisibleOnPageLoad = True
        tip.HideEvent = ToolTipHideEvent.LeaveToolTip
        Me.Page.Form.Controls.Add(tip)
    End Sub

 

I am unable to get the tool tips to display after the page has been posted back. Any help would be appreciated.
Thanks,
Cindy

 

 

 

 

 

 

 

 

 

 

 

 

 

Svetlina Anati
Telerik team
 answered on 29 Oct 2009
1 answer
77 views
Hello,

Can i get this Telerik example in a .sln .zip download from anywhere?

I've tried to piece it together the code from the online screens using VS2009 but am having problems getting it to compile because i'm not sure how to load the COMMON files below:

http://demos.telerik.com/aspnet-classic/treeview/Examples/Functionality/CheckBoxes/DefaultCS.aspx    

<%

@ Register TagPrefix="telerik" TagName="Header" Src="~/Common/Header.ascx" %>

 

<%

@ Register TagPrefix="telerik" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>

 

<%

@ Register TagPrefix="telerik" TagName="Footer" Src="~/Common/Footer.ascx" %>

I also downloaded the Telerik Samples that come with the documentation and didn't find this example in samplels, but basically, i'm looking for TreeView - Checkbox example/s

Thanks very much for any pointers

 

Paul
Telerik team
 answered on 29 Oct 2009
2 answers
53 views
Hi,

I need to create schedule that starts today at 8am and ends tomorrow at 6am.
Is it possible to achieve this functionality using Day view of Scheduler Control?
If yes, how? I've been trying to set start and end time of Day view, but it's not working if I set end time smaller then start time.

Thanks,
Tomica

Tomica
Top achievements
Rank 1
 answered on 29 Oct 2009
1 answer
92 views
Hi All

Have a grid with a two RadComboBox in each column.

While the page is Loaded I need to load records from a table (abc) int the first RadComboBox.

I Have used

protected void RadGridCurrInvt_ItemDataBound(object sender, GridItemEventArgs e)  
        {  
            if (e.Item is GridDataItem)  
            {  
                GridDataItem item = (GridDataItem)e.Item; 

                RadComboBox

RBCCurrInvtType = (RadComboBox)item.FindControl("RBCCurrInvtType"); 

                RBCCurrInvtType.DataSource = blCllAgt.getCurrentInvestmentType();  
                RBCCurrInvtType.DataBind();  
            }  
        }   
But,Nothing is displayed, only the grid which is shown as  line appears.

Is there any option for this.

Thanking You

-Anto
Princy
Top achievements
Rank 2
 answered on 29 Oct 2009
3 answers
1.0K+ views
My ImageButton (imgbtnToggle) will not pass the CommandArgument to my method ToggleTaskResults. Based on searches here, I guess this is because I'm doing Client Side DataBinding? How can I do server side or whatever to make this work? Thanks?

 

<telerik:RadGrid ID="RadGrid1" runat="server" OnItemDataBound="dgResults_OnItemDataBound" AutoGenerateColumns="false" EnableViewState="false" >

 

 

<MasterTableView>

 

 

<Columns>

 

 

<telerik:GridTemplateColumn>

 

 

<ItemTemplate>

 

 

<asp:ImageButton ID="imgbtnToggle" runat="server" CausesValidation="false" Visible='<%#Eval("IsTask").Equals(false) %>'

 

 

CommandArgument='<%#Eval("ResultId") %>' OnClick="ToggleTaskResults" />

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridBoundColumn DataType="System.Int32" DataField="JobId">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataType="System.Int32" DataField="ResultId">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataType="System.Boolean" DataField="IsTask">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

</telerik:RadGrid>

 

 

</ContentTemplate>

 

 

</asp:UpdatePanel>

 

Princy
Top achievements
Rank 2
 answered on 29 Oct 2009
1 answer
99 views
Hi,

After triing many times for all configurations i have some big problems for looping my rotators under last FF. I have tried and tested many configurations and searched xhtml complains errors. I have no error inside one maker not closed or similar like old post suggest. I have tested with Rotator.width and height definitions or without. Used with ItemsWidth ,height using definitions server and client side. 
Whats are the problem?. one internal "rrItemList" definition width of 10000px are generated and rotator are started, after first loop the internal counter is not cleared for the itemsnumber x Width and continue to 10000px. Result, you don´t get anymore your items and at end is blocked is this last value like 9474px..or similar... The looping is ok in IE8(Ie7) but fonts are infamous. Advice please.
 
<ul class="rrItemsList" style="width: 10000px; height: 368px; position: relative; left: -9474px; top: 0px; visibility: visible; opacity: 1;">
</ul>
 
    <telerik:RadRotator runat="server" ID="RadRotator1" Width="270" Height="310">     
        <ItemTemplate>    
            <asp:Image runat="server" ID="ImgRotator" Width="270" />    
        </ItemTemplate>    
    </telerik:RadRotator>  
I have tested may template contents including text or hyperlinks with same issue. I have defined more options server side with no effect.
regards.
Fiko
Telerik team
 answered on 29 Oct 2009
5 answers
422 views
I have written code to programmatically create a chart object and add one or more chart series to it.  This method is being called from an asp.net page and it returns the chart object.  The chart is being added to the page using the Controls.Add method.  After adding the chart, the series are not clickable.  How do I make the series (bar chart bars) clickable and hook them to event code in the page?
Quantesys IT
Top achievements
Rank 1
 answered on 29 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?