GridView with DDL and selected value

Discussion in 'ASP .Net' started by mik, May 11, 2008.

  1. mik

    mik Guest

    I've a gridview with a DDL in each row and I would like allow the user
    to open a new page (using a server button, image button, hyperlink...
    this isn't a problem) with the selected value of the DDL of the row



    I've tried with a a hyperlink... but I don't know how to use the
    selected value of the row


    <asp:TemplateField HeaderText="Det" SortExpression="Data">
    <ItemTemplate>
    <div align="center"><a
    href='javascript:fullscreen("Page.aspx....????????????")'><img
    src="toolbar/add.gif" border="0"></a></div>
    </ItemTemplate>
    <HeaderStyle CssClass="Testo8" BackColor="#00005D" />
    <ItemStyle Width="30px" />
    </asp:TemplateField>
    <asp:TemplateField HeaderText="RGP" SortExpression="Data">
    <ItemTemplate>
    <div align="left">
    <asp:DropDownList ID="ddlProssimaOwner"
    runat="server" CssClass="Text11" />
    </div>
    </ItemTemplate>
    <HeaderStyle CssClass="Testo8" BackColor="#00005D" />
    </asp:TemplateField>



    Thanks for help me!
     
    mik, May 11, 2008
    #1
    1. Advertising

  2. mik

    mik Guest


    > When you say a "server" button, I presume you're referring to the
    > <asp:Button /> webcontrol...?


    I Can use all object... I would like only open a page with the selected
    value you can you the objact that you prefer ;-))))


    > Next question: when you say "open a new page", do you actually mean
    > opening a new page in a separate browser window, or do you mean redirect
    > to another page...?


    I would like to open a PopUp (or a browser windows) with the
    selectedvalue of the DDL of the row

    Thanks for help me!!!
     
    mik, May 11, 2008
    #2
    1. Advertising

  3. mik

    mik Guest


    > Apologies - I appreciate that English isn't your first language, but I
    > have no idea what that means...


    I would like to open a new page with a parameter ... and this parameter
    is the selectedvalue of a dropdownlist of the row

    thanks
     
    mik, May 11, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marina
    Replies:
    0
    Views:
    926
    Marina
    Aug 12, 2003
  2. Randy Rubin

    Selected Item On Bound DDL

    Randy Rubin, Jul 15, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    976
    Norman Yuan
    Jul 15, 2004
  3. Jim in Arizona
    Replies:
    0
    Views:
    440
    Jim in Arizona
    Apr 5, 2007
  4. pwk283
    Replies:
    0
    Views:
    351
    pwk283
    Nov 9, 2007
  5. mik
    Replies:
    1
    Views:
    435
    Eliyahu Goldin
    May 12, 2008
Loading...

Share This Page