Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
75 views

I followed your way. But still a problem with the safari.
How do you solve the problem? Because the way you give Do not respond to the safari.

 

 

https://www.telerik.com/support/kb/aspnet-ajax/editor/details/inserting-a-video-tag-via-the-media-manager-instead-of-the-default-object-embed-ones

 

 

Thank you.

Thamita
Top achievements
Rank 1
 asked on 09 Jan 2018
2 answers
371 views

Hi, I am trying to set the OnRequestStart client event of RadAjaxManager from server side. I tried this code, but it's not firing the event:

RadAjaxManager.GetCurrent(Page).ClientEvents.OnRequestStart = "mngRequestStarted";

I am ajaxifying the control properly with:

<telerik:RadAjaxManager ID="MasterAjaxManager" runat="server">
<AjaxSettings>
     <telerik:AjaxSetting AjaxControlID="MasterAjaxManager">
<UpdatedControls>
     <telerik:AjaxUpdatedControl ControlID="grdTest" />
 
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>

Rumen
Telerik team
 answered on 09 Jan 2018
0 answers
206 views

Hi,

I have put a rad editor on my page using below code -

<telerik:RadEditor ID="RadEdit01" OnClientLoad="OnRadEditClientLoad" AutoResizeHeight="true" runat="server" Width="742" Height="220" EditModes="Design,Html">
                <Tools>
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="Bold" />
                        <telerik:EditorTool Name="Italic" />
                        <telerik:EditorTool Name="Underline" />
                        <telerik:EditorTool Name="Cut" />
                        <telerik:EditorTool Name="Copy" />
                        <telerik:EditorTool Name="Paste" />
                        <telerik:EditorTool Name="FontName" />
                        <telerik:EditorTool Name="RealFontSize" />
                        <telerik:EditorTool Name="ForeColor" />
                        <telerik:EditorTool Name="BackColor" />
                    </telerik:EditorToolGroup>
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="InsertTable" />
                        <telerik:EditorTool Name="ImageManager" />
                        <telerik:EditorTool Name="LinkManager" />
                        <telerik:EditorTool Name="Unlink" />
                        <telerik:EditorTool Name="InsertOrderedList" />
                        <telerik:EditorTool Name="InsertUnorderedList" />
                    </telerik:EditorToolGroup>
                </Tools>
                <ImageManager  EnableAsyncUpload="false" ViewPaths="~/Images/Uploads"
                    UploadPaths="~/Images/Uploads"
                    DeletePaths="~/Images/Uploads" >
                </ImageManager>
                </telerik:RadEditor>

 

My problem is when I resize the window containing rad editor and open the image manager, the full content of image manager are not displayed. The image manager does not adjust itself as per the parent window size.

Please let me know how I can ajust image manager as per the parent window size.

I am unable to post a screenshot here. If you could provide me a mail id, I will post that there.

 

Shefali
Top achievements
Rank 1
 asked on 09 Jan 2018
0 answers
93 views
the RadToolTipManager >  OnClientBeforeShow
fires correctly when the event div is shown on first week, but if the event wraps to 2 weeks the first one fires ok but the next week's div does not fire this event.
telerik version 2013.2.717.40
Doug
Top achievements
Rank 1
 asked on 08 Jan 2018
7 answers
266 views

Is there a way to create a custom shape using RADDiagram based on a composite SVG (i.e. one having multiple PATHs and FILLs)?  I am creating a graphical workflow builder utility and would like to have a palette of detailed, multi-color objects for users to work with.I have attached a sample image of one of these objects whose SVG code is as follows:

