Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
148 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 but it just won't work. Maybe I am missing some settings so I attached here the sample project I made (please note that I excluded in the zip file the Telerik dlls since it adds to the size of attachment). 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
1 answer
108 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
602 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
103 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
105 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
251 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
373 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
86 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
181 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
476 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?