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

Hi,

We have a radgrid in our .aspx page with batchedit functionality, in which we have a column that contains checkboxes.
We will disable/enable the checkboxes based on the value from DB. 
We found an issue here, that is, when a checkbox is disabled based on DB value, and if a user comes and clicks beside the disabled checkbox (outside the checkbox; and inside the same cell in radgrid where this checkbox is present), the disabled checkbox is getting enabled.

Not sure why it is happening. Can someone please help?

Thanks in advance.

Doncho
Telerik team
 answered on 09 Jun 2020
4 answers
237 views
Hi,

I would like to know what happens or what are the restrictions if a trial period expires for UI for ASP.NET AJAX?

I am planning to download and try the free trial for my in-house project and demonstrate it with my management. However I do not have the whole 30 days to develop my business case.

What will happen to my project? Will the controls still work if the 30 day period lapsed?
Andy
Top achievements
Rank 1
 answered on 09 Jun 2020
5 answers
272 views
Hi.

I've been having some trouble getting the ASP.NET Ajax Controls to look as they should with certain CSS Stylesheets.  I've been mostly been "hacking" by trial/error the base CSS files for some sites and somewhat have gotten the controls to look similar to what they should although not achieving the exact look and feel they have with "standard" CSS stylesheets.  

I know this this because of the way CSS cascade their styles, but I would like to know if there is a way to either have the stylesheets for the controls "override" the site styles for the elements that the controls use, or if you could provide us with stylesheets for each skin to "reset" the telerik controls styles.

