Maxwell
unread,Dec 9, 2009, 6:35:07 AM12/9/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi Guys,
Sorry for my delay in replying... anyway thanks for your advices.
I have achieved what I wanted by creating a separate page which loads
the DetailsView of each selected row on my gridview.
In the main page, I have used the JavaScript function:
string myScript = "window.open('ListDetails.aspx?id="+id+"');";
Page.ClientScript.RegisterStartupScript(this.GetType(),
"HelloListDetails", myScript, true);
In the separate page, inside the Page_Load, I wrote:
// to get the value sent by script written on the main page
string id_tmp = this.Context.Request.QueryString["id"];
After these steps, I was able to use the value on my DetailsView
functions.
M
> > > M- Hide quoted text -
>
> - Show quoted text -