Click here to Skip to main content
15,888,521 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to enable textboxes on radio button click using javascript Pin
Imran Khan Pathan16-Jun-08 21:25
Imran Khan Pathan16-Jun-08 21:25 
Questionhow to create dynamic hyperlinkfield in gridview Pin
sanjeev_150116-Jun-08 20:29
sanjeev_150116-Jun-08 20:29 
AnswerRe: how to create dynamic hyperlinkfield in gridview Pin
Imran Khan Pathan16-Jun-08 21:43
Imran Khan Pathan16-Jun-08 21:43 
Questionadd crystal mearge module in installshield x express Pin
Rinki Mukheraji16-Jun-08 19:36
Rinki Mukheraji16-Jun-08 19:36 
QuestionHiding Query string Pin
venkat86_ece16-Jun-08 17:53
venkat86_ece16-Jun-08 17:53 
AnswerRe: Hiding Query string Pin
Gayani Devapriya16-Jun-08 18:44
Gayani Devapriya16-Jun-08 18:44 
Questionplease solve this webservice problem Pin
Shaik Haneef16-Jun-08 17:09
Shaik Haneef16-Jun-08 17:09 
QuestionGridView to DetailsView (on a different page), passing of variable Pin
Desmond Lim16-Jun-08 16:28
Desmond Lim16-Jun-08 16:28 
Hi,

I'm trying to get the key of the GridView into the DetailsView and using Session doesn't seem to work.

The GridView (Parent page) has summaries of the data. I'm using a <select> to get the ID and redirect to the DetailsView page (Child page). 2 different pages.

What I'm currently doing is this

protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
Session["ID"] = GridView1.Rows[0].ToString();
Response.Redirect("DetailsPage.aspx");
}

And the DetailsPage has this for getting the parameter

<SelectParameters>
<asp:SessionParameter Name="id" SessionField="ID" Type="Int32" />
</SelectParameters>


I know the problem is that the data types are incompatible but how can I cast the data? Or is the problem more than that.

If this is the wrong way, how can I pass the ID from the parent to the child (different pages)? And I don't want to put the data in the URL.

Thanks.

Desmond
AnswerRe: GridView to DetailsView (on a different page), passing of variable Pin
Venkatesh Mookkan16-Jun-08 17:49
Venkatesh Mookkan16-Jun-08 17:49 
GeneralRe: GridView to DetailsView (on a different page), passing of variable Pin
Desmond Lim16-Jun-08 19:51
Desmond Lim16-Jun-08 19:51 
QuestionControl to show Visual Difference between 2 blocks of Text like Word Compare Pin
Member 77672016-Jun-08 11:05
Member 77672016-Jun-08 11:05 
AnswerRe: Control to show Visual Difference between 2 blocks of Text like Word Compare Pin
Christian Graus16-Jun-08 11:36
protectorChristian Graus16-Jun-08 11:36 
QuestionAuto website backup Pin
dptalt16-Jun-08 9:23
dptalt16-Jun-08 9:23 
AnswerRe: Auto website backup Pin
Christian Graus16-Jun-08 11:37
protectorChristian Graus16-Jun-08 11:37 
AnswerRe: Auto website backup Pin
N a v a n e e t h16-Jun-08 21:31
N a v a n e e t h16-Jun-08 21:31 
QuestionCount Membership Pin
keith12316-Jun-08 8:49
keith12316-Jun-08 8:49 
AnswerRe: Count Membership Pin
Christian Graus16-Jun-08 11:39
protectorChristian Graus16-Jun-08 11:39 
GeneralRe: Count Membership Pin
keith12316-Jun-08 12:05
keith12316-Jun-08 12:05 
QuestionFillschema - Problem Pin
FerJones16-Jun-08 8:47
FerJones16-Jun-08 8:47 
Questionaccordion header style missing in IE6 Pin
For_IT16-Jun-08 6:55
For_IT16-Jun-08 6:55 
Questionscript function Pin
trilokharry16-Jun-08 4:42
trilokharry16-Jun-08 4:42 
AnswerRe: script function Pin
Parwej Ahamad16-Jun-08 5:38
professionalParwej Ahamad16-Jun-08 5:38 
AnswerRe: script function Pin
Jay Royall16-Jun-08 5:39
Jay Royall16-Jun-08 5:39 
QuestionGridview blanks cell returns &nbsp !!! Pin
kindman_nb16-Jun-08 4:25
kindman_nb16-Jun-08 4:25 
AnswerRe: Gridview blanks cell returns &nbsp !!! Pin
Parwej Ahamad16-Jun-08 5:27
professionalParwej Ahamad16-Jun-08 5:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.