Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

crosspage postback mainpage has masterpage postback page does not help

$
0
0

Hi Im trying to postback 30+ textbox and drp down values to a new screen so query strings will not work

my main page has a master page

this page holds the values in textboxes

i have a button with a postback url on it that does a server.transfer to a new page

on the new page in the html i have a tag to the main page

<%@PreviousPageTypeVirtualPath="~/Default.aspx"%>

 

but no matter what i try i cannot get the values from the main page to the seconday page .

the secondary page does not have a masterpage

 

currently on the postback page i have

IfNot Page.PreviousPage IsNothingThen

else           

Response.Write("INVALID")

EndIf

i dont get invalid so it reconised its a previouspage

 

i have tried the page.previous.findcontrol method but got nothing

also contentpalceholder

 

can some one show me a simple way of getting ay these values


Viewing all articles
Browse latest Browse all 23244

Trending Articles