Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
325 views
Hi,

I am working on an ASP.Net Application which uses Telerik Rad Ajax tools in it. We have recently upgraded the Telerik version to the latest Q3 2012 version (2012.3.1308.35) from the Q3 2011 version. After the upgrade, the Image manager tool of the Rad Editor is behaving absurd. Firstly, the Upload and Delete button are not visible at all on the Image Manager window even though no change was made in the code. When I add the UploadPath parameter in the Image Manager declaration code, the button appears but the upload event is not fired on clicking the button. When I right- click on the folder named XYZHandler (where all images are kept) in the window, it gives me options to UPLOAD or RENAME. On selecting Upload, I get the window with Browse and Insert buttons but on selecting a file and uploading, it gives an error stating : File cannot be written to the given target.

Has the way of handling images in the Image manager changed in the latest version ? If so, could you please explain how. If not, what could be causing this issue ?

Please provide me a solution to this.

Thanks & Regards,

Manisha
Vessy
Telerik team
 answered on 07 May 2014
3 answers
343 views
I would like the Text to contain the combination of the data source's id and name fields.  For example the control:

<telerik:RadListBox runat="server" ID="lstAvailableRemarkCode" Width="500px"<br>                                       Height="300px" SelectionMode="Multiple" AutoPostBackOnReorder="true" EnableDragAndDrop="true"<br>                 OnDropped="RadListBox_Dropped" AllowTransfer="true" TransferToID="lstAssignedRemarkCode"<br>                     ButtonSettings-RenderButtonText="true" Localization-ToRight="Add" Localization-ToLeft="Remove"<br>               ButtonSettings-ShowTransferAll="False" ButtonSettings-ShowReorder="False" ButtonSettings-ShowDelete="False"
    ButtonSettings-HorizontalAlign="Center" ButtonSettings-VerticalAlign="Middle"
    ButtonSettings-AreaWidth="30px"
    DataTextField="RemarkCodeID,Name" DataTextFormatString="{0} - {1}" DataValueField="RemarkCodeID"    
    OnItemDataBound="lstAvailableRemarkCode_ItemDataBound">
    <ButtonSettings AreaWidth="100" />
</telerik:RadListBox>

But in code behind I get an error that source does not have a field 'RemarkCodeID,Name' at the DataBind:

Is there a way I can Implement this?
Nencho
Telerik team
 answered on 07 May 2014
2 answers
267 views
Hello all,

This is my first post on here so please feel free to point me elsewhere if the information is already on here and I couldn't find it!

Can anybody show me any examples of the RadMediaPlayer out there with the Playlist, the Title bar and the Toolbar showing but without the video content window please?

We're implementing an mp4/WAV audio player in a web app, and it's in quite a narrow portrait format showing the title of the track that's playing, the transport controls and the playlist. However all the demos on the Telerik site are of the video player so we can't see how it might look.

Many thanks!

Donal
Donal
Top achievements
Rank 1
 answered on 07 May 2014
2 answers
322 views
I have a radgrid with 3 levels i want to assign 3 different colors for different levels of grid and on click of the row there should not be any change to the selected row color. i could do it for mastertable and 2nd level detail table but the same color is being assinged to the 3rd level row selection. Please find below the attached file in which blue color is the 2nd level and 3rd level is the white color. 

As both the detail grids are using .rgDetailTable .rgSelectedRow  classes both are sharing common properties. How can i differentiate different Detail grids with .rgselectedrow class

