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

Class Type - RadCombobox

Value=1  text=one  --> Select this value --> visible radcombobox 1 (Textbox1 visible false)

value=2  text=two --> Select this value--> visible radcombobox 1 (Textbox1 visible false)

value=3 text=others --> visible Textbox1 --> radcombobox 1(visible false)

then i click the class Type(Others)

 

all the controls in RadGriview.

 

i need solution using javascript

Please help.....

 

Attila Antal
Telerik team
 answered on 09 Dec 2021
0 answers
95 views

Hello,

The data I have coming back from the database is TRIM'ed up and when inspecting the RadGrid the cells do not have extra spacing:

 

However, when I use the built in export functionality to export the grid to an Excel document some of the cells suddenly take on "Blank" values. They become identified when enabling the Excel filter and selecting just "Blank" values:

When copying/pasting into Notepad++ the referenced cell that clearly has "Open" in the value is pasted as a 4 blank rows with no "Open" value to be found. This leads me to believe that somewhere along the export process the value is either lost or so many blank filler spaces are added that they conflict with the Excel filter. Has anyone run into something similar to this? Any suggestions appreciated. Thanks!

 

Matt
Top achievements
Rank 1
 updated question on 09 Dec 2021
0 answers
159 views

Facing the exception Could not find file 'C:\inetpub\wwwroot\source\App_Data\RadUploadTemp\16378221455987_23.PNG.tmp'. while uploading a file from RadAsyncUpload Control on an aspx Page, at the line 5 while trying to read the InputStream.

The Code is like below on Codebehind file;

Protected Sub AsnycUpload1_FileUploaded(sender As Object, e As FileUploadedEventArgs) Handles AsnycUpload1.FileUploaded
Try
Dim file As UploadedFile = AsnycUpload1.UploadedFiles.Item(0)
Dim bytes(file.ContentLength - 1) As Byte
file.InputStream.Read(bytes, 0, bytes.Length)
file.InputStream.Dispose()
Catch ex As Exception
doh(ex)
End Try
End Sub

please help in resolving the issue!

Vinay
Top achievements
Rank 1
 asked on 09 Dec 2021
2 answers
87 views

Hi Telerik Support Rep!

I want to have the demo of Gantt Chart using Telerik. I have downloaded its trial software suite using the link below

https://demos.telerik.com/aspnet-ajax/gantt/examples/overview/defaultcs.aspx. It was an exe file with the name "TelerikUIForAspNetCoreSetup". It has installed  its controls in the Toolbox but I am not been able to access Gantt Chart. 

I am following the demo solution from the same link but I am not been able to compile the project as the error says

"Error : Unknown server tag 'telerik:RadGantt'"

Plz help ASAP...I want to have the demo of GanttChart.

 

asif rehman
Top achievements
Rank 1
Iron
 answered on 08 Dec 2021
1 answer
162 views

I have a PDF with a number of text fields that have a number format. I am updating them with calculated values: 

     If PDFdocument.AcroForm.FormFields.Contains(row.Item("XMLField").ToString()) Then
         field = PDFdocument.AcroForm.FormFields.Item(row.Item("XMLField").ToString())

         Select Case field.FieldType
               Case FormFieldType.TextBox
                         ModifyTextBox(CType(field, TextBoxField), OutText)
               Case FormFieldType.CheckBox
                         Try
                              ModifyCheckBox(CType(field, CheckBoxField), New String() {row.Item("OutText").ToString()})
                         Catch
                         End Try
         End Select
     End If

When this executes the number format is over written and I see 1222777.00 instead of 1,222,777.00.

Is there a way to either not lose the number format or reset the number format for the PDF Text field.? 

Lee
Top achievements
Rank 1
Iron
 answered on 08 Dec 2021
1 answer
1.4K+ views

I have a website that uses Telerik as editor. It's a custom build website. A couple of weeks ago I noticed the editor didn't work anymore on my Mac (iOS Catalina 15.10.7), the content field doesn't load and I get a shitload of Failed to load resourse errors in the developerwindow. Included is a printscreen of the editor. At first I thought it was because of the latest version of Java, I installed the day before, because the editor still worked on my 10-year old Macbook which hadn't been updated. 

That all changed today, when I wanted to create a new news item and got the same black content field als on my Mac. Does anyone have an idea what could cause this problem. This is a huge problem for me, because the way it is right now I can't publish new items anymore and that's devastating for an online Motorcycle magazine. Normally this is a issue a website developer should solve, but the guy who custom build our website has vanished, so now I've turned to this forum to hopefully get an answer. 

 

 

Rumen
Telerik team
 updated answer on 08 Dec 2021
1 answer
296 views
Hello,
i have a webform with 4 RadDatePickers. In one control i want to have two different dates.  In the dateInput-control is a date from a database and in the calender-control should be now.
The code look like this:

