Professional Web Applications Themes

popup window link in a datagrid - ASP.NET General

no we aren't. we are using a datagrid on a simple ASPX page. regards, LIN "Ravikanth[MVP]" <dvravikanthhotmail.com> wrote in message news:02e601c35d9c$6d5600a0$a001280aphx.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, ...

  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]" <dvravikanthhotmail.com> wrote in message
    news:02e601c35d9c$6d5600a0$a001280aphx.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. #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]" <dvravikanthhotmail.com> wrote in
    message
    >news:02e601c35d9c$6d5600a0$a001280aphx.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

  3. #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" <junkvaluesnotallowedfootball.com> wrote in message
    news:u$z24eZXDHA.1940TK2MSFTNGP10.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

Similar Threads

  1. popup window for rollover link
    By emfarrell in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 3
    Last Post: April 5th, 06:37 AM
  2. popup window from datagrid using asp.net
    By csgraham74 in forum ASP.NET Data Grid Control
    Replies: 5
    Last Post: June 2nd, 08:17 PM
  3. Popup Window in a DataGrid
    By adish11 in forum ASP.NET Data Grid Control
    Replies: 2
    Last Post: August 7th, 08:53 AM
  4. DataBinding (Refreshing) a DataGrid within a Popup Window
    By Frankie Myers via .NET 247 in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: June 17th, 08:30 AM
  5. dataGrid - link - popup window
    By popsovy@rusmex.com in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: February 3rd, 03:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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