Click here to Skip to main content
15,889,592 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
When I first click on the LinkButton it opens the window and I minimized it and again click on that link now that window remains minimized it just refreshes the content of it. I want that it must pop up the window after second click which I have minimized.

void lnkViewOrderDocuments_Click(object sender, EventArgs e)
{
     StringBuilder sb = new StringBuilder();
     if (null != Request.QueryString[CONST_OrderNo])
     {
         string dmuUrl = OrderHelper.SetDMULinkURLFromConfig(Request.QueryString[CONST_OrderNo].ToString(),
        Request.QueryString[CONST_OrderType].ToString());
        sb.Append(@"<script language="'javascript'" type='text/javascript'>;");   
        sb.Append(dmuUrl.Trim());
        sb.Append(@"</script>;");
        this.RegisterStartupScript("RegisterSalesTextScript", sb.ToString());
     }
}
sDocumentMergingUtilityURL = string.Format("javascript:window.open('" + sDocumentMergingUtilityURL + "','Window1');return false;");
Posted
Updated 17-Jun-11 0:48am
v2
Comments
Sergey Alexandrovich Kryukov 17-Jun-11 14:17pm    
Not a question. So what? Where is your problem?
--SA

1 solution

 
Share this answer
 
Comments
Member 4550493 20-Jun-11 7:43am    
Hi Monjurul,
Thanks for your help. Its Working.
Thank you very much.
Monjurul Habib 20-Jun-11 8:18am    
Pleasure..please mark as answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900