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

[Solved] Popup window from ActionLink in grid [Not using ajax]

1 Answer 116 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
nitin
Top achievements
Rank 1
nitin asked on 05 Nov 2011, 10:04 AM
I want to open popup window when i click on a link cell in grid.
@section JavaScript{
    <script src="@Url.Content("~/Scripts/2011.2.712/telerik.draganddrop.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/2011.2.712/telerik.window.min.js")" type="text/javascript"></script>

    <script type="text/javascript" language="javascript">
        $(function () {

 // Shortcodes

            $(".lnkShortCodeAndKeyword").click(
                function (e) {
                    e.preventDefault();
                    var WShortCodeAndKeyword = $.telerik.window.create({
                        name: "ShortcodesWindow",
                        title: "Shortcodes",
                        contentUrl: $(this).attr('href'),
                        modal: true,
                        resizable: true,
                        draggable: true,
                        scrollable: true,
                        width: 960,
                        height: 600,
                        onClose: function () {
                            destruir(this);
                        }

                    }).data('tWindow').center();
                }
                }

but it is not opening up. Can any one help

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 07 Nov 2011, 02:27 PM
Hi Nitin,

Unfortunately the provided details are not sufficient to fully understand you scenario and implementation and be able to suggest where the problem might be. Therefore, it will be appreciated if you could provide a small runnable sample which demonstrates  the issue you are facing.

Regards,
Rosen
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
Tags
Grid
Asked by
nitin
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or