Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
218 views

Hi , 

      I am trying to replicate  the example in following demo:

    https://demos.telerik.com/aspnet-mvc/grid/filter-multi-checkboxes

    I need to include search box in checkbox filtering ,like one already done on Product Name column in the demo above. However i am unable to add .Search(true) to Filterable method in kendo grid . I am getting error as search is not a member of commandbuilder.

 Can you please suggest me what am i missing. As it is very urgent. Help would be appreciated. Following is my complete view.

@modeltype List(Of Display_Data.ServiceReference1.Empolyee)
@imports Display_Data.Empolyee
@imports Kendo.Mvc.UI

<link href="~/Content/kendo/2016.1.412/kendo.default.min.css" rel="stylesheet" />
<link href="~/Content/kendo/2016.1.412/kendo.common.min.css" rel="stylesheet" />

<script src="//kendo.cdn.telerik.com/2016.2.504/js/jquery.min.js"></script>
<script src="//kendo.cdn.telerik.com/2016.2.504/js/kendo.all.min.js"></script>
@code
    Html.Kendo().Grid(Of Display_Data.Empolyee)() _
        .Name("grid") _
         .Pageable() _
         .Editable(Function(m) m.Mode(GridEditMode.PopUp)) _
 .Filterable() _
 .Sortable() _
     .Columns(Sub(c)
                      c.Bound(Function(p) p.Name)
                      c.Bound(Function(p) p.Age)
                      c.Bound(Function(p) p.City).Filterable(Function(f) f.Multi(True).Search(True))
                      c.Bound(Function(p) p.Expertise)
                    
              End Sub) _
     .DataSource(Sub(d)
                         d.Ajax() _
                         .Create(Function(read) read.Action("UpdateData", "Student")) _
                     .Update(Function(read) read.Action("UpdateData", "Student")) _
                     .Read(Function(read) read.Action("Display", "Student")).Model(Sub(m)
                                                                                           m.Id(Function(i) i.Expertise)
                                                                                   End Sub).ServerOperation(False)

                 End Sub) _
.Render()
End code



 

Rohit
Top achievements
Rank 1
 answered on 21 May 2016
3 answers
65 views

I have a support ticket going for this but having 24 hours go by for every response is pretty slow.  I upgraded to the latest with the Telerik Control Panel and now no tool box items.  I have followed all instructions for removing tbd files and even registry entries, but no luck.  I even uninstalled and went back a version and still can't get tool box items.

 

Any one else had this problem?  Any real fixes besides the usual instructions, which are not working for me?

thanks

Dyanko
Telerik team
 answered on 20 May 2016
18 answers
816 views
Telerik Support,

I have a RadGrid in Edit mode. The RadGrid has several GridTemplateColumn columns containing both RadComboBox and RadTextBox controls.

On the OnClientSelectedIndexChanged event of the RadComboBox column, I need to interact with the RadTextBox and RadComboBox controls in the other GridTemplateColumn(s) on the current RadGrid row. To accomplish this I will need the IndexID of the RadGrid row containing the RadComboBox control that the user changed the value of. However, I cannot find a good way to discover the row's IndexID inside the OnClicentSelectedIndexChanged event.

Can you suggest a possible solution for this challenge?

Please note that my business requirements state the solution must be entirely client-side (no AJAX postbacks).

Thanks in advance for your help,
Wes
Maria Ilieva
Telerik team
 answered on 20 May 2016
3 answers
97 views

 

Hi

Telerik Team,

 

Please find attached screen shot,
As per given screen shot you can see the value of  XAxis witch shows the Name[ID] format, Both Name and Id are used to perform drill operation, I have set this values using `DataLabelsField`

Now what I want to do is,I just want to show Name not ID,Is there any way to show only Label not Id i.e  Is there any provision to set value like DataValueField to set Value(Id) and DataLabelField to set Label(Name).
(DataValueField is just imaginary name)

So that this Id field will be used to perform drill operation. but User can not able to see it.


Thanks

Rahul
Top achievements
Rank 1
 answered on 20 May 2016
1 answer
84 views

Hi, I'm trying to fill a htmlChart.

It's a ColumnSeries stacked = true;

 

I wanna set a custom tooltip with many information (add some attribute to seriesItem ?).

 

Could you help me ?

Thanks

Marin Bratanov
Telerik team
 answered on 20 May 2016
1 answer
112 views

Hi. I can't figure this one out.

I recently upgraded to Ajax UI 2016.2.504.45 specifically so I could make use of the new Multiple Pointers feature. I updated my controls and code to add multiple pointers dynamically, rather than just setting the value of the single pointer dynamically. And this works great. 

My issue is that after postback the gauge loads and my pointers have been removed. However the Scale ranges that I am adding dynamically are retained and correct. 