<svg xmlns="http://www.w3.org/2000/svg" width="54.7" height="54.7" viewBox="0 0 54.7 54.7">
    <circle cx="27.4" cy="27.4" r="27.4" fill="#33b5aa" />
    <rect x="10.3" y="18.9" width="34.1" height="25.53" fill="#fff" />
    <rect x="10.3" y="12.5" width="34.1" height="6.39" fill="#dc4f71" />
    <rect x="16.5" y="10.3" width="2.7" height="4.33" fill="#fff" />
    <rect x="35.6" y="10.3" width="2.7" height="4.33" fill="#fff" />
    <rect x="14" y="24.4" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="19.4" y="24.4" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="24.7" y="24.4" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="30" y="24.4" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="35.4" y="24.4" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="14" y="29.8" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="19.4" y="29.8" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="24.7" y="29.8" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="30" y="29.8" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="35.4" y="29.8" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="14" y="35.1" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="19.4" y="35.1" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="24.7" y="35.1" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="30" y="35.1" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <rect x="35.4" y="35.1" width="5.3" height="5.33" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <circle cx="38.4" cy="40.4" r="7.4" fill="#dc4f71" />
    <path d="M41.9,38.8c-.2-.2-.3-.2-.5,0l-4.1,4.1-1.9-2a.3.3,0,0,0-.4.4l2.1,2.1h.2c.1,0,.2,0,.2-.1s.1,0,.1-.1l4.3-4.2C42,39,42,38.9,41.9,38.8Z" fill="#fff" />
</svg>

 

If it makes things easier, the above code can be simplified to just PATHs if that helps:

<svg xmlns="http://www.w3.org/2000/svg" width="54.7" height="54.7" viewBox="0 0 54.7 54.7">
    <path d="M27.4,0A27.4,27.4,0,1,1,0,27.4,27.3,27.3,0,0,1,27.4,0Z" fill="#33b5aa" />
    <path d="M10.3,18.9H44.4V44.4H10.3Z" fill="#fff" />
    <path d="M10.3,12.5H44.4v6.4H10.3Z" fill="#dc4f71" />
    <path d="M16.5,10.3h2.7v4.3H16.5Z" fill="#fff" />
    <path d="M35.6,10.3h2.6v4.3H35.6Z" fill="#fff" />
    <path d="M14,24.4h5.4v5.4H14Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M19.4,24.4h5.3v5.4H19.4Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M24.7,24.4H30v5.4H24.7Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M30,24.4h5.4v5.4H30Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M35.4,24.4h5.3v5.4H35.4Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M14,29.8h5.4v5.3H14Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M19.4,29.8h5.3v5.3H19.4Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M24.7,29.8H30v5.3H24.7Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M30,29.8h5.4v5.3H30Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M35.4,29.8h5.3v5.3H35.4Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M14,35.1h5.4v5.3H14Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M19.4,35.1h5.3v5.3H19.4Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M24.7,35.1H30v5.3H24.7Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M30,35.1h5.4v5.3H30Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M35.4,35.1h5.3v5.3H35.4Z" fill="none" stroke="#dc4f71" stroke-miterlimit="10" stroke-width="0.75" />
    <path d="M31.2,38.7a7.4,7.4,0,1,1,5.5,9A7.4,7.4,0,0,1,31.2,38.7Z" fill="#dc4f71" />
    <path d="M41.9,39.2l-4.3,4.2c0,.1,0,.1-.1.1s-.1.1-.2.1h-.2L35,41.3a.3.3,0,0,1,.4-.4l1.9,2,4.1-4.1c.2-.2.3-.2.5,0S42,39,41.9,39.2Z" fill="#fff" />
</svg>

 

Thanks.

Vessy
Telerik team
 answered on 08 Jan 2018
1 answer
288 views

I'm trying to connect my telerik:RadImageGallery to a sql server datasource via a web service.

When the page loads the RadImageGallery lists the number of images (eg. Item 1 of 4) but it doesn't display the images. 

