Comment in JavaScript code doesn't comment the server command

 Comment in JS code doesn't comment the server command. It is correct, but can be visually confusing. I had the following line in markup ASCX file. 

// var trs = document.getElementById('<%=pnlOutsideSearch.ClientID %>').getElementsByTagName('TR');

Visual Studio showed it as green comment.
However when server control pnlOutsideSearch was renamed, the errors were generated, and it took me some time to realize, what wrong with the line, tha it was look like just comment.
 
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Refer to Activity from workflow in the same project.

I have a project with a few workflows. I  created a custom activity and I've added it to the same project.
But then I found that I am not able to insert/drag it to my workflow.
The only solution, that I found, was to create a separate Activity Library, move my custom activity to the library, and add a reference to the library from Workflow Project. 
It looks like that you unable to Refer to Activity from workflow in the same project.


 

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Command prompt utility to copy files for specified time range

 I've tried to find an utility that will allow to copy files from big folder for specified time range.
 The  discussion in experts-exchange suggested to use RoboCopy
 
Robocopy FolderFrom FolderTo /MINAGE:20091125 /MAXAGE:20091124
 
Note that for 1 day selection  MINAGE should be one day BIGGER than required date.
 
 
I still wish to find utility that will allow to specify time, rather than full date.
The same discussion has batch file example, that possibly can be used to filter time as well.


 

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345