Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
97 views
Hi again,
i have got three "little" questions.
Here's a link to show the charts I'm talking about:
http://s.finanznachrichten.de/temp/3Monate_230.htm
So let's start:

 1st question
As I said in topic I have 2 charts on this site one candlestick and one bar-graph. Now we need this 2 graphs shown as one picture (png/jpg). Is this possible and how can it be done?

2nd question
In the bar-graph, the y-axis2 has an custom format like.
RadChart2.PlotArea.YAxis2.Appearance.CustomFormat = "0,, M"
 How come that the zero label is not shown ?

3rd question
Like in the post label-position candlestick-charts I now draw 2 lines as you see and try to mark the highest an lowest value of the candlestick chart. The x-position of the values is pretty good, but the AlignedPositions is not drawn as set in code.
In shown Image was set :
RadChart1.Series[1].Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Inside; 

RadChart1.Series[1].Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.BottomRight; 
and it makes no difference to 
RadChart1.Series[1].Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Inside; 
RadChart1.Series[1].Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopLeft; 


Thanks for Support!

Best regards
Alexander Witkowski 

Giuseppe
Telerik team
 answered on 30 Sep 2009
2 answers
96 views
Hi,

I am experiencing a slight difference in the rendering of the Upload dialog.

E.g. the upload button btnUpload in the imagemanager upload has class . rfdDecorated

But when I use the RadFileExplorer object on a seperate page the btnUpload has NO class.
The same goes for the rfdCheckboxChecked and rfdCheckboxUnchecked classes

Please assist...

Marc
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 30 Sep 2009
3 answers
173 views
Hi there,
i have a Candlestick Chart with some Items and want to add a label to absolut minimum an absolut maximum.
I tryed with item labels and postitions (like RadChart1.Series[2].Items[j].Label.Appearance.Position) but there where no changes visible.
Can you please help me, if some code is needed just write a short comment.

Thanks

Best regards
Alexander Witkowski
Giuseppe
Telerik team
 answered on 30 Sep 2009
1 answer
75 views
Hiya,

Simple question really.Can I go ahead in all confidence and use the latest radGrid in a vs2008 dynamicData project, and it will work?

many thanks,

yogi
Princy
Top achievements
Rank 2
 answered on 30 Sep 2009
1 answer
110 views
hi

This is my code and i just couldn't get the value: I did a breakpoint at the ItemCommand  and the variable x is empty. Is there something wrong with this code? Thanks

 

<Columns>

 

 

<telerik:GridTemplateColumn DataField="CID" HeaderText="CID"

 

 

SortExpression="CID" HeaderStyle-Wrap="false" UniqueName="CID">

 

 

<ItemTemplate>

 

 

<asp:Label ID="CIDLabel" runat="server" Text='<%# Eval("CID") %>'></asp:Label>

 

 

</ItemTemplate>

 

 

<HeaderStyle Wrap="False"></HeaderStyle>

 

 

</telerik:GridTemplateColumn>

 

Protected

 

Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand

 

 

Dim item As GridDataItem

 

 

Dim x As String

 

 

 

 

 

If e.CommandName = "Select" Then

 

 

 

 

item =

DirectCast(e.Item, GridDataItem)

 

x = item(

"CID").Text

 

Session(

"cidl") = item("CID").Text

 

 

End If

 

 

 

 

 

End Sub

 

Shinu
Top achievements
Rank 2
 answered on 30 Sep 2009
3 answers
218 views
Could someone please point me to an example that uses a numeric data ID and a string display value?  All of the samples I have found use string values for both.  I want to be able to have a RadComboBox in the FilterTemplate, show the display value in the ItemTemplate, and a dropdown in the EditItemTemplate.

My RadGrid is EntityDataSource backed.  The RadCombo column is a foreign key in the EDMX model.
Pavlina
Telerik team
 answered on 30 Sep 2009
1 answer
171 views

RadColorPicker does not display correctly in Internet Explorer 6. The color sliding bar is on place on the bottom instead of next to the color pallette.

See image: http://www.flickr.com/photos/quangvo/3968182930/in/set-72157622360470375/

Please help thank you.