My imgURL field returns a value with this full url path (eg. http://blue.kingcounty.com/Assessor/eRealProperty/MediaHandler.aspx?Media=631204 )

Any idea why the images won't display on the page?

Thanks in advance.

Kevin

 

 <telerik:RadImageGallery ID="RadImageGallery1"  runat="server" RenderMode="Lightweight" BackColor="White"  
 ImageUrl="imgURL"  DataDescriptionField="ImageDesc"  DataTitleField="TitleDesc"

OnNeedDataSource="RadImageGallery1_NeedDataSource">

 

    Protected Sub RadImageGallery1_NeedDataSource(ByVal sender As Object, ByVal e As ImageGalleryNeedDataSourceEventArgs)
        Dim dsParcelImageList As New DataSet
        Dim wsRealProp As New ws_AsRealProp
        dsParcelImageList = wsRealProp.ParcelImageList(hf_parcelNbr.Value)
        Try
            If Not dsParcelImageList Is Nothing Then
                RadImageGallery1.DataSource = dsParcelImageList
            End If
        Finally
        End Try
        dsParcelImageList = Nothing
    End Sub

Rumen
Telerik team
 answered on 08 Jan 2018
0 answers
87 views

Hi,

What client event is raised when you drag a column header to the grouping panel in a grid?

I would like to hook into this event to do something like display a message.

Thanks

David Stacey
Top achievements
Rank 1
 asked on 08 Jan 2018
1 answer
205 views

Hello,

I have a RadSearchBox and a HiddenField. When user selects an item, my HiddenField gets its value from item's ID. But I would like both client and server side HiddenField's value become empty when text in RadSearchBox does not correspond to the HiddenField's value.

So I tried using RadAjaxManager:

01.<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline">
02.      <AjaxSettings>
03.          <telerik:AjaxSetting AjaxControlID="RadSearchBoxIns" EventName="DataSourceSelect">
04.              <UpdatedControls>
05. 
06.                  <telerik:AjaxUpdatedControl ControlID="HiddenFieldIns" />
07.                  <telerik:AjaxUpdatedControl ControlID="CustomValidatorRadSearchBoxIns" />
08.              </UpdatedControls>
09. 
10.          </telerik:AjaxSetting>
11.           <telerik:AjaxSetting AjaxControlID="RadSearchBoxIns" EventName="Search">
12.              <UpdatedControls>   
13.                   <telerik:AjaxUpdatedControl ControlID="HiddenFieldIns" />               
14.                  <telerik:AjaxUpdatedControl ControlID="CustomValidatorRadSearchBoxIns" />
15.              </UpdatedControls>
16. 
17.          </telerik:AjaxSetting>
18.      </AjaxSettings>
19.  </telerik:RadAjaxManager>

 

In both server events (  OnSearch and OnDataSourceSelect ) I set HiddenFieldIns value to the right ID or empty, respectively, but HiddenFieldIns remains the last selected value, even if user starts typing something else. In debug mode, I can see OnDataSourceSelect is hit and so, HiddenFieldIns's value is, apparently, set to an empty string. Anyway, DOM structure is not changed and when during validation this HiddenFieldIns's value is read again, it's back to its last selected value.

Could you help me to find a way to obtain the desired result?

 

Thank you in advance.

 

 

 

 

Peter Milchev
Telerik team
 answered on 08 Jan 2018
0 answers
75 views
when pressed enter in current tab's any textbox , tab goes to close.
Anil
Top achievements
Rank 1
 asked on 06 Jan 2018
2 answers
110 views

I have a page with a RadEditor and a RadWindow. When I set the editor RenderMode to Mobile or Auto the RadWindow shows up kinda screwy. Attached is what the window looks like. here are my RadEditor and RadWindow declarations:

<telerik:RadWindow ID="rwUploadAttachment" runat="server" NavigateUrl="UploadAttachment.aspx"
    OnClientClose="rwUploadAttachment_ClientClose" OffsetElementID='<%# lbtnUploadAttachment.ClientID %>'
    OpenerElementID='<%# lbtnUploadAttachment.ClientID %>' Behaviors="Resize, Close, Move"
    Modal="True" ReloadOnShow="True" Height="325px" VisibleStatusbar="False" Width="550px"
    Animation="Fade" />
<telerik:RadEditor ID="reBody" runat="server" ToolsFile="~/RadEditorToolsFile.xml" NewLineMode="Br" AutoResizeHeight="true"
    EditModes="Design" Width="100%" Skin="Metro" RenderMode="Mobile">
    <SpellCheckSettings DictionaryPath="/_layouts/SpellCheckDictionaries/" AllowAddCustom="false" />
    <Languages>
        <telerik:SpellCheckerLanguage Code="en-US" Title="English" />
        <telerik:SpellCheckerLanguage Code="es-ES" Title="Spanish" />
        <telerik:SpellCheckerLanguage Code="fr-FR" Title="French" />
        <telerik:SpellCheckerLanguage Code="de-DE" Title="German" />
    </Languages>
    <Content />
    <CssFiles>
        <telerik:EditorCssFile Value="EditContentArea.css" />
    </CssFiles>
</telerik:RadEditor>
Nikita
Top achievements
Rank 2
Iron
Iron
 answered on 05 Jan 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?