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.?
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.
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
RadDateLetztePrüfung.SelectedDate = Convert.ToDateTime(Sfo.DatumletztPrüfung)
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
<%
@ 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>
<body 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"/> -->
<customErrors 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>
Using CSS and html need the below format like category and sub-categories (Definetly it should be like expanding and collapsing functionality). Could anyone please give me some ideas on aspx side as well as code-behind. That would be great.
I'm getting this error after upgrading my app to the latest version. What am I missing?
"Unable to get property '_events' of undefined or null reference"
"Uncaught TypeError: Cannot read properties of undefined (reading '_events')"
Telerik.Web.UI.WebResource.axd
Hi sir
I use radcomobox in master page after i need get the selected value in child page with button click.
for now i get only first value even i select middle value.
Hi,
I used this follow function to export my grid to Excel format, while my data source(a store procedure) has hyperlink inside.
How can I just export the grid without hyperlink by setting some configurations?
aspx file
<
asp:GridView
ID
=
"ExcelGridView"
runat
=
"server"
BorderStyle
=
"None"
GridLines
=
"Both"
Visible
=
"False"
HeaderStyle-Font-Bold
=
"true"
HeaderStyle-BackColor
=
"LightGray"
OnRowDataBound
=
"ExcelGridView_RowDataBound"
></
asp:GridView
>
cs file
System.Data.DataTable data_table = ADOHelper.GetDataTable(ConfigurationManager.ConnectionStrings["Ligx_4_DB"].ConnectionString, query, null);
ExcelGridView.DataSource = data_table;
ExcelGridView.DataBind();
ExcelGridView.Visible = true;
Response.ClearContent();
string attachment = "attachment; filename=ExcelDownload.xls";
Response.AddHeader("Content-disposition", attachment);
Response.ContentType = "xls";