
Prava kafle
Top achievements
Rank 1
Prava kafle
asked on 26 Sep 2011, 10:03 PM
Hi,
I want to attach client side events to StartDate and StartTime controls inside Advanced Edit Form.
On changing start time I want to modify end time using javascript fxns, similarly I want to modify end time on changing start time.
Is it possible to overwrite existing fxns.
function ClientFormCreated(sender, e) {
var advancedEditStartDate= $telerik.$("[id$='Form_StartDate']");
advancedEditStartDate.onchange(function() {
ModifyEndDate();
});
var advancedEditStartTime = $telerik.$("[id$='Form_StartTime']");
advancedEditStartTime.onchange(function() {
ModifyEndTime();
});
}
<telerik:RadScheduler ID="rsTicketsSchedule" OnClientFormCreated="ClientFormCreated" ..
...
</telerik:RadScheduler>
Thanks,
Prava
I want to attach client side events to StartDate and StartTime controls inside Advanced Edit Form.
On changing start time I want to modify end time using javascript fxns, similarly I want to modify end time on changing start time.
Is it possible to overwrite existing fxns.
function ClientFormCreated(sender, e) {
var advancedEditStartDate= $telerik.$("[id$='Form_StartDate']");
advancedEditStartDate.onchange(function() {
ModifyEndDate();
});
var advancedEditStartTime = $telerik.$("[id$='Form_StartTime']");
advancedEditStartTime.onchange(function() {
ModifyEndTime();
});
}
<telerik:RadScheduler ID="rsTicketsSchedule" OnClientFormCreated="ClientFormCreated" ..
...
</telerik:RadScheduler>
Thanks,
Prava
7 Answers, 1 is accepted
0
Hello Prava,
Please refer to the Using javascript/jQuery and CSS help topic where a similar functionality is shown.
Greetings,
Plamen Zdravkov
the Telerik team
Please refer to the Using javascript/jQuery and CSS help topic where a similar functionality is shown.
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

Prava kafle
Top achievements
Rank 1
answered on 27 Sep 2011, 05:58 PM
Hi Plamen,
I checked the site" Using javascript/jQuery and CSS " but could not find what I was looking for. I was able to hide the Advanced form from client side using jquery.
var scheduler = $find('<%=rsTicketsSchedule.ClientID %>');
scheduler.hideAdvancedForm();
On clicking "save" Button I want to extract all values from Advanced form and update an appointment by using webservice? How can I do that?
Thanks,
Prava
I checked the site" Using javascript/jQuery and CSS " but could not find what I was looking for. I was able to hide the Advanced form from client side using jquery.
var scheduler = $find('<%=rsTicketsSchedule.ClientID %>');
scheduler.hideAdvancedForm();
On clicking "save" Button I want to extract all values from Advanced form and update an appointment by using webservice? How can I do that?
Thanks,
Prava
0
Hello Prava,
You can try using the WebService binding help topic where is shown where you can generate the sample.
In the help topic that I sent you before there are separate paragraphs that correspond to web service binding mode.
Hope this will help you.
Best wishes, Plamen Zdravkov
the Telerik team
You can try using the WebService binding help topic where is shown where you can generate the sample.
In the help topic that I sent you before there are separate paragraphs that correspond to web service binding mode.
Hope this will help you.
Best wishes, 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

Prava kafle
Top achievements
Rank 1
answered on 30 Sep 2011, 03:40 PM
HI Plamen,
On clicking "save" Button in Advanced form, My client side code gathers appointment information and verifies it by using webservice, then if there is a conflict it shows the message box.
Now if the user hits the 'OK' button then it sends another request to webservice and updates database.
At the end it sends ajax request to refresh the scheduler.
Once the "OK" button is clicked I want to close the advanced form without causing postback. I was able to close it using scheduler.hideAdvancedForm() but after this the timeslots with different background color lost it's property and all timeslots in scheduler had background color with shade of Gray.
I want to close Advanced Form with client script and still maintain the special timeslot background color.
Thanks,
Prava
On clicking "save" Button in Advanced form, My client side code gathers appointment information and verifies it by using webservice, then if there is a conflict it shows the message box.
Now if the user hits the 'OK' button then it sends another request to webservice and updates database.
At the end it sends ajax request to refresh the scheduler.
Once the "OK" button is clicked I want to close the advanced form without causing postback. I was able to close it using scheduler.hideAdvancedForm() but after this the timeslots with different background color lost it's property and all timeslots in scheduler had background color with shade of Gray.
I want to close Advanced Form with client script and still maintain the special timeslot background color.
Thanks,
Prava
0
Hello Prava,
Please refer to our WebService demo where as you can check there is no post back on opening and closing the Advanced Form.
Best wishes,
Plamen Zdravkov
the Telerik team
Please refer to our WebService demo where as you can check there is no post back on opening and closing the Advanced Form.
Best wishes,
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

Prava kafle
Top achievements
Rank 1
answered on 05 Oct 2011, 04:36 PM
Hi Plamen,
I would love to use webservice for its speed and perfomance but while Reading up through the documentation in webservicebinding-binding.html I noticed this:
Currently, Grouped views are not fully supported when using Web Service data binding. At the moment only Day and Week View grouped by resource are available. The rest will be supported in the next versions.
Does the current version allow grouping by resources in all views(Day/Month/Timeline and week)?
Thanks,
Prava
I would love to use webservice for its speed and perfomance but while Reading up through the documentation in webservicebinding-binding.html I noticed this:
Currently, Grouped views are not fully supported when using Web Service data binding. At the moment only Day and Week View grouped by resource are available. The rest will be supported in the next versions.
Does the current version allow grouping by resources in all views(Day/Month/Timeline and week)?
Thanks,
Prava
0
Hi Prava,
In current version Grouping by resources is supported in all views when using WebService databinding when you set ResourcePopulationMode="ServerSide" like in the code:
The help topic will be updated thank you for reporting that.
Best Wishes,
Plamen Zdravkov
the Telerik team
In current version Grouping by resources is supported in all views when using WebService databinding when you set ResourcePopulationMode="ServerSide" like in the code:
<
WebServiceSettings
Path
=
"SchedulerWebService.asmx"
ResourcePopulationMode
=
"ServerSide"
/>
The help topic will be updated thank you for reporting that.
Best Wishes,
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