This is a migrated thread and some comments may be shown as answers.

AllowDelete=false does not work

21 Answers 155 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Chris Poirier
Top achievements
Rank 1
Chris Poirier asked on 20 Sep 2011, 10:49 PM
I recently updated to 2011.2.915, and the update has caused RadScheduler.AllowDelete=false to break. The delete icons are showing when I hover over events. I have tried setting the property on both the scheduler and the individual events, but in both cases, the delete icon still appears.

If you need a workaround, add the following to your CSS:
.rsAptDelete
{
    display: none !important;
}

21 Answers, 1 is accepted

Sort by
0
MFitzpatrick
Top achievements
Rank 1
answered on 21 Sep 2011, 04:10 PM
I also have encountered this issue. I would prefer the button to not display if allowdelete is false.
0
Plamen
Telerik team
answered on 21 Sep 2011, 04:20 PM
Hello Chris,

We inspected the issue with Allodiality and succeeded to fix it. It should be working fine in the next build. Thank you for reporting that.


All the best, Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Jayesh Goyani
Top achievements
Rank 2
answered on 23 Sep 2011, 09:40 AM
Hello,


 protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
    {
        if (e.Appointment.Subject == "Your compared text")
        {
            e.Appointment.AllowDelete = false;
        }
    }

let me know if any concern.


Thanks,
Jayesh Goyani
0
tony
Top achievements
Rank 1
answered on 29 Sep 2011, 11:37 PM
How about java script event?
function appointment_DataBound(sender, eventArgs)
{
}
sender._allowDelete= false and eventArgs._appointment.set_allowDelete = false does not work as well. The image button still showing and after click, the popup confirm still happened.
0
Plamen
Telerik team
answered on 04 Oct 2011, 04:16 PM
Hello Tony,

I've tested both expressions with the 2011.3.927.40 version of the controls and everything is working as expected on my side:
function OnClientAppointmentDataBound(sender, args) {
            //sender._allowDelete = false;
             args._appointment.set_allowDelete(false);  
            
        }

Please try to upgrade if possible and let me know if the problem persists.

Regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
tony
Top achievements
Rank 1
answered on 04 Oct 2011, 07:48 PM
It works, yeeeeeeeeh
0
William Choo
Top achievements
Rank 1
answered on 05 Oct 2011, 11:29 AM
Hi, I encounter the delete icon appear too when the allowdelete set to false. Can i know when is the new version will be release?
0
Plamen
Telerik team
answered on 07 Oct 2011, 10:02 AM
Hello William,

When you set the allow delete to false, the icon is hidden. You can get the latest internal build after you log in your Telerik account from here.

Hope this will help you.

All the best,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
William Choo
Top achievements
Rank 1
answered on 07 Oct 2011, 10:44 AM
Hi,

Thanks. The internal build works.
0
Eirik H
Top achievements
Rank 2
answered on 31 Oct 2011, 08:23 AM
Had the same problem, thanks for fixing. Glad I accidentally noticed it before rolling out the new version to our customers. 
0
MFitzpatrick
Top achievements
Rank 1
answered on 31 Oct 2011, 02:24 PM
The internal build seems to fix the allowdelete and allowedit problems I was encountering, but now the radscheduler no longer seems to work with the radtooltipmanager. Can anyone else confirm this?

Mike
0
Plamen
Telerik team
answered on 02 Nov 2011, 06:10 PM
Hi Mfitzpatrick,

I researched the issue with the RadTooltipManager but could not find out what is not working as expected. Would you please specify what exactly is the different issue with the internal build and how can we reproduce it so we can inspect and fix the problem?

Regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
MFitzpatrick
Top achievements
Rank 1
answered on 03 Nov 2011, 01:15 PM
Thanks for replying to my post. I have posted this issue on the tooltip board. I initially thought that only the tooltips on the radscheduler were not working, but have since realized that none of my radtooltipmanager tooltips are working in ie9.

Thanks again

Mike
0
Rommel
Top achievements
Rank 1
answered on 04 Nov 2011, 08:22 AM
Hi Plamen Zdravkov,

I couldn't find the upgrade 2011.3.927.40 version of RadControls for ASP.NET AJAX as mention by you.
http://www.telerik.com/account/downloads/internal-builds.aspx

The only version I saw in the Internal Build is 2011.2

Where can I find the fix for this?
This error was not observed when I am using earlier Trial Version. This error surface only when I bought the product.

0
Plamen
Telerik team
answered on 07 Nov 2011, 08:42 PM
Hi Rumly,

You can refer to this blog post where Internal Builds are explained.

As for the RadToolTipManager issue if you still experience it would you please submit a support ticket that describes it so it can be separately reviewed?

Greetings,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Rommel
Top achievements
Rank 1
answered on 08 Nov 2011, 02:31 AM
Hi Plamen Zdravkov,

Is this the one that I am suppose to download to fix the "AllowDelete=false does not work" issue in RadScheduler?
Telerik.Web.UI_2011_2_1101_Dev_hotfix.zip (Release notes) 29 MB

Thanks.
0
Plamen
Telerik team
answered on 10 Nov 2011, 05:48 PM
Hi Rommel,

If you still have problems I have just tested with 2011, 3, 1027, 40 version and everything worked as expected. You can also just wait for the new release next week.

Regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Karl
Top achievements
Rank 1
answered on 26 Apr 2013, 09:21 AM
Is this still broken?

I'm using the controls with version 2012.1.411.40 on a .Net 4.0 web site and if I view the control on an iPhone or an iPad, and click on an appointment, I get the popup asking if I want to delete the appointment. If I click yes the appointment disappears. Fortunately this doesn't remove the appointment from the data source.

I do not want to the users to have the ability to do this as the page/data is for viewing only, and all of the editing functionality (add, edit and delete) should be disabled.

I have done the following to try to disable this from happening, but nothing I've done prevents this from happening.

    1.    Added the above mentioned OnClientAppointmentDataBound client side event
    2.    Added the server side AppointmentDataBound event and added the code "e.Appointment.AllowDelete = false;" to it.
    3.    Set AllowDelete="False" on the control in the aspx file.

I can't see anywhere else on the page or control where I can do anything else to try to prevent this from happening and really need some help with this.
0
Plamen
Telerik team
answered on 26 Apr 2013, 01:37 PM
Hi Karl,

 
You can try to set the following CSS style that will also prevent the deleting of appointments:

<style type="text/css">
       .rsAptDelete {
       display:none !important;
       }
   </style>

Hope this will be helpful.
Greetings,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Karl
Top achievements
Rank 1
answered on 26 Apr 2013, 03:37 PM
Thanks for this.

I could have sworn I'd tried this too at an earlier stage, but now I've tried it again, it's working now though.

Isn't it a little odd that this needs to be done though? Considering there are a number of places in code that set it?
0
Plamen
Telerik team
answered on 29 Apr 2013, 12:38 PM
Hi Karl,

 
It seems that the issue was a bug in the specific version you used and it is already fixed in the latest version of the control. Please excuse us for the inconvenience cause by it.

Greetings,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Chris Poirier
Top achievements
Rank 1
Answers by
MFitzpatrick
Top achievements
Rank 1
Plamen
Telerik team
Jayesh Goyani
Top achievements
Rank 2
tony
Top achievements
Rank 1
William Choo
Top achievements
Rank 1
Eirik H
Top achievements
Rank 2
Rommel
Top achievements
Rank 1
Karl
Top achievements
Rank 1
Share this question
or