PostBackURL

P

psycho

i am creating a web page for importing user contacts from yahoo.
i let the user enter his username and password on one page and then
post it to another page by specifying the postbackurl for the button
to next page where i access the username and password from previous
page using the previous page property.
Also i have specified the path of page in
PreviousPageType directive in VirtualPath Property.

sometimes this approach works fine but sometimes the code crashes
saying cannot convert from 'importcontacts_aspx' to
'importcontacts_aspx'

why is this so .

is there any solutions or better approach for this problem?
 
G

Guest

Well i have no clue why it breaks occationally, but

Alternatives are .
1. Use Button, do normal self postback, retrieve data from controls, do user
validation and then redirect user to next page.

2. on button click store data into session variable and pass the use to next
page.

- JIGNESH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top