Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > PostBackURL

Reply
Thread Tools

PostBackURL

 
 
psycho
Guest
Posts: n/a
 
      10-08-2007
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?

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SklHTkVTSA==?=
Guest
Posts: n/a
 
      10-08-2007
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

"psycho" wrote:

> 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?
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable a button via javascript with PostBackUrl set -> the postbackurl doesn't work Fabio Mastria ASP .Net 2 03-04-2008 09:23 AM
PostBackUrl and Retrieving Values from User Controls osh ASP .Net 1 02-25-2006 06:58 PM
PostBackURL to new window bill ASP .Net 3 02-10-2006 03:34 PM
ImageButon: PostBackURL Rob Meade ASP .Net 1 12-04-2005 11:43 AM
PostBackUrl cannot work for file link. ABC ASP .Net 6 10-07-2005 06:05 PM



Advertisments