I run a number of intense calculations on a button click which populates the RadLinearGauge with pointers, I don't want to have to run this on every postback just to ensure that the pointers are present. The only thing I can think is that this is a bug in the RadLinearGauge.

Reproducible Example: 

HTML

01.<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>
02. 
03.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
04. 
06.<head runat="server">
07.    <title></title>
08.    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
09.</head>
10.<body>
11.    <form id="form1" runat="server">
12.        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
13.            <Scripts>
14.                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
15.                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
16.                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
17.            </Scripts>
18.        </telerik:RadScriptManager>
19.        <script type="text/javascript">
20.            //Put your JavaScript code here.
21.        </script>
22.        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
23.        </telerik:RadAjaxManager>
24.        <div>
25.            <telerik:RadLinearGauge ID="SealingValue" runat="server" Width="410px">
26.                <Scale Vertical="false" MajorUnit="50" />
27.            </telerik:RadLinearGauge>
28.        </div>
29.        <div>
30.            <asp:Button ID="btnPostBack" runat="server" OnClick="btnPostBack_Click" Text="Postback" />
31.        </div>
32.    </form>
33.</body>
34.</html>

C#
01.using System;
02.using System.Web;
03.using System.Web.UI;
04.using System.Web.UI.WebControls;
05.using System.Data;
06.using System.Configuration;
07.using System.Web.Security;
08.using System.Web.UI.WebControls.WebParts;
09.using System.Web.UI.HtmlControls;
10.using Telerik.Web.UI;
11. 
12.public partial class Default : System.Web.UI.Page
13.{
14.    protected void Page_Load(object sender, EventArgs e)
15.    {
16.        if (!Page.IsPostBack)
17.        {
18.            GaugeRange range1 = new GaugeRange();
19.            range1.From = 0;
20.            range1.To = 25;
21.            range1.Color = System.Drawing.Color.FromName("Green");
22. 
23.            GaugeRange range2 = new GaugeRange();
24.            range2.From = 25;
25.            range2.To = 75;
26.            range2.Color = System.Drawing.Color.FromName("Blue");
27. 
28.            GaugeRange range3 = new GaugeRange();
29.            range3.From = 75;
30.            range3.To = 100;
31.            range3.Color = System.Drawing.Color.FromName("Yellow");
32. 
33.            SealingValue.Scale.Ranges.Add(range1);
34.            SealingValue.Scale.Ranges.Add(range2);
35.            SealingValue.Scale.Ranges.Add(range3);
36. 
37.            LinearPointer pointer1 = new LinearPointer();
38. 
39.            pointer1.Value = 30;
40.            pointer1.Shape = Telerik.Web.UI.Gauge.PointerShape.Arrow;
41.            pointer1.Size = 13;
42.            pointer1.Color = System.Drawing.Color.FromName("White");
43. 
44.            LinearPointer pointer2 = new LinearPointer();
45. 
46.            pointer2.Value = 90;
47.            pointer2.Shape = Telerik.Web.UI.Gauge.PointerShape.Arrow;
48.            pointer2.Size = 13;
49.            pointer2.Color = System.Drawing.Color.FromName("Red");
50. 
51.            SealingValue.Pointers.Add(pointer1);
52.            SealingValue.Pointers.Add(pointer2);
53.        }
54.    }
55. 
56.    protected void btnPostBack_Click(object sender, EventArgs e)
57.    {
58.         
59.    }
60.}

Marin Bratanov
Telerik team
 answered on 20 May 2016
4 answers
256 views

Good Morning,

I have a problem with the page rendering when i use Default Theme in Internet Explorer 11.

When i choose other theme the page works correctly.

Please Help Me

 

Telerik Dll Version 2016.2.504.45

Vessy
Telerik team
 answered on 20 May 2016
1 answer
144 views

Hello,

I have a few RadHtmlChart's rendered on my page. Each has a dynamic PlotBand setting to highlight the target on each chart. I can control the alpha setting on these PlotBands, but I can't seem to do so on the actual series itself...

I want the area representing the data to have a 0 alpha setting as to not show what's behind it.

Any thoughts?

 

Thanks!

Marin Bratanov
Telerik team
 answered on 20 May 2016
6 answers
561 views

Is there any way top have the new print button create the PDF in landscape?

Thanks

Viktor Tachev
Telerik team
 answered on 20 May 2016
1 answer
88 views

Hi Team,

We had created a dynamic radgrid with auto-generated columns and binding it to a dynamic datatable at code behind. We also have horizontal scrollbar for moving the column. Radgrid behave normally when we have less number of column but when we have more than 50 columns it start showing lagging in UI and horizontal scrollbar move very slowly as well as whole grid rendering is slow on page load.

could you please help identifying the cause for this? please do let me know if more information is needed.

 

Viktor Tachev
Telerik team
 answered on 20 May 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?