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.?
</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>
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!


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.

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?
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?

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.

This seems to be happening in more recent versions. With that said, here we go...
So let's say I have a RadComboBox(refered to a RCB from here forward) set up in the following manner:
<telerik:RadComboBox ID="cbAcctType" runat="server" DataValueField="ACCT_TYPE_ID" DataTextField="acct_code" RenderMode="Classic" AutoPostBack="True" CausesValidation="False" Width="100%" DropDownWidth="400px" HighlightTemplatedItems="True" InputCssClass="required_cb" EnableLoadOnDemand="true" AppendDataBoundItems="True"> <ItemTemplate> <asp:Table runat="server" CellPadding="0" CellSpacing="0" Width="100%" GridLines="None"> <asp:TableRow> <asp:TableCell Width="30%"> <%# DataBinder.Eval(Container.DataItem, "acct_code") %> </asp:TableCell> <asp:TableCell Width="70%"> <%# DataBinder.Eval(Container.DataItem, "acct_description") %> </asp:TableCell> </asp:TableRow> </asp:Table> </ItemTemplate></telerik:RadComboBox>
and it's databound via code in the code behind. All that works fine. Now when my form loads I obviously set RCB value. I have a function to do this:
Public Shared Function SetRadCombByVal(ByVal ddl As Telerik.Web.UI.RadComboBox, ByVal val As String) As Boolean If val = "" Or val.Trim.Length <= 0 Then Return False End If If ddl.Items.Count = 0 Then Return False End If ddl.SelectedIndex = -1 Try ddl.FindItemByValue(val.Trim).Selected = True Catch ex As Exception Return False End Try If ddl.SelectedIndex < 0 Then Return False End If Return TrueEnd Function
this also works fine with one caveat. Lets say the RCB is data bound with the following values A, B, C, D. When you bind the RCB it defaults to the 1st in the list being selected. So the Text area of the RCB contains A. Now when I set the RCB via my function to let's say C...the row becomes the selected row, but the Text area of the RCB continues to contain A making it look like the operation of setting the RCB to the proper value didn't work. Subsequently, I've had to add the following code:
ddl.FindItemByValue(val.Trim).Selected = Trueddl.Text = ddl.SelectedItem.Text.ToString 'This ones the new line.
Seems a bit ridiculous and redundant to have to add that. If need be, I can setup a whole project to showcase my findings.
http://demos.telerik.com/aspnet-ajax/upload/examples/async/imageuploader/defaultcs.aspx?product=asyncupload
It works great on my local, but when deployed in IIS 7, it throws a security error
System.UnauthorizedAccessException: RadAsyncUpload could not create App_Data\RadUploadTemp folder. Ensure the App_Data folder is writable or set the TemporaryFolder property to a writable location. at Telerik.Web.UI.RadAsyncUpload.CreateTempFolder() at
While I know how to fix the security issue, I really do not want the AsyncUpload tool to write to any local folders [due to various deployment environment constraints]
Any idea why this is happening?
Here's my code in the markup
<telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" MultipleFileSelection="Automatic" HttpHandlerUrl="~/lib/Upload.ashx" ></telerik:RadAsyncUpload>