Skip to content
Loading
failed to redirect to another page.  
  •       
  •   
  • below also is my behind code:
    1. protected void btnYes_Click(object sender, EventArgs e)  
    2.         {  
    3.             string message = "New motor policy  has been successfully saved.";  
    4.             string script = "window.onload = function(){ alert('";  
    5.             script += message;  
    6.             script += "');";  
    7.             script += "window.location = '";  
    8.             script += ResolveUrl("/d-Underwriting/Motor/CheckCustomerMotorDataEntry.aspx");   
    9.             script += "'; }";  
    10.   
    11.             ClientScript.RegisterStartupScript(GetType(), "SuccessMessage", script, true);  
    12.         }  
    It did not redirect. But when I take out the tab container, it redirects. Can someone show me how to redirect if you front-end code resides inside a tab container? Thanks. 
    0