below is the small code that i  did to achieve the first two levels of the grid.

 .rgMasterTable .rgSelectedRow {
            background: #c8e8a8 !important; 
            color:black !important;   
        }
        .rgDetailTable .rgSelectedRow {
            background:lightblue !important; 
            color:black !important;                                                                                                                                                                                                                                                                                                         
    how to achieve white background color if 3rd level grid row is selected. Thanks 





Venelin
Telerik team
 answered on 07 May 2014
1 answer
117 views
I have  a User Control encapsulating data elements from a parent and 2 child tables.  I want the User Control to be the mechanism for updating and inserting all data controlled within.  How does one pass the Grid.SelectedValue, which is the "ID", to the user control? 
Eyup
Telerik team
 answered on 07 May 2014
1 answer
128 views
Hi, I'm using 2013 Q1 SP1 controls and AjaxControlsToolKit 4.5, I have a
RadComboBox and a ModalPopupExtender with a panel, In the Site.Master
I'm put the ToolKitScriptManager. When I run locally the application run
good! But when I publish on Azure
(http://test1bam.azurewebsites.net/webform1.aspx) both controls don't
work, the radcombox dont show the list of items and the panel show the
content, dont show any error. I attach two images  where locally work
fine, my web.config, the webform1.aspx, and the site1.master.





[WebForm1.aspx]

<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master"
AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs"
Inherits="testRadControl.WebForm1" %>



<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">



    <telerik:RadComboBox ID="RadComboBox1" runat="server"
DataSourceID="SqlDataSource1" DataTextField="descripcion"
DataValueField="id"></telerik:RadComboBox>

&nbsp;&nbsp;&nbsp;&nbsp;

    <asp:Button ID="Button1" runat="server" Text="Abrir Modal" />

    <br />

    <br />

    <asp:Panel ID="Panel1" runat="server">

        hola<asp:Button ID="Button2" runat="server" Text="Cerrar Modal" />

    </asp:Panel>

    <asp:ModalPopupExtender ID="Panel1_ModalPopupExtender"
runat="server"  Enabled="True" PopupControlID="Panel1"
TargetControlID="Button1">

    </asp:ModalPopupExtender>

<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:DefaultConnection %>"
SelectCommand="SELECT [descripcion], [id] FROM
[producto]"></asp:SqlDataSource>

</asp:Content>





[Site1.Master]

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="testRadControl.Site1" %>



<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>



<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>



<!DOCTYPE html>



<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

    <title></title>

    <asp:ContentPlaceHolder ID="head" runat="server">

    </asp:ContentPlaceHolder>

</head>

<body>

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

       <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">

            </asp:ToolkitScriptManager>

    <div>

        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">    

            

        

        </asp:ContentPlaceHolder>

    </div>

    </form>

</body>

</html>







[web.config]

<?xml version="1.0"?>

<!--

  For more information on how to configure your ASP.NET application, please visit

  http://go.microsoft.com/fwlink/?LinkId=169433

  -->

<configuration>

  <connectionStrings>

    <add name="DefaultConnection"
connectionString="Server=tcp:e9jnq1pavz.database.windows.net,1433;Database=xx;User
ID=xx;Password=xx.;Trusted_Connection=False;Encrypt=True;Connection
Timeout=30;" providerName="System.Data.SqlClient" />

  </connectionStrings>

  <system.web>

    <customErrors mode="Off" />

    <compilation debug="true" targetFramework="4.5">

      <assemblies>

        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

        <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

        <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

      </assemblies>

    </compilation>

    <httpRuntime targetFramework="4.5" />

    <httpHandlers>

      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />

    </httpHandlers>

  </system.web>

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

</configuration>
Ianko
Telerik team
 answered on 07 May 2014
1 answer
396 views
Is there a way to load an image into the ImageEditor control directly from a stream? I would like to link the ImageEditor in with the upload process so that the file is not written to disk until it is saved after whatever image manipulation is required (regulations from a particular client for sensitive data).
Vessy
Telerik team
 answered on 07 May 2014
3 answers
90 views
Hi guys,

I'm having an issue with MultiCell selection mode within a RadGrid.
After I select some cells, I can't select any text inside any textbox of the whole page.

You can reproduce this bug even in this official demo page:
https://demos.telerik.com/aspnet-ajax/grid/examples/functionality/selecting/cell-selection/defaultcs.aspx
(I have this kind of problem only with Internet Explorer 9+)

Any suggestion or workaround?

Thanks
Giuseppe

Pavlina
Telerik team
 answered on 07 May 2014
1 answer
255 views
Hi Team,
               I am working on the Radhtmlchart type Bubble ,here my required functionalities are
1. How to show only one  XAxis.MijorGridLines on X-axis and one YAxis.MijorGridLines  on Y-axis at our specified value(50 in attchement).Means suppose I have X-axis values from 0 to 100 and Y-axis values from 0 to 100 ,here my requiremnt is i want show only one  MijorGridLine at value 50 on X-axis and also want  to show one more MijorGridLine at value 50 on Y-axis .

2. How to  know AxisTickItem value.

3. How to dispaly the Some text in each quadrant when divide the chart into 4-parts by middle value on X-axis and Y-axis
 (or)
4. How  to dispaly some text between specified Major/Minor GridLines.

Please find attched document for more information and I also highlighted with Red circles where our requirement fullfill.
Danail Vasilev
Telerik team
 answered on 07 May 2014
1 answer
288 views
I am not sure if it has to do with our recent update to 2014.1.225 or if it is only recently that our Mac users have started attempting to upload files with characters that are invalid on our windows server, but errors have been occurring as a result of this.  I then noticed that the latest release specifically states that such a scenario was addressed to allow the upload of these files.  I updated to this version and the same errors continue to occur.  Even attempting to upload these files with invalid characters from a mac on the telerik demos do not work.  The file does not succeed or fail it just sits there and throws a javascript error about an invalid token.  While this is different from what we are experiencing it still seems like this does not function correctly in 2014.1.403.  Is there something new that needs to be configured in order to make this work?

I have attached a screen of the errors thrown in the developer tools from our site when attempting to upload such a file in Safari on Mac.  Has anyone else run into this or something similar?

Thanks!
Jon
Plamen
Telerik team
 answered on 07 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?