Click here to Skip to main content
15,887,585 members

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.