Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Response.Redirect doesn´t work
Message
From
06/10/2006 09:33:38
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Response.Redirect doesn´t work
Miscellaneous
Thread ID:
01160006
Message ID:
01160006
Views:
53
Hello every one...

I have a form with a search bottom, this one has these code:
Dim M As String
Dim urlv As String
M = "No se encontro el cliente indicado. ¿Desea ingresarlo?"
Dim tCredito As String = Request.QueryString("TipoCredito")
Session.Add("urlv", retQueryString(Me))
Session.Add("tCredito", Request.QueryString("TipoCredito"))
Me.RegisterClientScriptBlock("Error", "<script>MsgShow('" & 
M & "','W',1)</script>")
This code call a JavaScript function called MsgShow that has the code:
function MsgShow(msg,tipo,Modal)
{
  var UR="/AplicacionCreditos/Ventanas/Ventanas.aspx?type="+ tipo +"&msg=" + 
msg;
  if (Modal==0)
  {
  	var Retorno=Open("399","217","","","no","no","no","no","no",UR,"NoModal");
  }else
  {
	var Retorno=Open("399","217","","","no","no","no","no","no",UR,"modal");
  }
  return Retorno;
}
This function call a other ASP.Net form and this one has one bottom called Ok. The bottom has the code:
Dim tCredito As String = Session.Item("tCredito")
Dim urlv As String = Session.Item("urlv")
Dim Cliente As DataGridItem
Cliente = (Session("CLIENTE"))
If Not Session.Item("ID_CLIENTE") Is Nothing Then 
Session.Remove("ID_CLIENTE")
Session.Add("ID_CLIENTE", -1)
Session.Add("NUM_CLIENTE", -1)
Session.Add("TIPO_CLIENTE", 1)                       
Response.Redirect("solicitud_crediagil/begin/begin_cdav31.aspx?" & urlv)
Every thing work without problem, I mean the first form call the dialog form and this one is showing, but when I make clic on the Ok bottom every runtime worj except
Response.Redirect("solicitud_crediagil/begin/begin_cdav31.aspx?" & urlv)

I have tryed with
Page.SmartNavigation=false
Responce.Redirect("formulario_ingresar_datos.aspx" , false)
Responce.Redirect("formulario_ingresar_datos.aspx" , true)

But any of then resolve my trouble.

I would appreciate so much any help that your be able to give me...

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform