Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
248 views
Hi All,

How to bind SQL data to RadHtmlChart-pie control? All example are just binding static data only, i want to know how to bind sql query result (Name and total) columns in RadHtmlChart-pie?
Marin Bratanov
Telerik team
 answered on 28 Aug 2013
1 answer
139 views

We have a telerik grid with 2 freezed columns . we have used below code to make the column freeze.

<Scrolling AllowScroll="True" SaveScrollPosition="true" UseStaticHeaders="true" FrozenColumnsCount="2" />

 

We have a hyperlink in a column of Grid. And Clicking on that link one popup opens. But when we scroll and click on that link then it shows 3 columns and that popup never opens. and also horizontal scrollbar gets disappear.  Please find the screen shots for the same in attached doc.

Please provide the solution asap.

Princy
Top achievements
Rank 2
 answered on 28 Aug 2013
3 answers
344 views
Where can I find sample database / structure to the example Grid - Attachment Column
Maria Ilieva
Telerik team
 answered on 28 Aug 2013
3 answers
292 views
Hi,

I have a pie chart where I am trying to assign a color based on the series data item being returned from a stored procedure. However, no matter what I seem to do it always appears to maintain a gradient in the pie segment as well as coloring it RED.

What am I doing wrong? I have also set SkinsOverrideStyles="false"
protected void rcOrderTotalStages_ItemDataBound(object sender, ChartItemDataBoundEventArgs e)
    {
        //bind the legend to the report type title name from SQL data source
        e.SeriesItem.Name = (string)DataBinder.Eval(e.DataItem, "report_type_title") + " (" + (Int32)DataBinder.Eval(e.DataItem, "report_type_count") + ")";
        e.ChartSeries.Appearance.ShowLabelConnectors = true;
        
        e.SeriesItem.ActiveRegion.Tooltip =  (string)DataBinder.Eval(e.DataItem, "report_type_desc") + " (" + (Int32)DataBinder.Eval(e.DataItem, "report_type_count") + ")";
   
        //for each of the chart series set the exploded property to true and bind a colour to the pie segment depending on status/report_type-title
        int ChartSeriesItemCount = e.ChartSeries.Items.Count;
        for (int i = 0; i < ChartSeriesItemCount; i++)
        {
            e.ChartSeries.Items[i].Appearance.Exploded = true;
            string status = "";
            status = (string)DataBinder.Eval(e.DataItem, "report_type_title");
          
            switch (status)
            {                   
                case "Delivered":
                    e.ChartSeries.Items[i].Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Solid;
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Green;                   
                    break;
                case "Bill & Hold":
                    e.ChartSeries.Items[i].Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Solid;
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Green;                   
                    break;
                case "Prep Complete":
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Green;
                    break;
                case "In Prep":
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Orange;
                    break;
                case "Sent To Schedule":
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Orange;
                    break;
                case "On Order/Ghost Slot":
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Orange;
                    break;
                case "On Order":
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Red;
                    break;
                case "Stock":
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Red;
                    break;
                case "Not On Stock":
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Red;
                    break;
                case "Cancelled":
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Blue;
                    break;
                case "Status Unknown":
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Gray;
                    break;
                default:
                    e.ChartSeries.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Yellow;
                    break;
 
            }
             
        }
    }
Saroop
Top achievements
Rank 1
 answered on 28 Aug 2013
1 answer
90 views

I have a very strange problem with a slider, here the situation :
I have a radgrid with paging enabled in slider mode, but when I load the page the drag handle is not at the good position, it's at the left of the decrease handle of the slider (see the pictures attached). The strange thing is that it does not happen in every screens. The very strange thing is that only happen the first time the screen is loaded, if I move the drag handle and change the page of the grid and then if I go back to the first page the position of the drag handle is correct, and if I leave the screen and come back the drag handle will be in the correct position. But if I clear the cache and come back the position is incorrect.
When I look upon the HTML with the IE web developper tool  I see that the "left" property of the drag handle element is "-14px", and if I look when the position is correct then the property is "-4px". So the question is where this -10px come from? Is it javascript? Is it CSS? Is it something in the screen that mess with the drag handle?

This problem occurs after we changed our version of Telerik, we were in 2008.3.1314.20 and we moved to 2013.1.417.35 Telerik version for ASP.NET AJAX.

Slav
Telerik team
 answered on 28 Aug 2013
1 answer
188 views
Hi!

I am using telerik RadComboBox.I have records more then 40,000.I also binded data.Everything is working fine.but problem is it takes too much time.Even brower show "Kill Page" or "Wait" message.I'm also used its properties MarkFirstMatch="true" and Filter="Contains".I also tried EnableAutomaticLoadOnDemand and EnableLoadOnDemand of its properties but they only show "Loading.........." nothing else.One more thing i have to add, this combobox in RadScheduler AdvancedForm Control.

Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 28 Aug 2013
3 answers
182 views
Hi,

I am looking for a way to Print the Org Chart.

 What are the options to - 
- Print entire Org Chart
- Print Org Chart from a Node Down
        

Also is there a way to select few nodes in the Org Chart and Print only those ?


Thanks,
Guru
       
Peter Filipov
Telerik team
 answered on 28 Aug 2013
1 answer
107 views
Hi. I think i may have gone over my head a bit.  I created 10 different charts with your HTML 5 chart telerik controls.  I had created dummy data and basic SQL Stored Procedures without any parameters which needed to be provided into the SP.

Well, now since i am ready, i have to amend the stored procedures so that they will allow date parameters to then filter between the dates passed into the SP.

So here is what i have for all of my charts (or most).
<asp:SqlDataSource ID="ds1" runat="server" ConnectionString="<%$ ConnectionStrings:sqlConnRep %>"
SelectCommandType="StoredProcedure" SelectCommand="MySP_Name" />
This works well, though I now need to pass in 2 parameters into this stored procedure which are retrieved from the 2 datepicker fields.

I have tried searching for this on your forums and on google, though dont seem to have found what i need. Or what i found just seemed really stupid and complicated.  Therefore, would like to pass it by you before i go ahead and break what i have done :(

if you would be able to provide an example, or a link, it would be greatly appreciated.

Thanks.

Kyle
Marin Bratanov
Telerik team
 answered on 28 Aug 2013
1 answer
46 views
Hi,

   im using Radschedular.

   i want to create a New appointment and want to store it in databse.

  and again from database i want to show appointment.

  that means i want to ADD,EDIT,DELETE appointment from Databse to Radschedular.



Regards,

P.Mugil
Plamen
Telerik team
 answered on 28 Aug 2013
1 answer
180 views

i need to enhance the application which developed by other colleagues, the source code located at share folder such as \\10.1.1.1\App1
and i had map the share folder as network drive such as T: drive

my colleagues can open the apps by VS and work properly, but when i open it by VS2010, it cannot display the RadControl in Toolbox, display unrecognized tag prefix error message and cannot reference telerik function in code behind.

i had tried many methods that found on forum and website but doesn't work. e.g.

  • Using Caspol.exe to grant .NET applications rights to a remote ...
    Caspol.exe –m –ag 1.2 –url file://\\10.1.1.13/App1/* FullTrust
    Caspol.exe –m –ag 1.2 –url file://\\T:/* FullTrust
  • Add reference to web.config
    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
  • Remove dll from bin folder



Shinu
Top achievements
Rank 2
 answered on 28 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?