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!
> 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)
When you say a "server" button, I presume you're referring to the
<asp:Button /> webcontrol...?
> with the selected value of the DDL of the row
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...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
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!!!
>> 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 ;-))))
Apologies - I appreciate that English isn't your first language, but I have
no idea what that means...
>> 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
ddlProssimaOwner.Attributes.Add("onchange",
"window.open('MyOtherWindow.aspx?ID=' + this.value);");
> 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