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

[Solved] Using MS Ajax toolkit in template

2 Answers 182 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Joe Ma
Top achievements
Rank 1
Joe Ma asked on 13 Nov 2007, 09:10 AM

  There is a MS Slider Extender used in my AdvancedInsertTemplate of the Scheduler. The finding indicates that the error messages ,the object reference is not an object execution instance, is always shown if enabling the Ajax feature of the Scheduler in RadAjaxManager. However, it is disappearred if removing the Ajax configuration.

  Could someone point me in the direction of how to solve this?

<AdvancedInsertTemplate> 
  <div style="position: relative; background: #E6E6E6; height: 100%; border: 1px solid #666666;">  
    <div style="margin-left: 10px; margin-top: 5px;">  
      Description:<br /> 
      <asp:TextBox ID="Field_Subject" Rows="5" Columns="20" runat="server" Text='<%# Bind("Subject") %>' Width="95%" TextMode="MultiLine"></asp:TextBox><br /> 
        <span style="width: 50px;">Start time:</span>&nbsp;  
        <radCln:RadDatePicker ID="Field_StartDate" runat="server" SelectedDate='<%# Bind("Start") %>'></radCln:RadDatePicker> 
        <radCln:RadTimePicker ID="Field_StartTime" runat="server" SelectedDate='<%# Bind("Start") %>'></radCln:RadTimePicker><br/>  
        <span style="width: 50px;">End time:</span>&nbsp;  
        <radCln:RadDatePicker ID="Field_EndDate" runat="server" SelectedDate='<%# Bind("End") %>'></radCln:RadDatePicker> 
        <radCln:RadTimePicker ID="Field_EndTime" runat="server" SelectedDate='<%# Bind("End") %>'></radCln:RadTimePicker><br/>  
        <span style="width: 100px;">Completed Ratio:</span>&nbsp;  
        <asp:TextBox ID="Field_CompletedRatio" runat="server"></asp:TextBox> 
        <asp:TextBox ID="Field_CompletedRatio_Value" runat="server" ReadOnly="true" Text="1" Width="25"></asp:TextBox>          <ajaxToolkit:SliderExtender ID="SliderExtender1" runat="server" Minimum="1" BoundControlID="Field_CompletedRatio_Value" TargetControlID="Field_CompletedRatio"></ajaxToolkit:SliderExtender><br/>  
        <span style="width: 100px;">Content Type ID:</span> 
        <asp:DropDownList ID="Field_ContentTypeID" runat="server" Width="204px"></asp:DropDownList><br/>  
        <span style="width: 100px;">Result Type ID:</span> 
        <asp:DropDownList ID="Field_ResultTypeID" runat="server" Width="204px"></asp:DropDownList><br/>  
        <span style="width: 100px;">Process Instance ID:</span> 
        <asp:DropDownList ID="Field_ProcessInstanceID" runat="server" Width="204px"></asp:DropDownList><br/>  
        <span style="width: 100px;">Workitem ID:</span> 
        <asp:DropDownList ID="Field_WorkitemID" runat="server" Width="204px"></asp:DropDownList>                     
        <div class="blueBox" style="margin-bottom: 5px; position: absolute; bottom: 0px">  
          <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert">  
            <asp:Image runat="server" ID="insertImage" ImageUrl="Images/Edit.gif" AlternateText="insert" /></asp:LinkButton> 
          <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"><asp:Image runat="server" ID="Image2" ImageUrl="Images/cancel.gif" AlternateText="cancel" /></asp:LinkButton> 
        </div> 
    </div> 
  </div> 
</AdvancedInsertTemplate> 

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 16 Nov 2007, 04:35 PM
Hello Joe,

Thank you for reporting this. However, we tried to reproduce the problem using the description and the code you provided, but everything worked as expected. Could you please see the attached project and let us know if we are missing something?


Best wishes,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Joe Ma
Top achievements
Rank 1
answered on 19 Nov 2007, 08:57 AM
Hi Peter,

    Thanks about your support. Yes, the problem is solved with the latest version after upgrading from Version: 2007.2 1010.

Kevin
Tags
Scheduler
Asked by
Joe Ma
Top achievements
Rank 1
Answers by
Peter
Telerik team
Joe Ma
Top achievements
Rank 1
Share this question
or