I was wondering if anyone has figured out the following
I have 4 items that have to be able to be refreshed from the Ajax manager control itself.
<
telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="pnlOrganizationMeta" />
<telerik:AjaxUpdatedControl ControlID="pnlOrganizationList" />
<telerik:AjaxUpdatedControl ControlID="pnlProjectList" />
<telerik:AjaxUpdatedControl ControlID="pnlStakeholderList" />
</UpdatedControls>
</telerik:AjaxSetting>
<
telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function refreshGrid(arg) {
if (arg != null) {
$find(
"<%= RadAjaxManager1.ClientID %>").ajaxRequest(arg);
}
}
</script>
</telerik:RadCodeBlock>
I am using Javascript to get the results of a radwindow close event. currently all of the items show the loading panel even though only one of them is actually being updated. Is there any way I could dynamically choose which one is updated or at least only show the loading panel for that one. With the older versions of the Telerik suite we would have multiple Ajax Managers on the page and control which one was updated depending on the argument passed to the Javascript. With the new version you can only have one AjaxManager on the page.
Thanks
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function refreshGrid(arg) {
if (arg != 'pnlOrganizationMeta') {
$find(
"<%= RadAjaxManager1.ClientID %>").ajaxRequest(arg);
}
if (arg != 'pnlProjectList') {
$find(
"<%= RadAjaxManager2.ClientID %>").ajaxRequest(arg);
}
}
</script>
</telerik:RadCodeBlock>
<telerik:RadDataPager ID="uiDataPager1" runat="server" PagedControlID="uiSearchResults" PageSize="10" Visible='<%# Container.PageCount != 1%>' ><div id="ctl00_MainContent_uiSearchResults_uiDataPager1" class="RadDataPager RadDataPager_Default"> <input type="hidden" name="ctl00_MainContent_uiSearchResults_uiDataPager1_ClientState" id="ctl00_MainContent_uiSearchResults_uiDataPager1_ClientState" autocomplete="off"> </div>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
|

Hello.
In the web application I have been developing, there is a web page page that uses the RadScheduler component with web service binding.
The RadScheduler component displays appointments grouped by resources.
Since the resources are loaded by a stored procedure that requires input parameters, class SchedulerInfo has been extended:
public class SchedulerInfoExt : SchedulerInfo { public Int16 ClubId { get; set; } public String ResourceType { get; set; } public String MembershipNumber { get; set; } public String InsertResult { get; set; } public SchedulerInfoExt(ISchedulerInfo baseInfo, Int16 clubId, String resourceType, String membershipNumber) : base(baseInfo) { ClubId = clubId; ResourceType = resourceType; MembershipNumber = membershipNumber; InsertResult = ""; } public SchedulerInfoExt() { } } In the web page, a RadDock component is used to implement a form that allows users to create appointments.
In the Data Provider class, the Insert method validates the business rules and creates the appointment. The scheduler info property InsertResult is set by the Insert method, indicating if the insertion was successful, if there was an error or if there was a violation of the business rules.
On the client side, function AppointmentsPopulated, associated with event OnClientAppointmentsPopulated, is supposed to display a message based on the content of the scheduler info property InsertResult, informing the user if the appointment was created or if there was an error.
Is it possible to access the scheduler info property InsertResult from the client side function AppointmentsPopulated?
Thank you in advance.
Paulo