<telerik:RadGrid ID="gridCategories" Width="800px" runat="server" AutoGenerateColumns="false" Skin="Sunset"

            ShowStatusBar="true" AllowMultiRowSelection="false" OnNeedDataSource="gridCategories_NeedDataSource"

            AllowPaging="true" AllowSorting="true" OnItemCommand="gridCategories_ItemCommand"

            OnPreRender="gridCategories_PreRender" PageSize="10" OnItemDataBound="gridCategories_ItemDataBound">

            <ClientSettings ClientEvents-OnPopUpShowing="popupShowing"></ClientSettings>

            <MasterTableView HierarchyDefaultExpanded="false" EditMode="PopUp" HierarchyLoadMode="Client"

                Width="800px" ShowHeadersWhenNoRecords="false" DataKeyNames="CategoryID" CommandItemDisplay="TopAndBottom">

                <Columns>

                    <telerik:GridEditCommandColumn ItemStyle-Width="30" ButtonType="ImageButton" EditText="Edit">

                        <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" />

                    </telerik:GridEditCommandColumn>

                    <telerik:GridBoundColumn DataField="CategoryName" ItemStyle-Width="400" HeaderText="Category">

                    </telerik:GridBoundColumn>

                    <telerik:GridTemplateColumn HeaderText="Font Colour" ItemStyle-Width="65" ItemStyle-HorizontalAlign="Center">

                        <ItemTemplate>

                            <asp:Label ID="lblColor" runat="server" style='<%# "Background-Color:" + Eval( "Color") %>' Width="20px">&nbsp;</asp:Label>

 

                        </ItemTemplate>

                    </telerik:GridTemplateColumn>

                    <telerik:GridBoundColumn DataField="UpdatedOn" HeaderText="Last Updated">

                    </telerik:GridBoundColumn>

                    <telerik:GridButtonColumn CommandName="Delete" Text="Delete"

                      UniqueName="DeleteColumn" ConfirmText="Delete this Category?" ButtonType="ImageButton">

                        <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" />

                    </telerik:GridButtonColumn>

                </Columns>

                <EditFormSettings EditFormType="Template" PopUpSettings-Modal="true" CaptionFormatString="Manage Category"

                    PopUpSettings-Width="300">

                    <FormTemplate>

                        <br />

                        <table>

                            <tr>

                                <td>

                                    Category Name:

                                </td>

                                <td>

                                    <asp:TextBox ID="txtCategoryName" Text='<%# Bind( "CategoryName") %>' runat="server"></asp:TextBox>

                                </td>

                            </tr>

                            <tr>

                                <td>

                                    Color:

                                </td>

                                <td>                                   

                                    <telerik:RadColorPicker ID="rcpColor" ShowIcon="true"  runat="server"   PaletteModes="HSB" Preset="Standard"  >

                                    </telerik:RadColorPicker>

                                </td>

                            </tr>

                            <tr>

                                <td colspan="2" align="right">

                                    <br />

                                    <asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'

                                        runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>

                                    </asp:Button>&nbsp;

                                    <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"

                                        CommandName="Cancel"></asp:Button>

                                </td>

                            </tr>

                        </table>

                        <br />

                    </FormTemplate>

                </EditFormSettings>

            </MasterTableView>

            <ClientSettings AllowExpandCollapse="true" EnableRowHoverStyle="true">

                <Selecting AllowRowSelect="true" />

                <Scrolling AllowScroll="false" ScrollHeight="200" UseStaticHeaders="True" SaveScrollPosition="True"

                    FrozenColumnsCount="1"></Scrolling>

            </ClientSettings>

        </telerik:RadGrid>

Tsvetie
Telerik team
 answered on 30 Sep 2009
3 answers
266 views
When exporting from a RadGridView that contains japanese characters in the data, the CSV file contains no japanese characters - they are all replaced with question marks (?). Is there a trick to getting them to export correctly?


Thanks,
Sean
Sebastian
Telerik team
 answered on 30 Sep 2009
1 answer
49 views
Hi,

We would like to have the alphabetic style for our paging style in radgrid's. But we don't want the combobox which gets displayed (with entries like 5, 10, 15). How do we get rid of this combobox in the paging style and just have the alphabets and other buttons in that paging style(minus that combobox).

Pls help us with code.
Princy
Top achievements
Rank 2
 answered on 30 Sep 2009
1 answer
125 views
hi,
i try to put 2 value in my combobox :
I have a table with 3 value : ModelCode , Model , Modelyear
I do this and this work well :

-------------------------------------------------------------------------------

 

Protected Sub LoadModele(ByVal MakecodeID As String)

 

 

Dim connection As SqlConnection = CreateConnection()

 

 

Dim adapter As New SqlDataAdapter("SELECT * FROM MODEL WHERE Makecode=@Makecode ORDER By Model asc", connection)

 

adapter.SelectCommand.Parameters.AddWithValue(

"@Makecode", MakecodeID)

 

 

Dim dt As New DataTable()

 

adapter.Fill(dt)

RadComboBox2.DataTextField =

"Model"

 

RadComboBox2.DataValueField =

"ModelCode"

 

RadComboBox2.DataSource = dt

RadComboBox2.DataBind()

 

End Sub
--------------------------------------------------------------------------------------------
but I want to see in DATATEXTFIEL (model & modelyear) how to write them
I trie : RadComboBox2.DataTextField = "Model" & "Modelyear"
but they not work

Thanks for your help
(excuse for my englih)

 

Shinu
Top achievements
Rank 2
 answered on 30 Sep 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?