Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
114 views

I'm trying to bind to the client series clicked  event to implement a drill-down feature. The event, however, is not fired when the chart is rendered as a Canvas but works fine in SVG mode. I even tried to bind the event handler to the underlying Kendo widget but still the event is not fired in canvas mode. I want to use canvas mode so as to keep the page size small.

 Following is the structure of the chart that I used. Neither the OnClientSeriesClicked nor the ClientEvents --> OnSeriesClick work in canvas mode.

<telerik:RadHtmlChart ID="​chart" runat="server" EnableEmbeddedScripts="false"
                                    RenderMode="Lightweight" Height="350" Width="840" RenderAs="Canvas" Transitions="false" 
                                    OnClientSeriesClicked="seriesClick">
                                    <PlotArea>

                                        <YAxis Type="Numeric">
                                            <TitleAppearance Text="Y" Visible="true" />
                                            <MinorGridLines Visible="false" />
                                            <MajorGridLines Visible="true" />
                                        </YAxis>
                                        <XAxis DataLabelsField="Category">
                                            <LabelsAppearance RotationAngle="45" Visible="false">
                                            </LabelsAppearance>
                                            <MinorGridLines Visible="false" />
                                            <MajorGridLines Visible="false" />
                                        </XAxis>
                                        <Series>
                                            <telerik:​ColumnSeries DataFieldY="Value" ColorField="Color">
                                                <LabelsAppearance Visible="false" RotationAngle="-90"></LabelsAppearance>   
                                                <TooltipsAppearance Visible="false" />
                                            </telerik:LineSeries>                                                                                                                                    
                                        </Series>
                                    </PlotArea>
                                    <Legend>
                                        <Appearance Position="Top" Visible="false" />
                                    </Legend>
                                </telerik:RadHtmlChart>

Marin Bratanov
Telerik team
 answered on 03 Sep 2015
8 answers
397 views
When I try to run the demo website on my machine I get the following error:

Database 'C:\PROGRAM FILES\TELERIK\RADCONTROLS FOR ASP.NET AJAX Q1 2011\LIVE DEMOS\APP_DATA\NORTHWIND.MDF' cannot be upgraded because it is read-only or has read-only files. Make the database or files writeable, and rerun recovery.
An attempt to attach an auto-named database for file C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q1 2011\Live Demos\App_Data\Northwind.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.


I have uninstalled and restalled the 2011 ajax version and am still having the same problem. I did install mysql on my machine today and uninstalled sql server 2008, then removed 2005 and reinstalled sql server 2008. Am running vs studio 2010 professional trial.

Please assist.


Thanks,


Steve Holdorf
Coen
Top achievements
Rank 2
 answered on 03 Sep 2015
0 answers
102 views

Hi,

I'm developing a web with visual studio in c#.

 I'm want display a Grid and show some data in a chart, but when a user filter the Grid, the Chart refresh its data.

 In my case, I attach an image, I want display de Summary values in chart, but when a user filter the grid, the chart must be updated also.

 How can I do It?

 Another question, in Firefox I display de combos very uglies, with IE I see the combos good. Why?

 

Thanks

Manolo
Top achievements
Rank 1
 asked on 03 Sep 2015
3 answers
503 views

Hi I am trying to add add a RadComboxBox to my RadGrid filtertemplate in a bound column.  For some reason in the code behind I can not access the RadComboBox.  It keeps coming back null.  I'm not sure what I'm doing wrong.  Here is my code.

<telerik:GridBoundColumn SortExpression="Product_Name" HeaderText="Product Name" DataField="Product_Name" UniqueName="ProductName">
                             <FilterTemplate>                                 
                                <telerik:RadComboBox runat="server" ID="cmbProductName" CheckBoxes="true" ClientIDMode="Static" 
                                     AppendDataBoundItems="true" DataValueField="Product_Name" EnableCheckAllItemsCheckBox="true">                                
                                </telerik:RadComboBox>
                            </FilterTemplate>
                        </telerik:GridBoundColumn>

 

 foreach (var cat in CatProdList)
            {               
                var itemCategory = new RadComboBoxItem(cat.Category.Name);

                var option = cat.ProdAttributesTuple.GroupBy(a => a.Item2.Attribute.Value).ToList();
                foreach (var attr in option)
                {
                    if (e.Item is GridDataItem)
                    { 
                        RadComboBox cmbProductName = (RadComboBox)e.Item.FindControl("cmbProductName");                      

                        var item = new RadComboBoxItem(attr.Key);

                        cmbProductName.Items.Add(item);                    
                    
                    }
                        
                }
            }     

