when i select a date in raddatetimepicker no other action allowing.

10 posts, 0 answers
  1. Tirumalesh
    Tirumalesh avatar
    23 posts
    Member since:
    Aug 2011

    Posted 08 Oct 2011 Link to this post

    I'm using datetimepicker in xmlHttppanel.When i select date from datetimepicker i will not closing and also not allowing for another actions.
    my url:http://localhost:2264/ProTrak/Default.aspx#. A '#' is adding after selecting the datetimepicker.
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
       <AjaxSettings>
          <telerik:AjaxSetting AjaxControlID="RadTimePicker1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadTimePicker1" />
                        </UpdatedControls>
                 </telerik:AjaxSetting>
         </AjaxSettings>
    </telerik:RadAjaxManager>
      <telerik:RadXmlHttpPanel ID="RadXmlHttpPanel1" EnableClientScriptEvaluation="true"
                                        runat="server" OnServiceRequest="XmlHttpPanel_ServiceRequest" RenderMode="Block"
                                        Width="750px">
                     <table id="tblControl" runat="server" style="width: 750px;">
                         <tr>
                           <td>
                              <telerik:RadDateTimePicker ID="RadDateTimePicker1" runat="server" Culture="en-US" RegisterWithScriptManager="false" >                                            <Calendar ID="Calendar2" runat="server" EnableKeyboardNavigation="false" RegisterWithScriptManager="false">
                                       </Calendar>
                            </telerik:RadDateTimePicker>
                          </td>
                        </tr>
                      </table>
    </telerik:RadXmlHttpPanel>


  2. Tirumalesh
    Tirumalesh avatar
    23 posts
    Member since:
    Aug 2011

    Posted 10 Oct 2011 Link to this post

    still waiting for reply.
    Thanks in Advance.
  3. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 10 Oct 2011 Link to this post

    Hi Tirumalesh,

    Having script and server controls in the RadXmlHttpPanel is not a suggested practise. It is enough the you already ajaxified it with the RadAjaxManager, though it does not seems to invoke any post to the server which you would like to turn to callback. Therefore I suggest that you move outside of the RadXmlHttpPanel and see if it makes any difference. You can also try altering the RegisterWithScriptManager property and see how it goes.

    All the best,
    Iana Tsolova
    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
  4. Tirumalesh
    Tirumalesh avatar
    23 posts
    Member since:
    Aug 2011

    Posted 10 Oct 2011 Link to this post

    Thanks for the reply.
    I tried as you said,i write it after the Xmlhttppanel,

      <telerik:RadDateTimePicker ID="RadDateTimePicker1" runat="server" ShowPopupOnFocus="true" RegisterWithScriptManager="false">                                  <Calendar ID="Calendar2" runat="server" EnableKeyboardNavigation="false"  RegisterWithScriptManager="false">
                    </Calendar>
      </telerik:RadDateTimePicker> 

    but still the same issue,it will not allowing for another action even i placed it it out of the focus of RadXmlhttppanel.How do i proceed?
  5. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 10 Oct 2011 Link to this post

    Hi Tirumalesh,

    Please set the RegisterWithScriptManager property back to true if you are not registering the script manually. Otherwise the control will not work.

    Greetings,
    Iana Tsolova
    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
  6. Tirumalesh
    Tirumalesh avatar
    23 posts
    Member since:
    Aug 2011

    Posted 10 Oct 2011 Link to this post

    I'm need picker within the radxmlhttppanel, not the outside of it.So how do i proceed? what changes do need to do this work well or is there any other way to pick the date and time if this not work with XmlHttppanel?
  7. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 11 Oct 2011 Link to this post

    Hello Tirumalesh,

    RadDatePicker is a standalone control and you can of course use it outside the RadXmlHttpPanel, it is even suggested not to put it inside RadXmlHttpPanel. You can see the control demos for more information.
    However, can you elaborate why you want it to be in RadXmlHttpPanel, what is your goal?

    Kind regards,
    Iana Tsolova
    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
  8. Tirumalesh
    Tirumalesh avatar
    23 posts
    Member since:
    Aug 2011

    Posted 11 Oct 2011 Link to this post

    What i need is:I have grid which displays projects and when i selects the grid row the selected project details will be displayed in five grids with in the radxmlhttppanel.And also i need to show the due date(in datepicker) of the project and status(in combobox).The previous due date when we are adding a new project will be displayed in datepicker,if completed the project i need to change the  due date to some other extent.So when ever i select the datepicker to change the date, a popup was opened and it was not closed automatically after i select the date and if i go for another action means if i try add a new project the datepicker popup is always displaying on top.This is my goal.
    Regards,
    Tirumalesh.
  9. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 11 Oct 2011 Link to this post

    Hello Tirumalesh,

    I suggest that you use RadAjaxManager to ajaxify the grids. You can check the below demos for a reference:
    http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/firstlook/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/partialajaxification/defaultcs.aspx

    Additionally, use the RadXmlHttpPanel in case you need to update html content only, or at least non-script controls.

    Best wishes,
    Iana Tsolova
    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
  10. Tirumalesh
    Tirumalesh avatar
    23 posts
    Member since:
    Aug 2011

    Posted 13 Oct 2011 Link to this post

    Thanks fro the reply.My problem has not solved yet,but these links are more useful.

    Regards,
    Tirumalesh.
Back to Top