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

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

9 Answers 98 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Tirumalesh
Top achievements
Rank 1
Tirumalesh asked on 08 Oct 2011, 12:49 PM
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>


9 Answers, 1 is accepted

Sort by
0
Tirumalesh
Top achievements
Rank 1
answered on 10 Oct 2011, 05:35 AM
still waiting for reply.
Thanks in Advance.
0
Iana Tsolova
Telerik team
answered on 10 Oct 2011, 09:53 AM
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
0
Tirumalesh
Top achievements
Rank 1
answered on 10 Oct 2011, 12:00 PM
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?
0
Iana Tsolova
Telerik team
answered on 10 Oct 2011, 03:51 PM
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
0
Tirumalesh
Top achievements
Rank 1
answered on 10 Oct 2011, 04:18 PM
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?
0
Iana Tsolova
Telerik team
answered on 11 Oct 2011, 05:02 AM
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
0
Tirumalesh
Top achievements
Rank 1
answered on 11 Oct 2011, 05:39 AM
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.
0
Iana Tsolova
Telerik team
answered on 11 Oct 2011, 02:07 PM
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
0
Tirumalesh
Top achievements
Rank 1
answered on 13 Oct 2011, 03:22 PM
Thanks fro the reply.My problem has not solved yet,but these links are more useful.

Regards,
Tirumalesh.
Tags
Calendar
Asked by
Tirumalesh
Top achievements
Rank 1
Answers by
Tirumalesh
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or