If IsNothing(Sfo.DatumletztPrüfung) = False AndAlso IsDate(Sfo.DatumletztPrüfung) = True Then
            RadDateLetztePrüfung.DateInput.SelectedDate = Convert.ToDateTime(Sfo.DatumletztPrüfung)
            RadDateLetztePrüfung.Calendar.SelectedDate = Now()
End If

But the controls are empty. Only when is set the date to the RadDatePicker-Control:
 RadDateLetztePrüfung.SelectedDate = Convert.ToDateTime(Sfo.DatumletztPrüfung)
The Date is shown.
What have i made wrong?

Kind regards
Jens

Doncho
Telerik team
 answered on 07 Dec 2021
0 answers
111 views

Hi,

 

When I switch a radcombobox to loadondemand i get this error message.

Otherwise it is working perfectly, can you tell me what I am doing wrong?

 

  <asp:SqlDataSource ID="sds_start" ConnectionString="<%$ connectionstrings: aaa %>" runat="server"></asp:SqlDataSource>
                  <telerik:RadComboBox ID="rcb_start" EnableAutomaticLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true"
                ItemsPerRequest="10" EmptyMessage="Type..." DataTextField="location" DataValueField="iata" Filter="Contains" MarkFirstMatch="true" MinFilterLength="3" DropDownAutoWidth="Enabled" DataSourceID="sds_start" runat="server">
                  </telerik:RadComboBox>

 

 

Please refer to attached screenshot.

Marc

Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 asked on 03 Dec 2021
1 answer
104 views
hi, I would like to display a lot of data on a RadMap.  is it possible to load markers on demand based on the geographic map quadrant displayed?
Vessy
Telerik team
 answered on 01 Dec 2021
2 answers
785 views
I have inherited an application that was built by a development company that has several Master files with RadScriptManagers in them respectively.  The application is using telerik.Web.UI, version 2009.3.1210.20.  The IIS is configured to use ASP.NET 2.0.  I am running everything locally on my computer.  Originally the company gave us a compiled version of the website, which works fine.  However, trying to get the code in VS with no build errors is frustrating.  Here is what happens.  The Source in the aspx file contains <telerik:RadScriptmanager ....></RadScriptManager>.  However, intellisense shows a warning, "Element 'RadScriptManager' is not a known element.  This can occur...."  When I try to build the app I get the following error. "Method 'get_EnbaleCdn' in type 'System.webUI.ScriptManager' from assembly 'System.Web.Extensions, version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.

Only framework 2.0 and 4.0 are installed on my computer.  I installed Telerik 2010 Q1,2,3 on my pc in addition to a 2006 version.  However, the application's version is the 2009 version indicated above. 

