Helping people the wrong way.
-
I just caught this WTF over on Devshed....
Italics is the original problem. Normal text is the suggested solution.
return String.Format("return _showContextMenu({0});",Controls[0].ClientID);
Try
return String.Format("return _showContextMenu({0});".ToString(),Controls[0].ClientID);The guy actually suggested that the original guy call .ToString() on a string!
-
Talk about the blind leading the blind...
-
so a string of strings is a rope right?
-
Ugh...
For a good laugh, read the rest of that poster's contributions to Dev Shed.
-
@bullseye said:
Ugh...
For a good laugh, read the rest of that poster's contributions to Dev Shed.
Hah! I didn't even think of doing that....
I love how he suggests recursively calling main().
I'd have to say he's probably 15 and just learning about programming. Boy will he be surprised he wrote stuff like that when he doubles his age.
-
registered yesterday and 9 posts a day
more fun to come i'm sure