Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
362 views
In the advanced edit form I want to hide the Recurring Appt and All Day Event checkboxes.  I've tried this so far, but it seems to do nothing:


protected void RadScheduler1_AppointmentCommand(object sender, AppointmentCommandEventArgs e)

{
    

if (e.CommandName == "Edit")
    {
        
CheckBox repeatCheck = (CheckBox)e.Container.FindControl("RepeatCheckBox");
        repeatCheck.Visible =
false;
      }
}



Thanks for your help

Rumen
Telerik team
 answered on 10 Jan 2018
15 answers
614 views
Hello,

I'm attempting to create a task scheduler and would rather not offer the ability to schedule hourly tasks.   Is there a way to configure the recurrence editor to hide or disable that option?


Thanks
Rumen
Telerik team
 answered on 10 Jan 2018
5 answers
121 views

Hello,

is it possible to change adorner border with, sometimes it is not clearly visible.

It would be great if if could change border width and color.

Thank you

Pandi

 

Vessy
Telerik team
 answered on 10 Jan 2018
0 answers
92 views

This is my code:

dataitem["ApproverRole1"]  = '1'

dataitem["ApproverRole1Id"] ='1'

 

angular.forEach(grid.dataSource.data(), function (dataitem) {                              

         dataitem["ApproverRole1"] = '2';
         dataitem["ApproverRole1Id"] = '2';    

 });

before refresh updated data is available.

console: 

         dataitem["ApproverRole1"] = '2';
         dataitem["ApproverRole1Id"] = '2';    

But once below code executes then old value gets updated again in model

 $('#grid').data('kendoGrid').refresh();

Console:

dataitem["ApproverRole1"]  = '1'
dataitem["ApproverRole1Id"] ='1'

Actual value should be 2 but 1 is still there.

Thanks for help.

 

 

Prabhu
Top achievements
Rank 1
 asked on 10 Jan 2018
1 answer
219 views

Hi ,

In the OnExporting event I want to save the file and then cancel the exporting process , I mean I don't want user to download the file anymore.

protected void  XyzTree_Exporting(object sender, TreeListExportingEventArgs e)
{

          // here I need to know the name of the file that Telerik as given to the file.  eg. "BOM Export of p046_Page1_20180108200522338.xls"
           string path = Server.MapPath("~/MyFile.xls");
           using (FileStream fs = File.Create(path))
          {
                 Byte[] info = System.Text.Encoding.Default.GetBytes(e.ExportOutput);
                 fs.Write(info, 0, info.Length);
           }
           // this is where I want to stop the export process , As I have saved the file already.
}

 

Marin Bratanov
Telerik team
 answered on 09 Jan 2018
0 answers
70 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
345 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
198 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
82 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
239 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
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?