15,746,741 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Javascript questions
View C++ questions
View Python questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Steve Echols (Top 17 by date)
Steve Echols
13-Aug-13 18:21pm
View
Maybe you could hide the elements (visibility:hidden) and after you set the translated text, then show the element (visibility:visible). I would use visibility:hidden and not display: none, so the elements still take up the space of the original text on the page, otherwise the rendering might be a bit jumpy.
Steve Echols
18-May-12 2:54am
View
I think you need to determine what Object was hit (such as a datapoint).
http://msdn.microsoft.com/en-us/library/system.windows.forms.datavisualization.charting.hittestresult.aspx
Steve Echols
17-May-12 0:07am
View
I think this is more of a problem with how browsers cache the pages, vs. session. When the user hits back in the browser, it just loads the page from the cache, without refreshing it.
There's are potentially multiple solutions, from using javascript to handle body onload and calling a web service to see if session is still active, or telling the browser to not cache the page.
Steve Echols
16-May-12 23:56pm
View
Does the text disappear after a post back? I don't think the label control maintains view state, so setting the text property of a label control wrapped in a IsPostBack check won't work. I could be wrong, but something to consider....
Steve Echols
16-May-12 0:42am
View
Correct. That will get you the CUSTCODE_T value.
You're welcome!
Steve Echols
15-May-12 0:17am
View
Do you get an error in FireBug console? Have you tried to put a break point in setFrameUrl function using FireBug, to see if your function is even being called?
Steve Echols
10-May-12 2:34am
View
I seriously doubt this is possible.
Steve Echols
10-May-12 2:30am
View
You'll have to manually update the text of each ListItem. Where are you getting your data from?
Steve Echols
24-Apr-12 1:47am
View
True, true. Wasn't sure if he wanted a hollow tube or a capped cylinder.
Steve Echols
24-Apr-12 1:36am
View
Thanks! (Now I have to go delete that from the page I just mangled :-))
Steve Echols
24-Apr-12 1:32am
View
Well, you can't draw circles in openGL, only simulate them using primitives like line strips, so I'm not sure what you mean by "one circle". Do you you mean "one for loop" iterating around the circle and drawing triangles or quads? You should be able to do this with a GL_QUAD_STRIP.
Steve Echols
24-Apr-12 1:16am
View
There are tons of examples on how to draw cylinders with opengl on the web. NeHe is very useful (or was back when I was doing openGL :))
http://nehe.gamedev.net/tutorial/quadrics/20001/
Steve Echols
24-Apr-12 1:08am
View
Are you using glut.h? Google gluCylinder.
Steve Echols
9-Feb-12 4:44am
View
I'm thinking the lblTotal/lblTotalAmount ids are probably not what you think they are.
Maybe try: <pre>$("#<%=GridView1.ClientID%> .total").each ......</pre>
But basically, view the source of the page and see what the structure of the elements are and what pattern you'd need to use as your selectors for jQuery (I'm not a jQuery expert, I use prototype.js)
Steve Echols
9-Feb-12 4:26am
View
True, true. ClientIDMode="Static" or ClientIDMode="Predictable" would make it work in 4.0. Is that correct?
Steve Echols
25-Jul-11 22:09pm
View
Deleted
Reason for my vote of 5
I've ran into this many times too. Especially when someone uses the designer to insert new columns in a specific place. Then you actually can get data from different columns! Re-running view and sp scripts fixes it.
Steve Echols
25-Jul-11 22:02pm
View
Deleted
This is the one I "borrowed" from the net. Searches SPs and Views:
CREATE PROCEDURE [dbo].[Util_FindTextInSP]
(
@StringToSearch varchar(100)
)
AS
BEGIN
SET @StringToSearch = '%' +@StringToSearch + '%'
SELECT DISTINCT so.Name
FROM sysobjects so (NOLOCK)
INNER JOIN syscomments sc (NOLOCK) on so.Id = sc.ID
AND (so.Type = 'P' OR so.type='V')
AND sc.Text LIKE @StringToSearch
ORDER BY so.Name
END
Show More