One example of this could be seen by using the Telerik ASP.NET Controls with  with the popular bootstrap css framework (http://twitter.github.com/bootstrap).  But other style sheets, buying a website template, for example, also results in the same behavior.

Is there a way around this?

Thanks.
Vessy
Telerik team
 answered on 09 Jun 2020
3 answers
312 views

I don't know if this is a bug or by design for some reason when you have the MaxSelectedItems attribute set and you have TagMode="Single" once you reach the max number of selections allowed you can no longer click in the control and have it dropdown so you can see what you have actually selected. You have to hit the displayed "x" in the control to clear the values in order to have the dropdown list of values appear again.

Does anyone know of a way around this? I know our clients are going to want to actually be able to see what they have selected when they are editing the form values.

Thanks!

Vessy
Telerik team
 answered on 08 Jun 2020
1 answer
208 views

Hi, I have a radHtmlChart and have set it to 100% height and width - but it does not seem to stretch.  It goes to a deafult value of about 800px

My code is below 

  <div id="Manufacturers" class="w3-container city" style="display:block; height:1800px; width:1800px; ">
     <telerik:RadHtmlChart runat="server" Transitions="true" Skin="Silk" Width="100%" Height="100%" ID="ChartManufacturers"   ChartTitle-Text="Car Manufacturers"            PlotArea-XAxis-DataLabelsField="Manufacturer" PlotArea-XAxis-LabelsAppearance-RotationAngle="50"   >
     <PlotArea>
         <Series>
             <telerik:ColumnSeries DataFieldY="Count" />
         </Series>
     </PlotArea>
     </telerik:RadHtmlChart>
  </div>

Any ideas as to why it does not strecth the full 100% - see attached pic of how it looks

Many thanks in advance

Vessy
Telerik team
 answered on 08 Jun 2020
6 answers
364 views

I am using radwindow to display a popup window, showing content, on the click of an asp button.

The problem is, the window loads, appears and disappears less than second later. It is too quick for me to even see what content comes up/how it looks.

Here is my code:

  <script type="text/javascript">
function openWin(string Url) {
var oWnd = radopen(Url, "RadWindow4");
oWnd.moveTo(50, 200);

</script>

Called from:

  <asp:Button ID="Button5" CssClass="btn" runat="server" Text="Labs" OnClientClick="openWin('Labs.aspx');" />

Any idea what is wrong?

Rumen
Telerik team
 answered on 08 Jun 2020
1 answer
220 views

We recently migrated our Portal solution from SP2016 to SP2019. After migration we noted that Postback did not work on pages where 
Telerik is in use e.g, RadAjax, RadCombobox, or RadGrid. We are using Telerik.Web.UI Version=2019.3.917.45 in web.config. 

Page loaded successfully with all the Telerik controls and data in place. But after any click event on any of Telerik controls, The postback did not occur and blank page shows up.

It's very weired because same version is working fine in SP2016 (postback works fine) but not in SP2019. What should we do?

Can you please give us some hint, what's wrong ?

This is what we are using in Web.config

<add tagPrefix="telerik" assembly="Telerik.Web.UI, Version=2019.3.917.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" />
<add name="Telerik.Web.UI.DialogHandler.aspx_*" path="Telerik.Web.UI.DialogHandler.axd" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2019.3.917.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
<add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2019.3.917.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
<add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />

 

Attila Antal
Telerik team
 answered on 08 Jun 2020
1 answer
100 views

hi team,

 

neen your urgent help for my code.

i need a java script funtion after entering text in the search context and press tab out, i want to fire onsearch event 
i have some logic in this which populate another textbox in the onsearch event in code behind
please help

Doncho
Telerik team
 answered on 05 Jun 2020
3 answers
5.4K+ views

Hello.

 

Any time I put a ScriptManager in my login page, I get this error message Uncaught SyntaxError: Unexpected token '<' and my login control does not get decorated.

What can it be?

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Login.aspx.vb" Inherits="SmartERP.Login" %>
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
 
<!DOCTYPE html>
 
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Smart-ERP</title>
    <script type="text/javascript">
            function GetWndSize() {
            
                var w = screen.width;
                var h = screen.height;
 
                document.getElementById('TxtOcultoWidth').value = w;
                document.getElementById('TxtOcultoHeight').value = h;
            }
    </script>
</head>
<body onload="GetWndSize()">
 
 
    <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
        <asp:TextBox runat="server" ClientIDMode="Static" ID="TxtOcultoWidth" EnableViewState="true" style="display:none"/>
        <asp:TextBox runat="server" ClientIDMode="Static" ID="TxtOcultoHeight" EnableViewState="true" style="display:none"/>
 
        <telerik:RadFormDecorator RenderMode="Lightweight" ID="RadFormDecorator1" runat="server" DecoratedControls="All"
                DecorationZoneID="DivDecorar" />
 
        <div id="DivDecorar" >
            <asp:Table runat="server" Width="100%" Height="100%">
                <asp:TableRow>
                    <asp:TableCell HorizontalAlign="Center">
                        <asp:Image ID="Image2" runat="server" ImageUrl="~/images/SE-logo.png" />
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell HorizontalAlign="Center">
                        <telerik:RadLabel ID="LblMensaje" Font-Size="Larger" ForeColor="#ff9900" Font-Bold="false" runat="server" Text="ola khe ase" Skin="Material" Visible="false"></telerik:RadLabel>
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow Width="100%" Height="100%">
                    <asp:TableCell Width="100%" Height="100%" HorizontalAlign="Center">
                        <asp:Login ID="Login1" runat="server" DisplayRememberMe="false" LoginButtonText="Ingresar" UserNameLabelText="Usuario:"></asp:Login>
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>
        </div>
    </form>
</body>
</html>
Vessy
Telerik team
 answered on 05 Jun 2020
3 answers
294 views

Hello again, I have a problem showing information in TooltipsAppearance tags, inside clientTemplate.

On line 18, I have tried the following ways:

Valor: #=dataItem.Porcentaje#

Valor: #:dataItem.Porcentaje#

Valor: #=series.Porcentaje#

Valor: #:series.Porcentaje#

 

And I just get to show "undefined"

Somebody could help me? Thanks

The HTML code:

 

01.<telerik:RadHtmlChart ID="rChartSolXTipo" runat="server" Transitions="true" Skin="Silk">
02.<Appearance>
03.<FillStyle BackgroundColor="White"></FillStyle>
04.</Appearance>
05.<ChartTitle Text="Solicitudes por tipo">
06.<Appearance Align="Center" Position="Top"></Appearance>
07.</ChartTitle>
08.<Legend>
09.<Appearance Position="Right" Visible="true">
10.</Appearance>
11.</Legend>
12.<PlotArea>
13.<Series>
14.<telerik:DonutSeries StartAngle="90"  HoleSize="65" DataFieldY="Porcentaje" NameField="TipoSol">
15.<LabelsAppearance Position="Center" DataFormatString="{0}%" Visible="True"></LabelsAppearance>
16.<TooltipsAppearance Color="White">
17.<ClientTemplate>                                                           
18.                 Valor: #=dataItem.Porcentaje#
19.</ClientTemplate>
20.</TooltipsAppearance>
21.</telerik:DonutSeries>
22.</Series>
23.</PlotArea>
24.</telerik:RadHtmlChart>
Vessy
Telerik team
 answered on 05 Jun 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?