Click here to Skip to main content
16,012,468 members

Comments by haocaocu (Top 6 by date)

haocaocu 28-Sep-15 3:56am View    
Hi Sinisa Hajnal
I used the following code to check:
if (mCongVan.CongVan_DocHayChua(hidUserID.Value, int.Parse("0" + lblidCV.Text)) == 1)
{
strSoCV = lbtSoCV.Text + strKhoangTrang;
lbtSoCV.Text = strSoCV;
}
else
{
strSoCV = lbtSoCV.Text + strKhoangTrang + "<img src=\"../images/new.gif\" border=\"0\" /> ";
lbtSoCV.Text = strSoCV;
}
haocaocu 25-Sep-15 5:37am View    
You can only be non-specific
haocaocu 25-Sep-15 3:19am View    
With this code, I open the PDF in a new window but no page refresh is mother.
If I add the following code at the end of OpenPDF method it refreshes but does not open the pdf file
Response.Redirect(Request.Url.AbsoluteUri);
You help me with. Thank you!
haocaocu 10-Sep-15 5:37am View    
Thanks for repply.
Session I is stored in the page iDOC.master value and the Session ["username"] == null it will shift to Login.aspx
haocaocu 23-Jul-15 3:02am View    
First I should have been here. Thanks
http://www.aspsnippets.com/Articles/Retrieve-and-display-PDF-Files-from-database-in-browser-in-ASPNet.aspx