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

Replaced Edit Form, Still Getting Mini Edit Form

4 Answers 14 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Kerry
Top achievements
Rank 1
Kerry asked on 25 Jul 2013, 08:43 PM
I used the method described in the following article: Scheduler - External Edit in RadDock

The new edit form works perfectly. However, after the new edit form closes, I still have this little, tiny edit form that has no functionality. The buttons don't do anything on it. I want that tiny form to go away. Any ideas?

Thanks.

4 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 26 Jul 2013, 05:34 AM
Hello,

 
You can control this behavior with the StartEditingInAdvancedForm and StartInsertingInAdvancedForm  properties of RadScheduler.

Regards,
Plamen
Telerik
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 the blog feed now.
0
Kerry
Top achievements
Rank 1
answered on 26 Jul 2013, 04:02 PM
I already have

<telerik:RadScheduler StartEditingInAdvancedForm="false">

in my markup and I interrupt the Insert method in server code. If I mark this property true, the standard edit form comes up.



0
Plamen
Telerik team
answered on 29 Jul 2013, 08:25 AM
Hi,

 
I am attaching an isolated sample of the demo where this functionality works as expected.

Hope this will be helpful.

Regards,
Plamen
Telerik
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 the blog feed now.
0
Kerry
Top achievements
Rank 1
answered on 06 Sep 2013, 02:24 PM
For some reason, I was unable to get the provided sample code to work.

I ended up utilizing a page analyzer to locate the css class of the window. Using header injection, I was able to hide the window.

The following code was adapted from: http://stackoverflow.com/questions/3941136/can-a-user-control-come-with-its-own-css-styles-embedded-in-the-user-control

Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
    
Dim lt As New Literal
    lt.Text = vbCrLf &
"<style type=""text/css"">"
    lt.Text &= vbCrLf & "    .rsAptEditFormWrapper"
    lt.Text &= vbCrLf & "    {"
    lt.Text &= vbCrLf & "        display: none !important;"
    lt.Text &= vbCrLf & "    }"
    lt.Text &= vbCrLf & "</style>" & vbCrLf
    Page.Header.Controls.Add(lt)
End Sub




Tags
Scheduler
Asked by
Kerry
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Kerry
Top achievements
Rank 1
Share this question
or