Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

PostBackURL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
psycho - 08 Oct 2007 07:07 GMT
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?
JIGNESH - 08 Oct 2007 14:01 GMT
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

> 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
[quoted text clipped - 11 lines]
>
> is there any solutions or better approach for this problem?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.