Can someone tell me what is causing this error?  I have gone through the threads, but nothing seems to apply to me thus far to my knowledge (I'm relatively new to Telerik this year).  Any ideas?

Here is the Master file (the are several master files and they all have similar markup.

<%

 

@ Master Language="VB" CodeFile="TemplateDialog.Master.vb" Inherits="Master_TemplateDialog" %>
<!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 id="Head1" runat="server">
<title>ISMP - CRM System </title>
<script type="text/javascript" src="../Scripts/Calendar.js"></script>
<script type="text/javascript" src="../Scripts/CalendarSetup.js"></script>
<script type="text/javascript" src="../Scripts/CalendarEnglish.js"></script>
<script type="text/javascript" src="../Scripts/Functions.js"></script>
<script type="text/javascript" src="../Scripts/QueryString.js"></script>
</
head>
<b
ody style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0">
<form id="form1" runat="server">

<telerik:RadScriptManager ID="ScriptManager" runat="server"></telerik:RadScriptManager>
<uc5:HelpControl ID="HlpControl" runat="server" />
<asp:contentplaceholder id="PageContent" runat="server">
</asp:contentplaceholder>
<telerik:RadProgressManager id="RadProgressManager1" runat="server" />
<telerik:RadWindowManager id="MasterWindowMgr" runat="server" Behavior="Close,Move" VisibleStatusbar="false" ReloadOnShow="True">
<Windows>
<telerik:RadWindow ID="DialogWindow" runat="server" Left="" NavigateUrl="" Skin="Windows7" Title="" Top=""></telerik:RadWindow>
<telerik:RadWindow OnClientClose="OnRadModalClose" ID="DialogWindowModal" runat="server" Modal="true" Left="" NavigateUrl="" Skin="Windows7" Title="" Top=""></telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>

<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
</form>
</
body>
</
html>


Here is the web.config file.

<?xml version="1.0"?>
<configuration>
<
appSettings>
<
add key="MilesLibrary.TemplateNamespace" value="Template"/>
<
add key="MilesLibrary.EventSource" value="Template"/>
<
add key="MilesLibrary.AutoLog" value="true"/>
<
add key="MilesLibrary.CustomerDocumentFolder" value="xxxxxx" />
<
add key="UploadNewsletterfolder" value="xxxx"/>
<
add key="UploadNewsletteraddress" value="xxxxx"/>
<
add key="MilesLibrary.CustomerDocumentWebFolder" value="xxxxx"/>
<
add key="EmailAttachments" value="xxxx"/>
<
add key="CustomerEmailAttachments" value="xxxx"/>
<
add key="ReportFolder" value="xxx"/>
<
add key="PaymentStatusNA" value="2"/>
<
add key="StandardLogoID" value="3"/>
<
add key="ReportFolderLink" value="xxxx"/>
<
add key="ReportingService.reportservice" value="xxxx"/>
<
add key="UploadLogofolder" value="xxxx"/>
<
add key="UploadLogoaddress" value="xxxx"/>
</
appSettings>
<
connectionStrings>
<
add name="MilesLibrary.ConnectionString" connectionString="server=xxxxxxxx;uid=xxxxx;pwd=xxxxxx;database=xxx;Max Pool Size=20;Min Pool Size=1;Connection Timeout=300;"/>
</
connectionStrings>
<system.web>
<compilation debug="true" strict="false" explicit="true">
<
assemblies>
<
add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<
add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<
add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<
add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<
add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<
add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<
add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<
add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<
add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<
add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<
add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>
</
compilation
<
pages>
<
namespaces>
<
clear/>
<
add namespace="System"/>
<
add namespace="System.Collections"/>
<
add namespace="System.Collections.Specialized"/>
<
add namespace="System.Configuration"/>
<
add namespace="System.Text"/>
<
add namespace="System.Text.RegularExpressions"/>
<
add namespace="System.Data"/>
<
add namespace="System.Web"/>
<
add namespace="System.Web.Caching"/>
<
add namespace="System.Web.SessionState"/>
<
add namespace="System.Web.Security"/>
<
add namespace="System.Web.Profile"/>
<
add namespace="System.Web.UI"/>
<
add namespace="System.Web.UI.WebControls"/>
<
add namespace="System.Web.UI.WebControls.WebParts"/>
<
add namespace="System.Web.UI.HtmlControls"/>
</
namespaces>
<
controls>
<
add tagPrefix="cc1" assembly="ISMPControls" namespace="ISMPControls"/>
<
add tagPrefix="radG" assembly="RadGrid.Net2" namespace="Telerik.WebControls"/>
<
add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
<
add tagPrefix="uc1" tagName="Phone" src="~/UserControls/Phone.ascx"/>
<
add tagPrefix="uc2" tagName="StatesDropDown" src="~/UserControls/StatesDropDown.ascx"/>
<
add tagPrefix="uc3" tagName="Tab" src="~/UserControls/Tab.ascx"/>
<
add tagPrefix="uc4" tagName="DateTimeControl" src="~/UserControls/DateTimeControl.ascx"/>
<
add tagPrefix="uc5" tagName="HelpControl" src="~/UserControls/HelpControl.ascx"/>
<
add tagPrefix="uclb" tagName="ListBoxControl" src="~/UserControls/ListBoxControl.ascx"/>
</
controls>
</
pages>
<authentication mode="Forms">
<
forms name=".Template" loginUrl="~/security/login.aspx" protection="None" timeout="1800" path="/"/>
</
authentication>
<
authorization>
<
deny users="?"/>
</
authorization>
<!--<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" timeout="1800"/> --> 
<c
ustomErrors mode="Off"/>
<
httpRuntime maxRequestLength="2097151"/>
<
httpHandlers>
<
add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
<
add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>
<
add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>
<
add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
<
remove verb="*" path="*.asmx"/>
<
add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<
add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
</
httpHandlers>
<
httpModules>
<
add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</
httpModules>
</
system.web>
<
location path="Images">
<
system.web>
<
authorization>
<
allow users="*"/>
</
authorization>
</
system.web>
</
location>
<
location path="Telerik.Web.UI.WebResource.axd">
<
system.web>
<
authorization>
<
allow users="*"/>
</
authorization>
</
system.web>
</
location>
<
system.webServer>
<
validation validateIntegratedModeConfiguration="false"/>
<
handlers>
<
add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
</
handlers>
</
system.webServer>
<
runtime>
<
assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<
dependentAssembly>
<
assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<
bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</
dependentAssembly>
<
dependentAssembly>
<
assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<
bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</
dependentAssembly>
</
assemblyBinding>
</
runtime>
</
configuration>

mdw_cubed
Top achievements
Rank 1
Iron
 answered on 26 Nov 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?