.NET Ajax Extensions + Login Control
Hi,
I put a Login control into an UpdatePanel to prevent the whole page refresh
when logging in. (The login control appears in every page of the site in the
corner).
When the user doesn't provide valid credentials, only the UpdatePanel
refreshes and the thing is working.
But when the user is valid, the Login control seems to refresh the entire
page, bypassign the UpdatePanel. (I don't have the DestinationPageURL filled
in.)
Is there a way to prevent this ?
Thanks
Mike
RE: .NET Ajax Extensions + Login Control
you cannot use ajax for login. an ajax call can not set the login cookie, of
if cookieless change the url.
if using a cookie for login, using javascript and a hidden iframe, you can
get a login that does not refresh the page.
-- bruce (sqlwork.com)
"Mike Gleason jr Couturier" wrote:
> Hi,
>
> I put a Login control into an UpdatePanel to prevent the whole page refresh
> when logging in. (The login control appears in every page of the site in the
> corner).
>
> When the user doesn't provide valid credentials, only the UpdatePanel
> refreshes and the thing is working.
>
> But when the user is valid, the Login control seems to refresh the entire
> page, bypassign the UpdatePanel. (I don't have the DestinationPageURL filled
> in.)
>
> Is there a way to prevent this ?
>
> Thanks
>
> Mike
>
>
>
>
Re: .NET Ajax Extensions + Login Control
Those controls are not really compatible with the update panel, but Andrew
Frederick has a client side login method:
http://tinyurl.com/5rwdtm
Laurent Kempe also set up a login in a modal popup (not sure whether it
refreshes or not):
http://tinyurl.com/58l4tt
There is also an AJAX login system (open source) on Google code. You can
read about it here:
http://tinyurl.com/6cggvf
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
or just read it:
http://gregorybeamer.spaces.live.com/
*************************************************
| Think outside the box!
|
*************************************************
"Mike Gleason jr Couturier" <nospam [at] invalidhost.com> wrote in message
news:%23ZpYOQmlIHA.2268 [at] TK2MSFTNGP02.phx.gbl...
> Hi,
>
> I put a Login control into an UpdatePanel to prevent the whole page
> refresh when logging in. (The login control appears in every page of the
> site in the corner).
>
> When the user doesn't provide valid credentials, only the UpdatePanel
> refreshes and the thing is working.
>
> But when the user is valid, the Login control seems to refresh the entire
> page, bypassign the UpdatePanel. (I don't have the DestinationPageURL
> filled in.)
>
> Is there a way to prevent this ?
>
> Thanks
>
> Mike
>
>
>