Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
131 views
Is there a way to change the arrow shape for a RadTreeView node?
Doncho
Telerik team
 answered on 05 Mar 2021
14 answers
183 views

Hi,

Does editor number list control has arabic language support?

I attached a picture about which control i am asking about.

Thanks and have a nice forums.

Rumen
Telerik team
 answered on 04 Mar 2021
11 answers
1.1K+ views

Greetings,

I am receiving the error "Invalid length for a Base-64 char array or string" with an application I am trying to deploy to Windows Server 2012 running IIS 8.  All is well with the application in development and on servers running IIS 7.

The IE debugger screen shot attached indicates that it is coming from a Telerik WebResource.  The page makes use of the following Rad markup and the button resides inside a standard UpdatePanel (nothing fancy).  We are not using RadCompression, and the error occurs regardless of the OutputCompression setting.

I was hoping you might see something that could point me in the right direction?

    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableCdn="false" CdnSettings-TelerikCdn="Disabled"

        OutputCompression="Disabled" EnablePartialRendering="true" EnableScriptCombine="true" EnableEmbeddedjQuery="false"

        ScriptMode="Release" AjaxFrameworkMode="Enabled">

        <CompositeScript ScriptMode="Release" />

    </telerik:RadScriptManager>

    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" EnableStyleSheetCombine="true" CdnSettings-TelerikCdn="Disabled" OutputCompression="Disabled"></telerik:RadStyleSheetManager>

                <asp:UpdatePanel ID="UpdatePanel1" runat="server">

                    <ContentTemplate>

                        <asp:Panel ID="pnlCitySelection" runat="server" Visible="true">

                            <div id='city-selection' style="width: 300px; height: 280px; background-color: White;">

                                <h3 style="font-size: 2em; padding: 20px 0px 0px 30px">

                                    Where can we serve you?</h3>

                                <div id="padding-left" style="padding-left: 10px">

                                    <br />

                                    <asp:DropDownList ID="ddlState" runat="server" class="book-form-input" AutoPostBack="true">

                                    </asp:DropDownList>

                                    <br />

                                    <br />

                                    <asp:DropDownList ID="ddlCity" runat="server" class="book-form-input">

                                    </asp:DropDownList>

                                    <asp:Button Width="90" Font-Size="1.2em" Font-Bold="true" CssClass="small-form-table-button-index"

                                        BackColor="Black" ForeColor="White" ID="btnSelectCity" runat="server" Text="SELECT CITY"

                                        OnClick="btnSelectCity_Click" CausesValidation="false" AutoPostBack="true" /><br />

                                    <br />

                                    <table border="0" style="color: Black; font-size: 10px; font-weight: normal; font-family: arial,sans-serif;

                                        float: left;">

                                        <tr>

                                            <td align="center">

                                                Need transportation outside the U.S.?&nbsp;&nbsp;&nbsp;

                                            </td>

                                            <td align="center">

                                                <asp:LinkButton ID="btnOutsideUS" Font-Underline="true" runat="server">Click Here</asp:LinkButton>

                                                  <br />

                                            </td>

                                        </tr>

                                    </table>

                                </div>

                            </div>

                        </asp:Panel>

                    </ContentTemplate>

                </asp:UpdatePanel>

Godfrey
Top achievements
Rank 1
 answered on 04 Mar 2021
3 answers
116 views

It seems to be a bit 'picky' from the design perspective but here we go.

It's about the spinning icon that show up in the far right when the control is waiting for DB. I would like to adjust its position by moving it a few pixels to the left. Is this possible? There is a CSS attribute for this? If yes, which one?

Thanks!

Doncho
Telerik team
 answered on 04 Mar 2021
3 answers
194 views
When a node in a RadTreeView is expanded, its child nodes show correctly, but its bellow nodes which same level show incorrect position. (See screenshot attached).

What can I do about this or is this a bug? (It can run fine in IE 11, but not with other browser like Chrome)

Thank you,
Doncho
Telerik team
 answered on 04 Mar 2021
1 answer
134 views

Hi,

I'm having this issue when I open Table Wizard-> More Table Styling

I tried to modify the css in the skin that I'm using but I have no success.

 

Rumen
Telerik team
 answered on 04 Mar 2021
7 answers
1.0K+ views

