473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ScriptManager.RegisterStartupScript

24
Hello everyone!I am having a problem with scriptmanager.
I have used iframe in one website and that is user login.When user logins on the site user should be redirected to the other site.My problem is that the url does not cahnge to the new site.
Expand|Select|Wrap|Line Numbers
  1. ScriptManager.RegisterStartupScript(this, this.GetType(), "redirect", "top.location.href = 'membersarea/welcomej.aspx'", true);
  2.  
  3.  
Please help me.
Apr 5 '12 #1
1 3083
Frinavale
9,735 Expert Mod 8TB
I'm not clear on the problem...
You have an iframe for the purposes of logging in?
What is supposed to happen after they log in?
Do you want the parent containing page to redirect (I'm not sure if this is possible) or do you want the page displayed in the iframe to redirect (this is what should happen if the server issued a redirect).

-Frinny
Apr 9 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Bill Jones | last post by:
I'm trying to use this.RegisterStartupScript to add some javascript to and aspx page that will run when the page is loaded. Does anyone know if this function only works in the Page_Load function? ...
0
by: Jason Kester | last post by:
I've noticed some strange behavior with Atlas, and I'm wondering if anybody else is seeing this. Basically, from the moment I add a ScriptManager tag to one of my pages, any subsequent controls...
1
by: =?Utf-8?B?TGFycnkgRXBu?= | last post by:
I have an app using Ajax. The scriptmanager is within the form that is within the master page. I also have web user controls that are doing partial rendering and are "borrowing" or "inheriting"...
1
by: =?Utf-8?B?dGhlamFja29mYWxs?= | last post by:
Please help. I am getting the following error when I attempt to use AJAX in a web page. <%@ Page Language="C#" MasterPageFile="~/Master/Master1.master" AutoEventWireup="true"...
0
by: Ryan | last post by:
Hi everyone, I have enabled my webparts site to use ajax by simply using updatepanels. This worked fine. Now I tried to enable drag and drop for the webparts so I added some stuff to the web...
0
by: Krip | last post by:
When adding ASP.NET AJAX 1.0 ScriptManager and UpdatePanels to some pages in our Web Application project, we get the following error: "The type or namespace name 'ScriptManager' does not exist in...
0
by: suganya | last post by:
Hi I have written the code for Atlas ModalPopup Control . The code is as follows <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register...
4
by: WT | last post by:
Hello, How could we simulate the IsClientScriptBlocRegistered method of ClientScript when we use an update panel and the static ScriptManager ? Is this test already included in the...
2
by: abcd | last post by:
II have a asp.net application that using .NET framework 2.0. I use VS 2005. I opened VS 2008 and upgraded all the proejcts to .NET 3.5. My applicaiton has a code as below which is giving me...
2
by: Ryan Liu | last post by:
Hi, Since ScriptManager need inside a server form, and web content page using MasterPage can not have another server form, so ajax can not be enabled (unless write own code) using ScriptManager?...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.