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

[Solved] Modal window inside a modal window

29 Answers 328 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pak
Top achievements
Rank 1
Pak asked on 21 Jun 2011, 09:55 AM
Dear sir/madam

I have a modal window and when invoking another modal window from the first modal window, I was able to click/change on the fields on the first modal window. Is it possible to have a modal window inside a modal window without being able to change the first modal window?

Thank you
best regards

29 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 22 Jun 2011, 10:05 AM
Hi Pak,

This issue has been previously reported, and we fixed it in the latest internal build that was uploaded just now.

Best wishes,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Renee
Top achievements
Rank 1
answered on 07 Jul 2011, 07:51 PM
In a related issue, it's a known IE6 issue that <select> lists bleed through layers.  So, when I have a modal window on top of another modal window which contains a <select> list, I see it.  The only fix we know of is to have an iframe behind the modal window which prevents the bleed through.  Unfortunately we are required to support IE6 because of our software's user base.  Does Telerik support IE6 in this scenario? 
0
Alex Gyoshev
Telerik team
answered on 08 Jul 2011, 08:37 AM
Hello Renee,

We do not support this approach out of the box. Since you need this for your customers, you can replace the overlay element in the telerik.window.js file (overlay client-side method):
/* old */
overlay = $('<div class="t-overlay" />')
/* new */
overlay = $('<iframe src="javascript:\'\'" frameborder="0" class="t-overlay" />')

Greetings,
Alex Gyoshev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Patrik
Top achievements
Rank 1
answered on 25 Jul 2011, 04:41 PM
Hello!

I am using the newest version 2011.2.712 and i still experience this issue. Has this bug fix been released yet?
http://aspnet-scripts.telerikstatic.com/mvcz/2011.2.712/telerik.window.min.js


Regards
Patrick
0
Alex Gyoshev
Telerik team
answered on 26 Jul 2011, 06:35 AM
Hi Patrik,

If you mean the "modal window invoking another modal window" issue, it is included in the official Q2 build.

For the IE6 issue, you need to modify the source to fix it.

Regards,
Alex Gyoshev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Patrik
Top achievements
Rank 1
answered on 29 Aug 2011, 03:50 PM
I created a new entry since it was a slightly different topic, my bad.

http://www.telerik.com/community/forums/aspnet-mvc/window/window-is-loosing-its-modal-effect.aspx
0
Venkatesh
Top achievements
Rank 1
answered on 13 Sep 2011, 11:40 AM
Hi,

  Has this problem been resolved ?
Becuase am also facing the same problem.
When i open modal window inside the modal window, then parent modal window effect was lost ...??

Am also using Q2 version only.


regards,
Venkatesh K
0
Patrik
Top achievements
Rank 1
answered on 13 Sep 2011, 11:53 AM
Venkatesh, it has been solved. Please take a look here:
http://www.telerik.com/community/forums/aspnet-mvc/window/window-is-loosing-its-modal-effect.aspx

Regards
Patrick
0
Venkatesh
Top achievements
Rank 1
answered on 14 Sep 2011, 02:42 AM
Patrik,
 Thanks for your prompt respone.
I had tried to open the below link but its getting server error...
Please assist.



regards,
Venkatesh
0
Venkatesh
Top achievements
Rank 1
answered on 29 Sep 2011, 06:03 AM
Hi Patrik,

   Still am not able to open link wihch you provided earlier..???

http://www.telerik.com/community/forums/aspnet-mvc/window/window-is-loosing-its-modal-effect.aspx

Do you able to access this link ??

regards,
Venkatesh
0
Djordje
Top achievements
Rank 1
answered on 30 Sep 2011, 08:45 AM
Could't open this link.
0
Venkatesh
Top achievements
Rank 1
answered on 03 Oct 2011, 02:40 AM
Hi,
  Am getting the Server and and i have attached the screen shot what i got..
Can some one help on this..

Thanks in Advance...


regards,
Venkatesh
0
Igor
Top achievements
Rank 2
answered on 11 Oct 2011, 08:39 AM
Hi!

I was not able to open the link too (http://www.telerik.com/community/forums/aspnet-mvc/window/window-is-loosing-its-modal-effect.aspx
).
Anyway i faced same problem as described, by using the latest version 2011.2.914 of MVC extensions.

I have added grid into modal window and changed the Grid Editor Mode to Popup (GridEditMode.PopUp)
When i click on the Edit button - edit window for the grid apear on the bottom order (behind the main modal window, that contais the grid)
and also it seems like a non-modal window related to main window.