Hello!

I am trying to run the demo found here but with no success (not working). I made the minimum of changes to get data from my own DB but I keep receiveing the same error saying that "The server method 'GetiPMP' failed". I already double checked path, code and I even referred to the solution showed here but no success.

My code...

 

PMP_WS.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="iPMP_WS.aspx.cs" Inherits="custom_scripts_iPMP_iPMP_WS" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
    <script type="text/javascript">
        function requesting(sender, eventArgs) {
            var context = eventArgs.get_context();
            //Data passed to the service.
            context["ClientData"] = "ClientData_Passed_To_The_Service";
        }
    </script>
</head>
 
<body>

    <form id="form1" runat="server" >
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />

        <telerik:RadAutoCompleteBox RenderMode="Lightweight" runat="server" ID="RadAutoCompleteBox1" ClientID="RadAutoCompleteBox1" 
            autopostback="true" 
            InputType="Token" Width="100%" Visible="true"
            AllowCustomEntry = "false"
            DropDownWidth="300px"
            onclientrequesting="requesting" >

            <WebServiceSettings Path="iPMP_WS.asmx" Method="GetiPMP" />
        </telerik:RadAutoCompleteBox>

    </form>

</body>
</html>

 

iPMP_WS.asmx

<%@ WebService Language="C#" CodeBehind="~/App_Code/iPMP_WS.cs" Class="iPMP_WS" %>

 

iPMP_WS.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Telerik.Web.UI;
using System.Web.Services;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class iPMP_WS : System.Web.Services.WebService
{

    public iPMP_WS()
    {
    }

    [WebMethod]
    public static AutoCompleteBoxData GetiPMP(RadAutoCompleteContext context)
    {
        string clientData = context["ClientData"].ToString();

        string sql = "SELECT top 10 desc as 'edesc',codes as 'ecode' FROM INVENTORY";
        SqlDataAdapter adapter = new SqlDataAdapter(sql,ConfigurationManager.ConnectionStrings["MyCon"].ConnectionString);
        DataTable data = new DataTable();
        adapter.Fill(data);
        List<AutoCompleteBoxItemData> result = new List<AutoCompleteBoxItemData>();
        AutoCompleteBoxData dropDownData = new AutoCompleteBoxData();

        result = new List<AutoCompleteBoxItemData>();

        for (int i = 0; i < data.Rows.Count; i++)
        {
            AutoCompleteBoxItemData itemData = new AutoCompleteBoxItemData();
            itemData.Text = data.Rows[i]["edesc"].ToString();
            itemData.Value = data.Rows[i]["ecode"].ToString();
            result.Add(itemData);
        }

        dropDownData.Items = result.ToArray();
        return dropDownData;
    }
}

Any idea?

Yan Moura
Top achievements
Rank 1
Veteran
Iron
 answered on 03 Mar 2021
4 answers
416 views

I would prefer to use an SVG for the ImageUrl property of the RadToolBarButton. However, I cannot figure out how to get the RadToolBar to resize the image to match the button/text size.

When I export my SVG to 18px, it is deformed.  But at a larger size, it exports fine.  So, essentially I want to use that larger size, then resize it in the browser (RadToolBarButton).

How do I get the RadToolBar to resize the Image set in the ImageUrl property?

Peter Milchev
Telerik team
 answered on 03 Mar 2021
10 answers
2.2K+ views
When I attempted to execute the url http://XXX.XXX/Telerik.Web.UI.WebResource.axd?type=rau 
directly I got the message:
{ "message" : "RadAsyncUpload handler is registered succesfully, however, it may not be accessed directly." }

This message need to stopped on direct access. Pls help
Vessy
Telerik team
 answered on 02 Mar 2021
1 answer
374 views

Hello,

The company I work for is using Telerik UI 2012.1.411.40

I have been tasked with building a new page on one of our products, but I cannot seem to find documentation in our downloads.

I understand the version is old, I assume that upgrading from 2012 to 2021 would cause a number of issues to come up.

I was wondering if support could provide the documentation for this older version or the closest I could follow to it?

I would also like the opportunity to speak with someone, if possible, about possibly using a different version within the application for a specific section.

I look forward to hearing from anyone really.

 

Doncho
Telerik team
 answered on 02 Mar 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?