Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 views
Hi everyone, I am trying to use the Lightweight render mode in UI for ASP.NET AJAX here with Custom Skin generated using the Telerik ThemeBuilder and include all the CSS to the page but it just won't work. I assigned the rendering mode, skin and use of embedded skins under the web.config for ease of changing it since assigning for each controls is hassle. I have already tried using RadFormDecorator using the settings I used in the web.config but found no luck.
Vessy
Telerik team
 answered on 28 Apr 2016
7 answers
536 views
I have recently tried updating my website to use the latest version of RadControls

When I loaded a form which had been created using the previous installed version I got the message

"The server tag 'telerik:RadAjaxLoadingPanel' is ambiguous. Please modify the associated registration that is causing ambiguity and pick a new tag prefix."

I therefore decided to uninstall the new version of the controls and added the old dlls to my bin folder instead

I still got the message even though I had uninstalled the controls.

What can I do to get rid of this message?
Marin Bratanov
Telerik team
 answered on 28 Apr 2016
1 answer
57 views

When I apply filter on RCB:

 

  ProductCode.Filter = DirectCast(1, RadComboBoxFilter)

 

arrow becomes button:

Nencho
Telerik team
 answered on 28 Apr 2016
1 answer
82 views

Dear SIR

I have 2 questions on RadGrid edit template:

1)  When I added a DatetimePicker control, the Time can't be selected from time popup button. it always shows 0:00.  I found it seems not compatible with AjaxToolkit(V15)? is there any solution?

2) I'd like to activate the control change events, e.g. when I change start date time and end date time, I will calculate the time span to display. or I will set control value when an combobox selectedvalue is changed. How do I activate editor's control events?  

 

Thanks very much.

Eyup
Telerik team
 answered on 28 Apr 2016
6 answers
197 views

Any tips or directions on how i can make a cascading combobox filter for a nested table?

Currently i have a grid that has 2 tables (a parent and a child).

Eyup
Telerik team
 answered on 28 Apr 2016
1 answer
325 views

I have a RadHtmlChart on my page using the Bootstrap theme, as shown in the attached screenshot. I currently have the figures for the columns displaying, i.e. 1 and 2 in the columns Jan and Feb. Is it possible to high the figures when a 0 is returned, rather than displaying them on the x axis. But obviously keeping the values if they are greater than 0.

Also you will notice in the screenshot that when I hover over a bar, there is a tooltip displaying the data value. Is it also possible to disable these tooltips?

Stamo Gochev
Telerik team
 answered on 28 Apr 2016
2 answers
68 views

How do Telerik controls programmatically register their ScriptReferences with the ScriptManager? The only way I can seem to get it to work is by explicitly referencing the script in the ScriptManager like so:

<asp:ScriptManager runat="server" ID="ScriptManager1">
    <Scripts>
<asp:ScriptReference Assembly="Atl.Core.WebBase" Name="Atl.Core.Resources.Scripts.ScriptTest.js" />
</Scripts>
</asp:ScriptManager>

Vessy
Telerik team
 answered on 28 Apr 2016
2 answers
148 views

How do Telerik controls programmatically register their scripts with the ScriptManager? I have created a custom control and the only way I can get the scripts to register is by explicitly referencing the script in the page's markup.

<asp:ScriptManager runat="server" ID="ScriptManager1">
<Scripts>
<asp:ScriptReference Assembly="Core.WebBase" Name="Core.Resources.Scripts.ScriptTest.js" />
</Scripts>
</asp:ScriptManager>

But how to do this programmatically? I cannot expect my users to know to do this for every page they use the control on. I've used the ClientScript to do this like so: Page.ClientScript.RegisterClientScriptResource(typeof(ScriptTest), "Atl.Core.Resources.Scripts.ScriptTest.js"); but this does not work with asynchronous postbacks. Whats the trick? :)

Vessy
Telerik team
 answered on 28 Apr 2016
4 answers
432 views
I am binding a DataTable dynamically in code behind to a RadHtmlChart and adding ColumnSeries Objects to the PlotArea.  The code I'm executing looks like this:

SqlDataAdapter da = new SqlDataAdapter(sqlCommand);
                    da.Fill(pivotTable);

                    for (int i = 2; i < pivotTable.Columns.Count; i++ )
                    {
                        ColumnSeries cs = new ColumnSeries();
                        cs.DataFieldY = pivotTable.Columns[i].ColumnName;
                        cs.Name = pivotTable.Columns[i].ColumnName;
                        cs.Gap = 1.5;
                        cs.Spacing = 0.4;
                        cs.Stacked = true;
                        cs.LabelsAppearance.Position = Telerik.Web.UI.HtmlChart.BarColumnLabelsPosition.Center;
                        cs.TooltipsAppearance.Color = System.Drawing.Color.White;

                        GraphAvgWT.PlotArea.Series.Add(cs);
                    }

                    GraphAvgWT.DataSource = pivotTable;
                    GraphAvgWT.DataBind();

When I run this in any browser there is an exception thrown that looks like this:

Unhandled exception at line 869, column 1 in http://localhost:49573/ScriptResource.axd?d=WLmYcdOKb_LAUnVSHQHR_hSJ5_ioMpFtRv-OH10MfF6U9fb1aA_Wxx1ydL_Dzi9j6TRzmqrWagcWnKdo5Eq1K82yemCb8VeXhI_pB8YUERcZ9lmHzOgkSZqZJb4-cBN_QxRKGZb-mZqVdCLfssHYSg2&t=5ebf97e0

0x800a03ee - JavaScript runtime error: Expected ')'

As a result the chart does not contain any data, but the Legend shows all of the columns/series that I added.  I've also compared this code to the GroupDataSource example (http://www.telerik.com/support/code-library/group-radhtmlchart-data-source) and I'm adding the series by a similar manner and setting the same properties on the ColumnSeries Object.   

If I comment-out the line that reads "GraphAvgWT.PlotArea.Series.Add(cs);" the error goes away, but of course, there is no data in the chart.

Can you please help me resolve this issue?  Thanks.
Stamo Gochev
Telerik team
 answered on 28 Apr 2016
2 answers
1.0K+ views

Hi All

Am recently starting to work with Kendo Grid (i'm new to MVC) and had the following requirement.

1) A tool bar that contains the Save and Cancel Button, as well as a filter for months

So i did the following

.ToolBar(toolbar =>
        {
            toolbar.Save();
            toolbar.Template(@<text>
                <div class="toolbar">
                    <label class="fismonth-lable" for="fiscalmonth">Show fiscal months:</label>
                        @(Html.Kendo().DropDownList()
                            .Name("fiscalmonth")
                            .OptionLabel("All")
                            .AutoBind(false)
                            .Events(e => e.Change("fiscalmonthChange"))
                            .HtmlAttributes(new { style = "width:150px;" })
                            .DataSource(ds =>
                            {
                                ds.Read("Toolbar_FiscalMonth", "Home");
                            })
                        )
                </div>
        </text>);
        })

But only the dropdown showed up. Am i missing something?

 

Secondly, i have a Boolean column that i wish to be displayed and edited as a checkbox. This is what i did

columns.Bound(p => p.IsSelectedForValidation).Filterable(false).Title("").ClientTemplate("<input type='checkbox' #= IsSelectedForValidation? checked='checked' : '' #  id='#=ID#'></input>").Width(30);

It does show as a checkbox, and i can check and uncheck it, but the "real" editing will still take place as a dropdown of "true/false". Am i missing something?

 

Thank you so much for your kind help.

 

Regards,

Su Ming

Su Ming
Top achievements
Rank 1
 answered on 28 Apr 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?