Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
159 views

Hello,

I have a problem which can be reproduced on the radeditor demo http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx in Internet Explorer 11. I have tried in Chrome and the problem does not exists there.

The problem is, that when you select an image, then the properties tab and then click on other images, the properties tab width and height aren't being updated.

1. Open the Image Manager in the radeditor
2. Click on a random image.
3. Click on the "Properties" tab.
4. Click on another random image.

The result is that the Width and Height textboxes are blank.

I've tried taking a look at the usercontrol "SetImageProperties.ascx" and it seems that the variable originalImage in function "loadImageProperties" looses the height and width. I suspect that it's using the preview image from the Image Manager which is hidden when the property tab is selected. Do you know if there's a work around for this?

Ianko
Telerik team
 answered on 22 Oct 2015
1 answer
93 views

Hi, We are using AjaxManager on our site and our average TTFB is approx 10s.  We have tried your optimization techniques but it is still always slow. What is the cause and how can we speed it up? All we are doing on ajaxrequest is setting the visibility of a panel..

 

Pavlina
Telerik team
 answered on 21 Oct 2015
0 answers
172 views

Hi Folks,

I have a static drop down list containing a set of configuration templates, each of these templates has 1 or more items assigned to it, each of a different type. I can retrieve each of the items and their typeID but when a user selects a template i need to dynamically create a new set of drop downs each one of them binding to a shared data source and passing in a variable of their typeID, thus creating a new set of drop downs each filled with a different set of data which the user can select to build up a new configuration

 I've been trawling the internet for a usable example but there is such a thing as too much information and i cant find a consistent style or doing this. Does anybody have any working examples or an alternative idea

Thanks

 

matt

 

 

Matthew
Top achievements
Rank 1
 asked on 21 Oct 2015
3 answers
132 views
Hello, I am having slow response times in an ASPX app that uses RADcontrols. Pages take too long to load.
I aslo noticed (dont know if it is related) a large number of .axd files appearing when the app is run in VS2010 (see attached image).
My questions are:
1) is this normal behavior (large number of axd files) or is somehow related to slownessa and can be improved?
2) where to start looking to improve performance?
Thanks
Pavlina
Telerik team
 answered on 21 Oct 2015
8 answers
313 views
Hi,

We are trying to use AJAX Editor inside MVC views. It works perfect, we tried adding the Editor in a partial view (following few forum post and samples) and the editor is not displayed right(we just get few dots and few text). Attached a screen shot. We are using the Script manager inside the partial view to make it to work, I am not sure whats going wrong. Even in the samples provided for demo in the site has the same script manager and the editor. Can some one please help to fix?

Thanks,
Akila.
Rajeshwar
Top achievements
Rank 1
 answered on 21 Oct 2015
1 answer
228 views

Hi,

 

I am trying to show a currency value in the tooltip for my bar chart.

I am using the below code in code-behind to set the format but the number isn't displayed as currency.

It used to work but I recently upgraded to the latest version of Telerik and it stopped working. Please let me know if there's anything that needs to be changed.

string template = "#=kendo.format(\\\'{0:c}\\\', dataItem.yValue)#";
string tooltipTemplate = "#= dataItem.xValue# (#=kendo.format(\\\'{0:C2}\\\', dataItem.yValue)#)";       
barSeries.LabelsAppearance.ClientTemplate = template;
barSeries.TooltipsAppearance.ClientTemplate = tooltipTemplate;
barSeries.LabelsAppearance.Position = Telerik.Web.UI.HtmlChart.BarColumnLabelsPosition.OutsideEnd;

Danail Vasilev
Telerik team
 answered on 21 Oct 2015
0 answers
109 views

Is there any solution how to send the RadEditor content as PDF attachment in Mail ?

 

Please provide the solution

 

 

Thanks

Sumeet
Top achievements
Rank 1
 asked on 21 Oct 2015
2 answers
279 views

Is there any way to get time&date and not only date in a DateTime column filter in RadGridView?

I am used to the RadDateTimePicker and there I get both values, date and time for selection. Sadly in the RadGrid there is no time icon and possibility to select a time.

So far I found a way to change the visible value in the textbox to contain the time also.

 

<telerik:GridDateTimeColumn DataField="DateStamp" HeaderText="MyTestColumn" FilterDateFormat="dd.MM.yyyy HH:mm" />

Thanks

Maria Ilieva
Telerik team
 answered on 21 Oct 2015
1 answer
121 views

Helo,

I have a problem because  the event selection changed is not fired,

aspx code:

    <form id="form1" runat="server">

         <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadTileList1">
                <UpdatedControls>                    
                    <telerik:AjaxUpdatedControl ControlID="Button1"  />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>
    <div>
        <div id="header">
        </div>
        <div id="content">
              <telerik:RadTileList runat="server" ID="RadTileList1" Width="100%" Height="500px" TileRows="3" SelectionMode="multiple" EnableDragAndDrop="true" CssClass="TileListStart"  AutoPostBack="True" OnSelectionChanged="RadTileList1_SelectionChanged1">
        </telerik:RadTileList>
        </div>
        <div id="footer">
            <asp:Button ID="Button1" runat="server" Text="Button"/>
        </div>    
    </div>
    </form>

 

