Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
162 views
Hi telerik team,

i have a problem setting the pie chart data via data binding correctly.

This is my class for binding:
internal class AssetsItemData
    {
        public double Value { get; set; }
        public string Color { get; set; }
        public bool IsExploded { get; set; }
        public string Text { get; set; }
    }

1. The pie chart explodes all parts. I tried bool and string representation for IsExploded.
How is the ExplodeField set correctly?

2. There's no TextField field.
Where can i set the text which is shown in the legend?

3. Tooltips and label data aren't rendered correctly, because i can not attach a culture to the chart.
How can i set the culture for a chart?

greetings,
Hubert
Hubert
Top achievements
Rank 1
 answered on 24 Aug 2012
1 answer
67 views
Hi,

I have a scheduler and i am adding dynamic Image button in every slot but i need to remove that image button from some slots in which i have data. so please tell me some solution.
 
I am adding Image button by this:

 protected void RadScheduler1_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
        {
            ImageButton btn = new ImageButton();
            btn.ImageUrl = "~/Images/Add.png";
            btn.CssClass = "FloatRight";
            e.TimeSlot.Control.Controls.AddAt(0, btn);
            btn.CommandName = "btn";
            btn.CommandArgument = e.TimeSlot.Start.Date.ToString();
            btn.Command += new CommandEventHandler(GoToUnitNumber);          
        }

Please check the attachment
Princy
Top achievements
Rank 2
 answered on 24 Aug 2012
1 answer
88 views
Hi,
I did found few articles for creating/overlapping chart.
However I am interested in code sample to get output as shown in attachment.

Many thanks in advance... :)
Evgenia
Telerik team
 answered on 24 Aug 2012
1 answer
66 views
Hi
I opened http://demos.telerik.com/aspnet-ajax/spell/examples/whatsnew/defaultcs.aspx and tried to add some french (german) words to spellcheck. Seems to me it always checks against English. I reproduce it in out application and confirmed on Telerik demo from demos.telerik.com.
Is something wrong with demos or control?
Thanks
Vladimir
Marin Bratanov
Telerik team
 answered on 24 Aug 2012
1 answer
53 views
I have an application that uses RadPanelBar (and RadPanelItem).  It seems to work ok on my development machine, but when I deploy to a QA environment, the panel loses its formatting.  I am deploying Telerik.Web.UI.dll, Telerik.Web.UI.Skins.dll, and Telerik.Web.UI.xml in my application's bin directory.  Is there anything else I need to be deploying?  I tried adding Telerik.Web.Design.dll, but that didn't fix it.

It seems to work ok when I use the Telerik.Web.Design.dll and Telerik.Web.UI.dll 2009.2.826.35, but we don't want to use such an old version.

Windows 2003 Server SP2 32 Bit
.NET Framework 3.5
Telerik RadControls for ASP.NET AJAX 2012.2.724.35.

Thanks!
Helen
Telerik team
 answered on 24 Aug 2012
1 answer
99 views
I've modelled a grid from your combobox demo here: http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/comboingrid/defaultvb.aspx?product=combobox and it's exhibiting the same unwanted tabbing behaviour.  That is, tabbing off the combox seems to go to the grid header instead of the next field.  How can I fix this?

<telerik:RadGrid ID="grdSalesLeads" GridLines="None" runat="server" AllowAutomaticDeletes="True"
        AllowAutomaticInserts="True" PageSize="30" AllowAutomaticUpdates="True" AllowPaging="True"
        AllowSorting="true" AllowFilteringByColumn="true"
        AutoGenerateColumns="False" DataSourceID="dsSalesLeads" CellSpacing="0"
        OnItemCommand="grdSalesLeads_ItemCommand" OnItemDataBound="OnItemDataBoundHandler">
        <PagerStyle Mode="NextPrevAndNumeric" />
<MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Bottom" DataKeyNames="SalesID"
        DataSourceID="dsSalesLeads" EditMode="InPlace">
<CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true"
                ShowExportToCsvButton="true" />
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <Columns>
        <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
           <ItemStyle CssClass="MyImageButton" />
        </telerik:GridEditCommandColumn>
        <telerik:GridBoundColumn DataField="SalesID" DataType="System.Decimal"
            FilterControlAltText="Filter SalesID column" HeaderText="SalesID"
            ReadOnly="True" SortExpression="SalesID" UniqueName="SalesID" Visible="false">
        </telerik:GridBoundColumn>
        <telerik:GridTemplateColumn UniqueName="ProspectName" HeaderText="ProspectName" SortExpression="ProspectName" >
            <ItemTemplate>
                <%#DataBinder.Eval(Container.DataItem, "ProspectName")%>
            </ItemTemplate>
            <EditItemTemplate>
                <telerik:RadComboBox runat="server" ID="cbProspects" EnableLoadOnDemand="True" DataTextField="ProspectName"
                    OnItemsRequested="cbProspects_ItemsRequested" DataValueField="ProspectName" AutoPostBack="true"
                    HighlightTemplatedItems="true" Height="140px" Width="220px" DropDownWidth="420px"
                    OnSelectedIndexChanged="OnSelectedIndexChangedHandler">
                    <HeaderTemplate>
                        <ul>
                            <li class="col1">Prospect Name</li>
                            <li class="col2">Contact Name</li>
                        </ul>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <ul>
                            <li class="col1">
                                <%# DataBinder.Eval(Container, "Text")%>
                            </li>
                            <li class="col2">
                                <%# DataBinder.Eval(Container, "Attributes['TargetContact']")%></li>
                        </ul>
                    </ItemTemplate>
                </telerik:RadComboBox>
            </EditItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridBoundColumn DataField="PhoneNumber"
            FilterControlAltText="Filter PhoneNumber column" HeaderText="Phone Number"
            SortExpression="PhoneNumber" UniqueName="PhoneNumber">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Website"
            FilterControlAltText="Filter Website column" HeaderText="Website"
            SortExpression="Website" UniqueName="Website">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="TargetContact"
            FilterControlAltText="Filter TargetContact column" HeaderText="Target Contact"
            SortExpression="TargetContact" UniqueName="TargetContact">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Title"
            FilterControlAltText="Filter Title column" HeaderText="Title"
            SortExpression="Title" UniqueName="Title">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Industry"
            FilterControlAltText="Filter Industry column" HeaderText="Industry"
            SortExpression="Industry" UniqueName="Industry">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="SourcedBy"
            FilterControlAltText="Filter SourcedBy column" HeaderText="Sourced By"
            SortExpression="SourcedBy" UniqueName="SourcedBy" Visible="false">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Address"
            FilterControlAltText="Filter Address column" HeaderText="Address"
            SortExpression="Address" UniqueName="Address">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="City"
            FilterControlAltText="Filter City column" HeaderText="City"
            SortExpression="City" UniqueName="City">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="PostalCode"
            FilterControlAltText="Filter PostalCode column" HeaderText="Postal Code"
            SortExpression="PostalCode" UniqueName="PostalCode">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="ListID"
            FilterControlAltText="Filter ListID column" HeaderText="List ID"
            SortExpression="ListID" UniqueName="ListID" Visible="false">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="DateAdded" DataType="System.DateTime"
            FilterControlAltText="Filter DateAdded column" HeaderText="Date Added"
            SortExpression="DateAdded" UniqueName="DateAdded" Visible="false">
        </telerik:GridBoundColumn>
        <telerik:GridButtonColumn ConfirmText="Delete this lead?" ConfirmDialogType="RadWindow"
           ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
                    UniqueName="DeleteColumn">
           <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" />
         </telerik:GridButtonColumn>
    </Columns>
 
 
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
</telerik:RadGrid>
Eyup
Telerik team
 answered on 24 Aug 2012
3 answers
826 views
Hi erveryone,

I wonder if there is any way to create a column in my grid, which is a link or a button or anything that is done by clicking a download of a file (.jpg, .doc, .txt ...) that is located in a folder of my solution. I emphasize that I have saved the file path in the database and I can load it in the column, if necessary.

Thanks
Eyup
Telerik team
 answered on 24 Aug 2012
9 answers
130 views

Hi,

I checked the demo : http://demos.telerik.com/aspnet-ajax/editor/examples/spellchecker/defaultcs.aspx
but when i tried to apply it on my Greek Dictionary it was not working.

I kept receiving an error, that Phonetic provider is not supported.

Is it necessary for inline spell check the phonetic provider to be supported?
Is there any other way to enable inline spell check?

Regards,
Eleni
Marin Bratanov
Telerik team
 answered on 24 Aug 2012
0 answers
49 views
Please cancel this.

Thanks
Tadas
Top achievements
Rank 1
 asked on 24 Aug 2012
1 answer
69 views
Hi,

  I have a radpanelbar in my aspx page, which contains four radpanelitem. On loading the page the first panel item only expanded if i click an another panelitem it will be expanded previously expanded will be closed. But i have to expand the last panelitem always.
If i click the second panelitem both 2nd panel item should be  expanded and the last panelitem will be in expanded state. How can i achieve this?.

Thanks,
Velkumar.

Kate
Telerik team
 answered on 24 Aug 2012
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?