16,012,166 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 C++ questions
View Javascript questions
View Visual Basic questions
View .NET 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 Versile (Top 5 by date)
Versile
18-May-11 17:41pm
View
I accept it must be an add-in, I had one before but suddenly cannot find it again (had to reinstall system)... I was really hoping someone knew of a way to do it or finding the relative add in. Thanks a lot for taking the time to answer.
V
Versile
10-Mar-11 4:38am
View
Yeah I can convert a string of images to a video already so if I can get some guidance on the pattern for pan and zoom is it possible to mimic the effect.
Versile
30-Nov-10 11:14am
View
If displayNameLabel is null then you need to find the label. Assuming it's in template in a Detailsview, first thing you want to do is ensure it's not inside a panel or something similar. If it is you need to find the panel then find the label inside the panel... Either scenario we can't really help unless you tell us what the case is, either displayNameLabel is null or your dataset is not returning a result for that column/row selection of yours.
<pre lang="cs">
Panel detailsPanel = DetailsView1.Findcontrol("detailsPanel") as Panel;
Label displayNameLabel = detailsPanel.FindControl("lblDisplayName") as Label;
</pre>
Versile
30-Nov-10 11:00am
View
Agree, without some code snippets it's hard to tell. But my approach would be a global object that manages it's own state using a private readonly object and lock commands. That way anytime you retrieve properties of the object or execute methods you can ensure it is threadsafe. Sounds like you may already be doing this, but can't tell without snippets.
Versile
24-Nov-10 4:37am
View
If you need the manage state of the background worker, I suggest creating the thread manually (ThreadStart, Thread, private static readonly object, and lock). I do not know the answer to your original question, but I do know it would be much safer for you to perform your operation on the ReportsProgressEvent instead if you do not need to manage state of the backgroundworker.