and c# code:

 protected void Page_Init(object sender, EventArgs e)
        {

            PopulateTileList();

        }   
        private void PopulateTileList()
        {

            RadTileList1.Groups.Add(new TileGroup());

            RadTileList1.Groups[0].Tiles.Add(new RadTextTile() { Text = "1", BackColor = ColorTranslator.FromHtml("#e83737") });

            RadTileList1.Groups[0].Tiles.Add(new RadTextTile() { Text = "2", BackColor = ColorTranslator.FromHtml("#008de7"), Width = 300 });

            RadTileList1.Groups[0].Tiles.Add(new RadTextTile() { Text = "3", BackColor = ColorTranslator.FromHtml("#51ab2e") });

            RadTileList1.Groups[0].Tiles.Add(new RadTextTile() { Text = "4", BackColor = ColorTranslator.FromHtml("#f5c020") });

            RadTileList1.Groups.Add(new TileGroup());

            RadTileList1.Groups[1].Tiles.Add(new RadTextTile() { Text = "5", BackColor = ColorTranslator.FromHtml("#9b58b5") });

            RadTileList1.Groups[1].Tiles.Add(new RadTextTile() { Text = "6", BackColor = ColorTranslator.FromHtml("#91c930") });

            RadTileList1.Groups[1].Tiles.Add(new RadTextTile() { Text = "7", BackColor = ColorTranslator.FromHtml("#ee8310") });

            RadTileList1.Groups[1].Tiles.Add(new RadTextTile() { Text = "8", BackColor = ColorTranslator.FromHtml("#0058bc") });

           

        }
       
        protected void RadTileList1_SelectionChanged1(object sender, TileListDataEventArgs e)
        {
            List<RadBaseTile> selectedTiles = (sender as RadTileList).GetSelectedTiles();

            string selectionList = "";

            foreach (RadBaseTile tile in selectedTiles)
            {
                Button1.Text = selectedTiles.Count.ToString();

            }
        }

Can You help me resolve problem?

Best Regards

Robert Sadza

 â€‹

Robert Sadza
Top achievements
Rank 1
 answered on 21 Oct 2015
1 answer
129 views

I have simplified it to a ID field and a single XML field for testing. I tried RadUpload and AyncUpload in templates. Have tried gridattachmentcolumn. It will create records, allow me to select the file but it does not upload anything to the XML field/column in the table. So, I have started over and I will place the page here. Currently nothing in code behind.

If you can please help me to do this I would appreciate it. I am novice and taking courses, but already working for a company while attending school.

 

I already know that the SQLDatasource parameter type "Object" is wrong for XML. How to change that SqlDataSource insert and update parameter in code behind? Is that a good strategy? I have tried other types in the SQLDataSource control and have tried to figure out how to make parameters for the SQLDataSource control in code behind but no luck.

Ultimately, I would like to upload the small SVG files to the sql server table and view them within the Radgrid. I seem to have some luck using HTML Object tag in the <ItemTemplate> but cannot test it because I have yet to be able to upload one of the SVG files to the table.

I also had luck setting it up to upload images and view them in a different page. Just cannot figure out how to do this with svg files. 

 

Please help. Since I am learning, a very thorough explanation and example would be appreciated. I have had no luck searching the examples, documentation etc... available here and on searching Google. I have tried a lot of stuff and now pulling my hair out!

 

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="testing.aspx.cs" Inherits="testing" %><asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"></asp:Content><asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">     <telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" GroupPanelPosition="Top" DataSourceID="SqlDataSource1">         <MasterTableView CommandItemDisplay="Top" AutoGenerateColumns="False" DataKeyNames="ID" DataSourceID="SqlDataSource1">             <Columns>                 <telerik:GridTemplateColumn DataField="SVGFile" HeaderText="SVGFile" SortExpression="SVGFile" UniqueName="SVGFile" FilterControlAltText="Filter SVGFile column">                     <EditItemTemplate>                         <asp:TextBox runat="server" ID="SVGFileTextBox" Text='<%# Bind("SVGFile") %>'></asp:TextBox>                     </EditItemTemplate>                     <ItemTemplate>                         <asp:Label runat="server" ID="SVGFileLabel" Text='<%# Eval("SVGFile") %>'></asp:Label>                     </ItemTemplate>                 </telerik:GridTemplateColumn
                <telerik:GridBoundColumn DataField="ID" ReadOnly="True" HeaderText="ID" SortExpression="ID" UniqueName="ID" DataType="System.Int32" FilterControlAltText="Filter ID column"></telerik:GridBoundColumn>             </Columns>         </MasterTableView>     </telerik:RadGrid>     <asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString='<%$ ConnectionStrings:IGWiringConnectionString %>' DeleteCommand="DELETE FROM [TestSVG] WHERE [ID] = @ID" InsertCommand="INSERT INTO [TestSVG] ([SVGFile]) VALUES (@SVGFile)" SelectCommand="SELECT [SVGFile], [ID] FROM [TestSVG]" UpdateCommand="UPDATE [TestSVG] SET [SVGFile] = @SVGFile WHERE [ID] = @ID">         <DeleteParameters>             <asp:Parameter Name="ID" Type="Int32"></asp:Parameter>         </DeleteParameters>         <InsertParameters>             <asp:Parameter Name="SVGFile" Type="Object"></asp:Parameter>         </InsertParameters>         <UpdateParameters>             <asp:Parameter Name="SVGFile" Type="Object"></asp:Parameter>             <asp:Parameter Name="ID" Type="Int32"></asp:Parameter>         </UpdateParameters>     </asp:SqlDataSource></asp:Content><asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server"></asp:Content>
Viktor Tachev
Telerik team
 answered on 21 Oct 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?