Eyup
Telerik team
 answered on 03 Sep 2015
1 answer
56 views

I create web pages for an IT department to monitor many servers.  I use Telerik Rad Controls for ASP.NET.  My problem is that the pages need to read a lot of data and are not quick to respond.  For example, on the Page_Load I query 50 servers (often using asynchronous tasks) to display the information in a RadGrid.  This takes a while and feels unresponsive.  I think I want to be able to display a page immediately and then fill it in as data is returned.  In addition when I make a change to a single server I sometimes query all the servers again to update the RadGrid and display the page again.  Specifically this example could be a question of how to update only parts of a RadGrid (which a recent post said can't be done), but this is just an example.  I may be going about this all wrong.      

What I really want to know is if there are Telerik programs besides Rad Controls for ASP.NET or things within Rad Controls that I should be using/learning to make my pages more responsive (I can't even seem to display an hourglass icon).  I have used UpdatePanels with some effect.  I have also looked into SignalR.  I see many Telerik examples that seem to do what I want, but then end up not working, which could just be my fault.  What products should I be looking into?  I need to use Windows IIS web servers, but not necessarily ASP.NET, but I would like to keep using that if possible.

Thanks,

Scott

Konstantin Dikov
Telerik team
 answered on 03 Sep 2015
2 answers
365 views
Hello,

Requirement : User should be allowed to resize the column width manually(similar to how Excel columns can be adjusted by dragging the line between the columns to the left or right)

What I have implemented : I am using the "Resizing" property on the client side(attached Grid.ascx) and is working as expected.

Issue : After using "Resizing" I am able to resize the column. But, once I reduce the size of the width, the cell contents doesn't get hidden as per the width size. Please see the attached screenshot for better clarity.

As per my analysis, in the code behind ItemDataBound event, I am assigning css class dynamically which is causing this issue. Please see the Grid.ascx.vb in the attached rar file.

Please let me know if you need anything else.

 

Thanks,

Sam
Angel Petrov
Telerik team
 answered on 03 Sep 2015
2 answers
139 views

Hello,  

I have RadComboBox inside A RadGrid Batch. I need to get DataKeyValue of the row on SelectedIndexChanged of the RadComboBox.

I tried to use : RadComboBox.Parent to get the GridDataItem also I tried RadComboBox.NamingContainer. Both methods didn't work.

Thanks for helping.

Regards,

Abitar

Abitar
Top achievements
Rank 1
 answered on 03 Sep 2015
3 answers
161 views
Hi everyone
Could someone please be kind and provide a example of the RibbonBar in a MVC application?
And i know that i can only use client-side programming with it.

Thanks
Sebastian
Telerik team
 answered on 03 Sep 2015
4 answers
952 views

I have 2 situations..............

Number 1 : 

        <div id="container">      
        <input type="text" 
               class="k-textbox" 
               class="k-input k-textbox"
               pattern="\d{10}"
               data-pattern-msg="enter a value according to the pattern"
               />
      <input type="button" value="validate" id="validateButton"/>
    </div>                  

    <script type="text/javascript">
      $("#container").kendoValidator();

      $("#validateButton").click(function () {
        $("#container").data("kendoValidator").validate();
      });
    </script> 

       This is working correctly. Please see​ above input type is text .

 

Number 2 : 

        <div id="container">      
        <input type="number" 
               class="k-textbox" 
               class="k-input k-textbox"
               pattern="\d{10}"
               data-pattern-msg="enter a value according to the pattern"
               />
      <input type="button" value="validate" id="validateButton"/>
    </div>                  

    <script type="text/javascript">
      $("#container").kendoValidator();

      $("#validateButton").click(function () {
        $("#container").data("kendoValidator").validate();
      });
    </script>​

 This is not working . Please see above input type is number.

 

So is  "data-pattern-msg" is not supported for the input type "number" ???

 

 

Rosen
Telerik team
 answered on 03 Sep 2015
3 answers
163 views
Hi

How can I add an item requested event to combobox from client click of a button?
Priyanka
Top achievements
Rank 1
 answered on 03 Sep 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?