Abhishek Dixit
Top achievements
Rank 1
Abhishek Dixit
asked on 30 Apr 2009, 02:02 PM
Hi Telerik Team,
I am using RadDock to show a popup from the scheduler control. The RadDock has a custom control in it which has various controls that do postback. Now when I double click on the scheduler control, my RadDock pops up fine and with the required controls inside it. But when a postback occurs from inside the RadDock, the RadDock vanishes. Then again if a click on the scheduler control, RadDock comes up with the refreshed page.
So I dont want the RadDock to vanish until i click the OK/Cancel button. Also can i make it a modal popup.
Regards,
Abhishek
I am using RadDock to show a popup from the scheduler control. The RadDock has a custom control in it which has various controls that do postback. Now when I double click on the scheduler control, my RadDock pops up fine and with the required controls inside it. But when a postback occurs from inside the RadDock, the RadDock vanishes. Then again if a click on the scheduler control, RadDock comes up with the refreshed page.
So I dont want the RadDock to vanish until i click the OK/Cancel button. Also can i make it a modal popup.
Regards,
Abhishek
11 Answers, 1 is accepted
0
Hi Abhishek Dixit,
I suggest you add a RadAjaxPAnel control in your dock so the postback is ajaxified.
Unfortunately you cannot make RadDock modal.
Regards,
Albert
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I suggest you add a RadAjaxPAnel control in your dock so the postback is ajaxified.
Unfortunately you cannot make RadDock modal.
Regards,
Albert
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Abhishek Dixit
Top achievements
Rank 1
answered on 04 May 2009, 01:43 PM
Hi Telerik Team,
Thanks for the suggestion. Could you also point me to an example of using RadDock with RadAjaxPanel (sample aspx). My page already has an asp updatepanel also.
Also, is there any way for scheduler to open a modal popup.
Regards,
Abhishek
Thanks for the suggestion. Could you also point me to an example of using RadDock with RadAjaxPanel (sample aspx). My page already has an asp updatepanel also.
Also, is there any way for scheduler to open a modal popup.
Regards,
Abhishek
0
Accepted
Hello Abhishek,
I used the code from our online example(RadScheduler and RadDock) and change it to meet your requirements.
In the attached example you could add postback controls into the modal RadDock, so once you click them the RadDock will stays open.
Also I configured the RadDock to be shown as a modal RadDock. Please note however, that RadDock does not officially support modality.
Let us know if you have any additional questions.
Greetings,
Petio Petkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I used the code from our online example(RadScheduler and RadDock) and change it to meet your requirements.
In the attached example you could add postback controls into the modal RadDock, so once you click them the RadDock will stays open.
Also I configured the RadDock to be shown as a modal RadDock. Please note however, that RadDock does not officially support modality.
Let us know if you have any additional questions.
Greetings,
Petio Petkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Abhishek Dixit
Top achievements
Rank 1
answered on 08 May 2009, 02:01 PM
Hi Petio Petkov,
Thanks a lot for the code, and sorry for the delay.
But alas the behavior is still the same - on postback, the raddock is closed/hidden though the next time it opens with the latest data.
The only difference I have in my code is that since I am using asp scriptmanager through my master web site, I cant use the Telerik's scriptmanager.
Waiting for your response.
Regards,
Abhishek
Thanks a lot for the code, and sorry for the delay.
But alas the behavior is still the same - on postback, the raddock is closed/hidden though the next time it opens with the latest data.
The only difference I have in my code is that since I am using asp scriptmanager through my master web site, I cant use the Telerik's scriptmanager.
Waiting for your response.
Regards,
Abhishek
0
Abhishek Dixit
Top achievements
Rank 1
answered on 08 May 2009, 02:29 PM
Hi Petio Petkov,
I am also open if there is some other way to launch a (modal) popup from the scheduler control, which meets the criteria that it should close only when user clicks the close button.
Regards,
Abhishek
I am also open if there is some other way to launch a (modal) popup from the scheduler control, which meets the criteria that it should close only when user clicks the close button.
Regards,
Abhishek
0
Abhishek Dixit
Top achievements
Rank 1
answered on 11 May 2009, 04:29 AM
Hi Petio Petkov,
Another update is that in the function dockInitialize, the control never goes inside the block -
Another update is that in the function dockInitialize, the control never goes inside the block -
if
(dock.get_closed() == false).
So dock.get_closed() is always true in my case.
I dont know if this is useful but just thought of posting it to you.
Regards,
Abhishek
0
Hello Abhishek,
I tested the code which I sent at our side and everything works fine. I changed the RadScriptManager with ScriptManager but still all is working as expected.
I cannot tell you for sure where is the problem on your side. Please open a new support thread and send us a running project where we could reproduce it - once we receive it, we will do our best to help you.
Kind regards,
Petio Petkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I tested the code which I sent at our side and everything works fine. I changed the RadScriptManager with ScriptManager but still all is working as expected.
I cannot tell you for sure where is the problem on your side. Please open a new support thread and send us a running project where we could reproduce it - once we receive it, we will do our best to help you.
Kind regards,
Petio Petkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Abhishek Dixit
Top achievements
Rank 1
answered on 12 May 2009, 07:01 AM
Hi Petio Petkov,
I have created a demo project where I have reproduced the issue. I will open a support ticket immediately and send you the required code.
Regards,
Abhishek
I have created a demo project where I have reproduced the issue. I will open a support ticket immediately and send you the required code.
Regards,
Abhishek
0
Abhishek Dixit
Top achievements
Rank 1
answered on 12 May 2009, 07:32 AM
Hello Petio Petkov,
First of all, I am very sorry - your code works great!.
Actually I had only used incorrectly one of your javascript functions.
So thanks a ton for your efforts. I really needed this functionality.
Hopefully one last question on this!, now everything is working as expected but when I click on the OK button, my RadDock first closes but then again pops up open. This is not there with the Cancel button.
Thanks a lot,
Abhishek
First of all, I am very sorry - your code works great!.
Actually I had only used incorrectly one of your javascript functions.
So thanks a ton for your efforts. I really needed this functionality.
Hopefully one last question on this!, now everything is working as expected but when I click on the OK button, my RadDock first closes but then again pops up open. This is not there with the Cancel button.
Thanks a lot,
Abhishek
0
Accepted
Hi Abhishek,
If you press the UPDATE button in the example which I sent then RadDock will not popup and stays closed.
Do you mean something else with "click OK button"?
Best wishes,
Petio Petkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
If you press the UPDATE button in the example which I sent then RadDock will not popup and stays closed.
Do you mean something else with "click OK button"?
Best wishes,
Petio Petkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Abhishek Dixit
Top achievements
Rank 1
answered on 14 May 2009, 10:24 AM
Hi Petio Petkov,
Thanks for everything - it is working as expected.
I had changed the ID of the Submit button, when I changed it back, it worked.
Regards,
Abhishek
Thanks for everything - it is working as expected.
I had changed the ID of the Submit button, when I changed it back, it worked.
Regards,
Abhishek