popup window link in a datagrid

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: popup window link in a datagrid

    no we aren't. we are using a datagrid on a simple ASPX page.

    regards,
    LIN


    "Ravikanth[MVP]" <dvravikanth@hotmail.com> wrote in message
    news:02e601c35d9c$6d5600a0$a001280a@phx.gbl...
    > Hi
    >
    > My guess you are trying to open hyperlink from frames.
    >
    > Ravikanth[MVP]
    >
    >
    > >-----Original Message-----
    > >i wanted to hyperlink a field in asp.net datagrid to
    > open a popup window
    > >which would provide more information.
    > >I tried this tutroial:
    > >[url]http://www.dotnetjunkies.com/tutorials.aspx?[/url]
    > tutorialid=219 but it throws up
    > >a [object] error.
    > >how can we make this happen ?
    > >
    > >please advice.
    > >
    > >Thank you,
    > >
    > >LIN
    > >
    > >
    > >
    > >
    > >.
    > >

    LIN Guest

  2. Similar Questions and Discussions

    1. popup window for rollover link
      I am converting a GoLive web site to Dreamweaver, and need to recreate some rollover links that open in a new smaller size popup window. I have...
    2. popup window from datagrid using asp.net
      I have a datagrid control that pulls images into a template column using the following code <asp:TemplateColumn HeaderText="Image">...
    3. Popup Window in a DataGrid
      Hi, Do u know how to make a HyperLinkColumn in a DataGrid that would pop up a new window with details of the row that the user clicked on. I...
    4. DataBinding (Refreshing) a DataGrid within a Popup Window
      Hello, I'm trying to set up a modal (preferably) popup window to do asimple web service query. The popup window contains somecriteria fields, a...
    5. dataGrid - link - popup window
      I need to create a datagrid where the column headers (not the items) are links. When a user clicks on a link, it brings up a popup window. I guess...
  3. #2

    Default Re: popup window link in a datagrid

    Hi
    Try this:

    In the DataGrid you are calling javascript function
    directly. Write a separate javascript function which
    will open new window and call that javascript function
    from datagrid rows.

    Replace the following code:

    DataNavigateUrlFormatString="javascript:varwin=win dow.open
    ('WebForm2.aspx?ProductID=
    {0}',null,'width=692,height=25');"


    DataNavigateUrlFormatString="javascript:OpenDetail sWindow
    ({0});"

    <script language= "JavaScript">
    function OpenDetailsWindow()
    {
    varwin=window.open('WebForm2.aspx?ProductID=
    {0}',null,'width=692,height=25');
    }
    </script>


    Ravikanth[MVP]

    >-----Original Message-----
    >no we aren't. we are using a datagrid on a simple ASPX
    page.
    >
    >regards,
    >LIN
    >
    >
    >"Ravikanth[MVP]" <dvravikanth@hotmail.com> wrote in
    message
    >news:02e601c35d9c$6d5600a0$a001280a@phx.gbl...
    >> Hi
    >>
    >> My guess you are trying to open hyperlink from frames.
    >>
    >> Ravikanth[MVP]
    >>
    >>
    >> >-----Original Message-----
    >> >i wanted to hyperlink a field in asp.net datagrid to
    >> open a popup window
    >> >which would provide more information.
    >> >I tried this tutroial:
    >> >[url]http://www.dotnetjunkies.com/tutorials.aspx?[/url]
    >> tutorialid=219 but it throws up
    >> >a [object] error.
    >> >how can we make this happen ?
    >> >
    >> >please advice.
    >> >
    >> >Thank you,
    >> >
    >> >LIN
    >> >
    >> >
    >> >
    >> >
    >> >.
    >> >
    >
    >
    >.
    >
    Ravikanth[MVP] Guest

  4. #3

    Default Re: popup window link in a datagrid

    Here is an article , in this i have explained how to open a new window when
    you press a button from datagrid. Same concept you can apply for you
    requirement.
    [url]http://www.microsoft.com/india/msdn/articles/PopupCalendarinASP.aspx[/url]

    --
    Saravana
    Microsoft India Community Star,MC**
    [url]www.extremeexperts.com[/url]



    "LIN" <junkvaluesnotallowed@football.com> wrote in message
    news:u$z24eZXDHA.1940@TK2MSFTNGP10.phx.gbl...
    > i wanted to hyperlink a field in asp.net datagrid to open a popup window
    > which would provide more information.
    > I tried this tutroial:
    > [url]http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=219[/url] but it throws
    up
    > a [object] error.
    > how can we make this happen ?
    >
    > please advice.
    >
    > Thank you,
    >
    > LIN
    >
    >
    >
    >

    Saravana Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139