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>
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
0
Tirumalesh
Top achievements
Rank 1
answered on 10 Oct 2011, 05:35 AM
still waiting for reply.
Thanks in Advance.
Thanks in Advance.
0
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
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?
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
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
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
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
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.
Regards,
Tirumalesh.
0
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
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.
Regards,
Tirumalesh.