|
A bit of a server issues.
Should be good now
Sincerely,
Elina Blank
Life is great!!! Enjoy every moment of it!
|
|
|
|
|
It is. However, after downloading the demo project of this article[^] just now, the browser automatically closed this page's tab. I've had this problem only in the past week or so and only twice before.
|
|
|
|
|
Bassam Abdul-Baki wrote: the browser automatically closed this page's tab
After downloading the tab closed? That's very, very weird. We don't have any code to close a window, and if we did the browser should pop up with a message "The page you are on is trying to close the window".
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Yep. It's happened just a couple of times before. Very annoying. The weird thing is, the closed tab does not appear in the Reopen Closed Tab list. So I think it's a browser issue. I've only experienced it at CP when I'm downloading, but this is one of the few sites that I download from at work.
|
|
|
|
|
Thanks everything working fine now.
Strange though, I did not received an email of this reply that you gave me here. (I see, I am getting emails for the comments in Q&A though.)
|
|
|
|
|
1. It is annoying.
2. When in an article, you read the comments (and so the title change), then email the page (via browser), the message title get's chosen as the email subject, which could be anything (aka 'My vote of 2').
I think we can all agree that this is a terrible design mistake (j/k )
|
|
|
|
|
I'll think about it. I personally find it very helpful.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I agree that it is helpful.
But it gets a bit hard when you have 3 or more tabs open on CP all pointing to a message and you having to guess which one was the Lounge again.
|
|
|
|
|
How about a setting so people can turn it on or off themselves? I personally don't like it.
public class SysAdmin : Employee
{
public override void DoWork(IWorkItem workItem)
{
if (workItem.User.Type == UserType.NoLearn){
throw new NoIWillNotFixYourComputerException(new Luser(workItem.User));
}else{
base.DoWork(workItem);
}
}
}
|
|
|
|
|
It's gone.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
They new draft seems identical, so I should just be able to get rid of it by running through the wizard. May I proceed?
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
The text in the Home page under the Articles tab does not always wrap inside the border. In some instances, the word extends outside the border before the next word wraps.
I'm using IE8 at work.
|
|
|
|
|
Bassam Abdul-Baki wrote: I'm using IE8
Well, there's your problem!
public class SysAdmin : Employee
{
public override void DoWork(IWorkItem workItem)
{
if (workItem.User.Type == UserType.NoLearn){
throw new NoIWillNotFixYourComputerException(new Luser(workItem.User));
}else{
base.DoWork(workItem);
}
}
}
|
|
|
|
|
Fire me the source code to IE8 and I'll take a look.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Fire you the source code to the page as viewed in IE8?
|
|
|
|
|
I forgot the joke icon.
No, I meant fire me the source code to IE8 so I can fix their rendering engine.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Yeah, I missed it. I'm having too many problems with IE8 these days.
|
|
|
|
|
This happens in Chrome (20.0.1132.34 beta-m) as well.
If I resize the window all the text is wrapped correctly until I reload the page.
|
|
|
|
|
Edit an article if I found any typo mistake in it.
|
|
|
|
|
It depends on whether or not it's your article and, if not, who the author has opened up the article to be edited by. If it's not your article, leave a comment in the forum explaining what the typo is.
|
|
|
|
|
Thank You Pete!
So here's the article I am talking about:
Generate a Report using Crystal Reports in Visual Studio 2010[^]
Code provided by author is accurate, but last ten lines are either re-typed or remained by mistake:
protected void Page_Load(object sender, EventArgs e)
{
ReportDocument rptDoc = new ReportDocument();
dsSample ds = new dsSample();
DataTable dt = new DataTable();
dt.TableName = "Crystal Report Example";
dt = getAllOrders();
ds.Tables[0].Merge(dt);
rptDoc.Load(Server.MapPath("../Reports/SimpleReports.rpt"));
rptDoc.SetDataSource(ds);
CrystalReportViewer1.ReportSource = rptDoc;
}
public DataTable getAllOrders()
{
string sqlCon = "User ID=sa;PWD=sa; server=databaseservername;
INITIAL CATALOG=SampleDB;PERSISTSECURITY INFO=FALSE;Connect Timeout=0";
SqlConnection Con = new SqlConnection(sqlCon);
SqlCommand cmd = new SqlCommand();
DataSet ds = null;
SqlDataAdapter adapter;
try
{
Con.Open();
cmd.CommandText = "getAllOrders";
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection = Con;
ds = new DataSet();
adapter = new SqlDataAdapter(cmd);
adapter.Fill(ds, "Users");
}
catch (Exception ex)
{
throw new Exception(ex.Message);
}
finally
{
cmd.Dispose();
if (Con.State != ConnectionState.Closed)
Con.Close();
}
return ds.Tables[0];
}hrow new Exception(ex.Message);
}
finally
{
cmd.Dispose();
if (Con.State != ConnectionState.Closed)
Con.Close();
}
return ds.Tables[0];
}
I have added comment from the line it is a mistake there.
|
|
|
|
|
Thanks. I've fixed the code block
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
You're welcome Chris!
|
|
|
|
|
I was wondering that Q&A does not include the signature but message do. Any specific reason?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|