C# · Dotnet · General · Tools

Copy files from latest modified folders – Batch script

Hello Reader, Part of a tool making process, i had a sub task, where i need to copy certain files from a few (in this case 3 in numbers) directories from recently modified directories (date-time descending sort) onto another path where again a latest single directory needs to be searched, under which the predefined files… Continue reading Copy files from latest modified folders – Batch script

ASP.NET · C# · Dotnet · Javascript · Jquery

Dilettante attempt @MustacheJS with ASP.NET

Dear Reader, For some reason i stumbled upon the javascript templating topic and found out about MustacheJS and its simplicity, though i am not an expert at this topic, but i felt the ease of learning this is quite nice. It took me for a while to understand and proceed in getting started with Mustache.… Continue reading Dilettante attempt @MustacheJS with ASP.NET

C# · Dotnet

Generic method to avoid long IF clauses

Dear Reader, Recently at work, i was working with a library which had lot of properties wherein they must be verified for its Truth value before exporting or importing respective attributes to file or back to UI respectively. Basically, the raw code initially looked roughly like below: void ExampleMethod() { SomeType type = new SomeType();… Continue reading Generic method to avoid long IF clauses

ASP.NET · C# · CodeProject · Dotnet · Javascript · Jquery

ASP.NET Treeview Node Expand-Collapse with Node click: Client Side JQuery, Javascript

Dear Reader, I had to implement a custom client side node click along with Tree expand and collapse feature working. There was no straight solution to implement ASP.NET Treeview expand and collapse in pure Javascript or JQuery directly. With googling for almost half of the day, it turned out noting. So i began to look… Continue reading ASP.NET Treeview Node Expand-Collapse with Node click: Client Side JQuery, Javascript

ASP.NET · C# · Dotnet · Javascript · Jquery

ASP.NET TreeView tree node icon change JavaScript/JQuery

Dear Reader, This is my start up work on the web technologies after along standing work on windows platform. Its very much exciting to work on JS and JQuery, although still alot looks gloomy and mysterious to me and ofcourse confusing and sometimes head banging😉 Anyways, lately i took up a small work on ASP.NET… Continue reading ASP.NET TreeView tree node icon change JavaScript/JQuery

C# · CodeProject · Dotnet

Decision matrix implementation in C#

Dear Reader, Yesterday i faced a problem where the combinations possibilities were many and i had to implement code for this problem. Obvious solution is to implement If – else ladder. But i absolute hate this solution because the combination were around 5C3. The combination data was about behavior aspect of a scenario. Next solution… Continue reading Decision matrix implementation in C#

C# · Dotnet

Progress Modal Dialog Launch from another Thread

Dear, Today i encountered a problem to fit one of the use case, so i went ahead to develop a prototype. Because of rest of the layering architecture i had to take a bad design decision. I had to launch a progress dialog as modal dialog on top of the main window but do not block the… Continue reading Progress Modal Dialog Launch from another Thread