<% Html.Telerik().Window()
          .Name("Window")
          .Modal(true)
          .Content(() =>
          {%>
   <%= Html.Telerik().Grid<GridInWindow.Models.TestModel>()
       .Name("Grid")
       .DataKeys(keys =>
       {
           keys.Add(item => item.id);
       })
       .ToolBar(commands =>
       {
           commands.Insert().ButtonType(GridButtonType.BareImage).ImageHtmlAttributes(new { style = "margin-left:0" });
       })
       .DataBinding(dataBinding =>
       {
           dataBinding.Ajax()
               .Select("_SelectItems", "Home")
               .Insert("_InsertItem", "Home")
               .Update("_UpdateItem", "Home")
               .Delete("_DeleteItem", "Home");
       })
       .Columns(columns =>
       {
           columns.Command(commands =>
           {
               commands.Edit().ButtonType(GridButtonType.BareImage);
               commands.Delete().ButtonType(GridButtonType.BareImage);
           });
       })
       .Editable(editing => editing.Mode(GridEditMode.PopUp))
   %>
   <%})
          .Render();
   %>


Attaching the test project with this issue.
Thank you for cooperation!
0
Venkatesh
Top achievements
Rank 1
answered on 11 Oct 2011, 09:55 AM
Hi,

 You may refer below post. Its too related to same issue..
You may try out this solution...

http://www.telerik.com/community/forums/aspnet-mvc/window/modal-window-loses-modal-behaviour-after-ajaxrequest.aspx
0
Igor
Top achievements
Rank 2
answered on 11 Oct 2011, 10:57 AM
Venkatesh,

thank you for the link, but there is still problem with window modality, which was not solved unfortunately.
0
Atanas Korchev
Telerik team
answered on 11 Oct 2011, 04:18 PM
Hi Igor,

 What is the problem you are referring to? Any chance to provide any steps to reproduce this problem? We need to somehow reproduce this problem in order to address it.

Regards,
Atanas Korchev
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Djordje
Top achievements
Rank 1
answered on 11 Oct 2011, 04:20 PM
0
Dimo
Telerik team
answered on 11 Oct 2011, 04:51 PM
Hello Djordje,

The problem with newly opened Windows not displaying on top of all others is fixed in the latest internal build. Try using that one.

Greetings,
Dimo
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Tomas
Top achievements
Rank 1
answered on 11 Oct 2011, 05:06 PM
If i dont want to change all the files because i made changes, which file i have to updated to solution the problem.
Thks
0
Dimo
Telerik team
answered on 11 Oct 2011, 05:10 PM
Hello Tomas,

You can update only telerik.window.js

Greetings,
Dimo
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Tomas
Top achievements
Rank 1
answered on 11 Oct 2011, 05:15 PM
Were i can take it? Thks
0
Djordje
Top achievements
Rank 1
answered on 11 Oct 2011, 07:52 PM
Dimo, Atanas
as you can see in my solution I am using the latest build 2011.2.914.
http://www.telerik.com/ClientsFiles/303560_MultipleModalWindows.zip 
and still get those problems.
0
Igor
Top achievements
Rank 2
answered on 12 Oct 2011, 05:23 AM
hi, Atanas

my problem was reproduced in this attachment
http://www.telerik.com/ClientsFiles/305837_GridInWindow.zip
when opening edit window (for Grid), it will open behind the main modal window, as described above in my post (http://www.telerik.com/community/forums/aspnet-mvc/window/modal-window-inside-a-modal-window.aspx#1833268).

I am using last build  2011.2.914 
0
Dimo
Telerik team
answered on 12 Oct 2011, 08:08 AM
Hello all,

As I mentioned, you need the latest internal (unofficial) build, which is available for developers with a purchased licence.

http://www.telerik.com/account/your-products/internal-builds.aspx

Best wishes,
Dimo
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Igor
Top achievements
Rank 2
answered on 12 Oct 2011, 08:23 AM
Dimo, thanks for answer!

i am trying to download latest build, but i got message
No internal builds for Telerik Extensions for ASP.NET MVC 2011.2 914 have been uploaded recently.


Should i download 2011.2.902 build instead, which is the latest available internal build?
0
Dimo
Telerik team
answered on 12 Oct 2011, 12:29 PM
Hello Igor,

You should be able to download an internal build uploaded today (2011.2.1012), please try again and let me know if there is a problem.

Kind regards,
Dimo
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Igor
Top achievements
Rank 2
answered on 12 Oct 2011, 12:47 PM
Dimo, thank you very much i will try it!
0
Igor
Top achievements
Rank 2
answered on 12 Oct 2011, 12:57 PM
Hi guys,
i've just checked the new internal build 2011.2.1012 (updated  the only all *.js files in my project from Telerik scripts) and the problem was gone.
Thank you very much for your efforts! 
0
Tomas
Top achievements
Rank 1
answered on 13 Oct 2011, 08:28 PM
Somebody can pass me the *.js files?
Tags
Window
Asked by
Pak
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Renee
Top achievements
Rank 1
Patrik
Top achievements
Rank 1
Venkatesh
Top achievements
Rank 1
Djordje
Top achievements
Rank 1
Igor
Top achievements
Rank 2
Atanas Korchev
Telerik team
Dimo
Telerik team
Tomas
Top achievements
Rank 1
Share this question
or