Emilie Lessard
Top achievements
Rank 1
Emilie Lessard
asked on 30 Nov 2009, 08:27 PM
Hi!
I'm using the radscheduler with a custom advanced form.
Both the advanced form and the page containing it have EnableViewState to true but I'm still having post back issues.
When a control in the advanced form fires a postback, all data binded to the advanced form is cleared and the state of the controls are reset.
How do you prevent this?
thanks!
I'm using the radscheduler with a custom advanced form.
Both the advanced form and the page containing it have EnableViewState to true but I'm still having post back issues.
When a control in the advanced form fires a postback, all data binded to the advanced form is cleared and the state of the controls are reset.
How do you prevent this?
thanks!
11 Answers, 1 is accepted
0
Hello Emilie,
How exactly do you implement your custom advanced form for RadScheduler? You can download a sample from here and test it by adding a postback button in AdvancedForm.ascx:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/sample-project-of-the-customizing-the-advanced-template-example.aspx
The controls in the advanced from should persist their state.
Best wishes,
Peter
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
How exactly do you implement your custom advanced form for RadScheduler? You can download a sample from here and test it by adding a postback button in AdvancedForm.ascx:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/sample-project-of-the-customizing-the-advanced-template-example.aspx
The controls in the advanced from should persist their state.
Best wishes,
Peter
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Emilie Lessard
Top achievements
Rank 1
answered on 01 Dec 2009, 10:23 PM
Hum I downloaded the examples but to be honest, there's just so much stuff in those pages with all the panels that I can't make head and tails out of it.
Do you have any simpler example package (basic)?
We simply declared the scheduler like this :
Do you have any simpler example package (basic)?
We simply declared the scheduler like this :
<telerik:RadScheduler runat="server" ID="eventScheduler" |
Width="850px" Height="100%" |
OnAppointmentInsert="eventScheduler_AppointmentInsert" |
OnAppointmentUpdate="eventScheduler_AppointmentUpdate" |
OnAppointmentDelete="eventScheduler_AppointmentDelete" |
DataKeyField="ID" |
DataSubjectField="Subject" |
DataStartField="Start" |
DataEndField="End" |
StartInsertingInAdvancedForm="true" |
StartEditingInAdvancedForm="true" |
OnAppointmentDataBound ="eventScheduler_AppointmentDataBound" |
> |
<AdvancedEditTemplate> |
<uc1:AdvancedForm runat="server" EnableViewState="true" ID="AdvancedEditForm" |
Subject='<%# Bind("Subject") %>' |
Start='<%# Bind("Start") %>' |
End='<%# Bind("End") %>'/> |
</AdvancedEditTemplate> |
<AdvancedInsertTemplate> |
<uc1:AdvancedForm runat="server" ID="AdvancedInsertForm" |
Subject='<%# Bind("Subject") %>' |
Start='<%# Bind("Start") %>' |
End='<%# Bind("End") %>'/> |
</AdvancedInsertTemplate> |
</telerik:RadScheduler> |
0
Hello Emilie,
We don't have anything simpler from the demo for Q3 2009 from the kb article(SchedulerCustomAdvancedFormQ3_2009.zip)
If you need help with anything specific related to this demo, we will be glad to assist you.
All the best,
Peter
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
We don't have anything simpler from the demo for Q3 2009 from the kb article(SchedulerCustomAdvancedFormQ3_2009.zip)
If you need help with anything specific related to this demo, we will be glad to assist you.
All the best,
Peter
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Rob
Top achievements
Rank 1
answered on 09 Jun 2011, 11:23 AM
Hi,
Was this ever resolved.
I am currently expericening the same issue, the postback doesnt repopulate the controls, however the request.form object does contain all the text being posted back?
Was this ever resolved.
I am currently expericening the same issue, the postback doesnt repopulate the controls, however the request.form object does contain all the text being posted back?
0
Hello Rob,
We have simplified the advanced templates since 2009. Do you use the user controls from the latest version of the Advanced Templates demo.
All the best,
Peter
the Telerik team
We have simplified the advanced templates since 2009. Do you use the user controls from the latest version of the Advanced Templates demo.
All the best,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
nissim
Top achievements
Rank 1
answered on 16 Apr 2012, 10:22 AM
Hi,
Thank you for the example, it's help me very much but still didn't slove my problem ,
in my advanced form I have RadComboBox with Server Side Event and then
all data binded to the advanced form is cleared and the state of the controls are reset.
thanks for help,
Bella.
Thank you for the example, it's help me very much but still didn't slove my problem ,
in my advanced form I have RadComboBox with Server Side Event and then
all data binded to the advanced form is cleared and the state of the controls are reset.
thanks for help,
Bella.
0
Hi Bella,
Can you open a support ticket and send us a simple demo of the issue which we can test locally?
Kind regards,
Peter
the Telerik team
Can you open a support ticket and send us a simple demo of the issue which we can test locally?
Kind regards,
Peter
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
chrbra
Top achievements
Rank 1
answered on 06 Mar 2013, 11:19 AM
Hi,
is the problem already fixed? I have the problem with the latest version of Radscheduler, I have some serverside events for my radcomboboxes on the form and after autopostback nothing is repopulated and the controls are empty.
is the problem already fixed? I have the problem with the latest version of Radscheduler, I have some serverside events for my radcomboboxes on the form and after autopostback nothing is repopulated and the controls are empty.
0
Hello,
Could you please clarify whether you are experiencing the described problem with our latest version of the Advanced Templates demo.Please watch here that demo project when the "Room" RadComboBox is subscribed for SelectedIndexChaged server-side event and a label control to print the selected item. All existing data on the form is persisted and the RadComboBox control is repopulated. Please clarify if there is different in your project and how we can replicate the issue that you are facing.
Please find here a runnable project that contains a user control representing the RadScheduler advanced form.
Regards,
Boyan Dimitrov
the Telerik team
Could you please clarify whether you are experiencing the described problem with our latest version of the Advanced Templates demo.Please watch here that demo project when the "Room" RadComboBox is subscribed for SelectedIndexChaged server-side event and a label control to print the selected item. All existing data on the form is persisted and the RadComboBox control is repopulated. Please clarify if there is different in your project and how we can replicate the issue that you are facing.
Please find here a runnable project that contains a user control representing the RadScheduler advanced form.
Regards,
Boyan Dimitrov
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
DAVY
Top achievements
Rank 1
Iron
answered on 20 Oct 2016, 10:31 PM
Hi,
I'm having the same problem, I tried to add ressource combo to implement cascading dropdown.
But when I change the first combo no event is triggered to filter the second one.
I can't figure out how to implement this.
Could you help me.
Regards
0
Hello Davy,
For the Cascading ComboBoxes functionality in the Advanced form I would recommend reviewing the Implement related RadComboBox controls in the advanced form Code Library and the RadScheduler Resource Type Cascading Dropdown forum thread.
If that does not help, I would like to ask you to modify the provided code library so that it implements your case or prepare a runnable sample project and send it to us in an official support ticket.
Regards,
Peter Milchev
Telerik by Progress
For the Cascading ComboBoxes functionality in the Advanced form I would recommend reviewing the Implement related RadComboBox controls in the advanced form Code Library and the RadScheduler Resource Type Cascading Dropdown forum thread.
If that does not help, I would like to ask you to modify the provided code library so that it implements your case or prepare a runnable sample project and send it to us in an official support ticket.
Regards,
Peter Milchev
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.