Hi,
Thanks,
Tim
i have radEditor in web Project.
i click to image manager in radEditor and upload file by Upload Botton. example my file is "MyFile.jpg". my file save in server path whit name "MyFile.jpg".
i want to Change filename after upload in server and save it. i write FileUpload event:
but file save yet whit name "MyFile.jpg".
secend question me :
how insert image by src:'http://Address Image' in run time RadEditor. in Insert Manager certainly should upload image.
i whold not use from HTML code.
please help me.
Hi,
I have 1 RadComboBox which has some data in it. Until I change any value in RadComboBox it works perfectly but as soon as I change the value in RadComboBox then After each postback, it gets focused and not the control which caused the postback.
e.g. I select a value in dropdown (ASP.Net dropdown) --> Enter some text in TextBox --> then search some value and select 1 from result in RadComboBox --> Then click on 1 button / select some different value in dropdown (ASP.Net dropdown) then the RadComboBox gets focused.
I'm using Q2 2015 (2015.2.826.45). The code uses RadEditor -> DocumentManager to do the file uploading. The function had been working good without any issue. But recently the code will throw exception when uploading a file. The error message is:
System.IO.FileNotFoundException: Could not find file 'C:\inetpub\...\App_Data\RadUploadTemp\1661261184840UploadTest.pdf.tmp'.
Did investigation. I can see that the temp file has been uploaded into the temp folder on server. However, once clicked the button “Upload” on the Upload dialog, the exception happened. I can see that after clicking the button “Upload”, the temp file was gone, but somehow the uploaded file was not moved to the target folder. It seems there's duplicate request happening which caused this exception. The exception happens on all browser (IE11, Edge and Chrome). What might be the reason?
<
telerik:GridDropDownColumn
UniqueName
=
"ProductVariant"
ListTextField
=
"name"
ListValueField
=
"id"
DataSourceID
=
"LinqDataSourceProductVariant"
HeaderText
=
"Product variant*"
DataField
=
"product_variant"
DropDownControlType
=
"RadComboBox"
AllowSorting
=
"true"
AllowFiltering
=
"false"
ItemStyle-Width
=
"35em"
>
</
telerik:GridDropDownColumn
>
<
telerik:GridDropDownColumn
UniqueName
=
"ProductVariant"
ListTextField
=
"name"
ListValueField
=
"id"
DataSourceID
=
"LinqDataSourceProductVariant"
HeaderText
=
"Product variant*"
DataField
=
"product_variant"
DropDownControlType
=
"DropDownList"
AllowSorting
=
"true"
AllowFiltering
=
"false"
ItemStyle-Width
=
"35em"
>
</
telerik:GridDropDownColumn
>
Hi,
When I change the font for the combo box the arrow icon size does not change.
How to change the arrow size?
Thanks in advance,
Omar
Hello everyone.
I just can't manage to upgrade my RadChart to a RadHtmlChart because of the differences...
Is there an easier way than doing it manually?
Any sort of help is appreciated. Thanks!
<telerik:RadChart ID="RadChart1" runat="server" DataGroupColumn="jours"
DataSourceID="SDSGraph7I" Skin="Mac" Width="800px">
<Series>
<telerik:ChartSeries DataYColumn="valeur" Name="J">
<Appearance>
<FillStyle MainColor="55, 167, 226" SecondColor="22, 85, 161">
<FillSettings GradientMode="Vertical">
</FillSettings>
</FillStyle>
<TextAppearance TextProperties-Color="Black">
</TextAppearance>
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries DataYColumn="valeur" Name="J+1">
<Appearance>
<FillStyle MainColor="223, 87, 60" SecondColor="200, 38, 37">
<FillSettings GradientMode="Vertical">
</FillSettings>
</FillStyle>
<TextAppearance TextProperties-Color="Black">
</TextAppearance>
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries DataYColumn="valeur" Name="J+2">
<Appearance>
<FillStyle MainColor="118, 203, 76" SecondColor="73, 166, 22">
<FillSettings GradientMode="Vertical">
</FillSettings>
</FillStyle>
<TextAppearance TextProperties-Color="Black">
</TextAppearance>
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries DataYColumn="valeur" Name="J+3">
<Appearance>
<FillStyle MainColor="119, 83, 76" SecondColor="88, 59, 52">
<FillSettings GradientMode="Vertical">
</FillSettings>
</FillStyle>
<TextAppearance TextProperties-Color="Black">
</TextAppearance>
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries DataYColumn="valeur" Name="J+4">
<Appearance>
<FillStyle MainColor="255, 222, 0" SecondColor="242, 188, 0">
<FillSettings GradientMode="Vertical">
</FillSettings>
</FillStyle>
<TextAppearance TextProperties-Color="Black">
</TextAppearance>
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries DataYColumn="valeur" Name="J+5">
<Appearance>
<FillStyle MainColor="164, 65, 221" SecondColor="125, 24, 167">
<FillSettings GradientMode="Vertical">
</FillSettings>
</FillStyle>
<TextAppearance TextProperties-Color="Black">
</TextAppearance>
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries DataYColumn="valeur" Name="J+6">
</telerik:ChartSeries>
</Series>
<PlotArea>
<XAxis AutoScale="False" DataLabelsColumn="grpcattarif" MaxValue="4"
MinValue="1" Step="1">
<Appearance Color="134, 134, 134" MajorTick-Color="134, 134, 134">
<MajorGridLines Color="209, 222, 227" PenStyle="Solid" />
<TextAppearance TextProperties-Color="51, 51, 51">
</TextAppearance>
</Appearance>
<AxisLabel>
<TextBlock>
<Appearance TextProperties-Color="51, 51, 51">
</Appearance>
</TextBlock>
</AxisLabel>
<Items>
<telerik:ChartAxisItem Value="1">
<TextBlock Text="BREST ">
</TextBlock>
</telerik:ChartAxisItem>
<telerik:ChartAxisItem Value="2">
<TextBlock Text="BRIEUC ">
</TextBlock>
</telerik:ChartAxisItem>
<telerik:ChartAxisItem Value="3">
<TextBlock Text="QUIMPER ">
</TextBlock>
</telerik:ChartAxisItem>
<telerik:ChartAxisItem Value="4">
<TextBlock Text="VANNES ">
</TextBlock>
</telerik:ChartAxisItem>
</Items>
</XAxis>
<YAxis>
<Appearance Color="134, 134, 134" MajorTick-Color="134, 134, 134"
MinorTick-Color="134, 134, 134" MinorTick-Width="0">
<MajorGridLines Color="209, 222, 227" />
<MinorGridLines Color="233, 239, 241" />
<TextAppearance TextProperties-Color="51, 51, 51">
</TextAppearance>
</Appearance>
<AxisLabel>
<TextBlock>
<Appearance TextProperties-Color="51, 51, 51">
</Appearance>
</TextBlock>
</AxisLabel>
</YAxis>
<Appearance>
<FillStyle FillType="Solid" MainColor="White">
</FillStyle>
<Border Color="134, 134, 134" />
</Appearance>
</PlotArea>
<Appearance Corners="Round, Round, Round, Round, 6">
<FillStyle FillType="Image">
<FillSettings BackgroundImage="{chart}" ImageDrawMode="Flip" ImageFlip="FlipX">
</FillSettings>
</FillStyle>
<Border Color="138, 138, 138" />
</Appearance>
<ChartTitle>
<Appearance Position-AlignedPosition="Top">
<FillStyle MainColor="">
</FillStyle>
</Appearance>
<TextBlock Text="Point Parc � 7 jours">
<Appearance TextProperties-Font="Tahoma, 13pt">
</Appearance>
</TextBlock>
</ChartTitle>
<Legend>
<Appearance Dimensions-Margins="15%, 3%, 1px, 1px"
Position-AlignedPosition="TopRight">
<ItemMarkerAppearance Figure="Square">
<Border Color="134, 134, 134" />
</ItemMarkerAppearance>
<FillStyle MainColor="">
</FillStyle>
<Border Color="Transparent" />
</Appearance>
</Legend>
</telerik:RadChart>
I am using a custom provider for file explorer control that gets folders from a database. The folders number in the 40 000s. I am facing the problem of now the page taking too long to load because the file explorer is trying to get the subfolders for the 40000 something folders in the root directory in the the ResolveRootDirectoryAsTree Method. The page now takes hours to load.
Public Overrides Function ResolveRootDirectoryAsTree(ByVal path As String) As DirectoryItem
Dim directory As DirectoryItem = dataServer.GetDirectoryItem(path, True)
If directory Is Nothing Then
Return Nothing
End If
directory.Permissions = GetPermissions(path)
If directory.Directories IsNot Nothing Then
For Each dir As DirectoryItem In directory.Directories
dir.Permissions = GetPermissions(path)
Next
End If
Return directory
End Function
Public Function GetDirectoryItem(ByVal path As String, ByVal includeSubfolders As Boolean) As DirectoryItem
Dim item As DataRow = Me.GetItemRowFromPath(path)
Return If(item IsNot Nothing, Me.CreateDirectoryItem(item, includeSubfolders), Nothing)
End Function
Private Function CreateDirectoryItem(ByVal item As DataRow, ByVal includeSubfolders As Boolean) As DirectoryItem
'correct permissions should be applied from the content provider
Dim directory As New DirectoryItem(item("Description").ToString(), Me.GetLoaction(item), Me.GetFullPath(item), [String].Empty, PathPermissions.Read, Nothing,
Nothing)
directory.Attributes.Add("CategoryID", item("CategoryID"))
If includeSubfolders Then
Dim subDirItems As DataRow() = GetChildDirectories(item)
Dim subDirs As New List(Of DirectoryItem)()
For Each subDir As DataRow In subDirItems
subDirs.Add(CreateDirectoryItem(subDir, False))
Next
directory.Directories = subDirs.ToArray()
Else
directory.Directories = (New List(Of DirectoryItem)).ToArray()
End If
Return directory
End Function
Is there a way to stop the initial load of the subfolders of the folders in the root folder and load them on demand? Or what can i do to make it more efficient in loading the too many folders?
I'm tasked with upgrading our Telerik suite to the latest Progress Telerik UI for ASP.NET AJAX (I downloaded Telerik_UI_for_ASP.NET_AJAX_2022_2_622) from a version a decade ago (2013.3.1114.45 - Telerik.Web.Design; 2011.2.712.35 - Telerik.Web.UI; 2012.3.1205.35 - Telerik.Web.UI.Skins). The website uses web form and a lot of grids, radtreeview, radwindows and tabs. I'd like deployment to be as easy as possible so not to have to install anything but rather deploy as part of the bin folder.
Please give me any guidance for this. I'd really appreciate it. Is there a nuget package that I can simply install?
Thank you very much!
Best regards