CrossPagePostBack between Pages with Gridview and DetailsView

Last post 05-09-2008 4:58 PM by moises.dl. 1 replies.

Sort Posts:

  • CrossPagePostBack between Pages with Gridview and DetailsView

    05-09-2008, 3:26 PM
    • Loading...
    • AngieMarie
    • Joined on 04-23-2008, 8:25 PM
    • Posts 28

    Can crosspagepostback take a selected record id on a gridview and pass that value to the related foreign key field in detailsview in insert mode ?

  • Re: CrossPagePostBack between Pages with Gridview and DetailsView

    05-09-2008, 4:58 PM
    Answer
    • Loading...
    • moises.dl
    • Joined on 09-12-2006, 3:17 PM
    • salt lake city
    • Posts 385

    you mean liek session or veiwstate or query string param? or what i dont really get your question any value you get from selected index you can grab on selcedindex event and then put it in session then onpostback do if(!ispostback)

    {
    }else

    {

    you go here! and then get it out of session and pass it to your details view? or am i way off
    }

    Thanks A Bunch
Page 1 of 1 (2 items)