Get images from tag ‘img src’ from string variable
Here’s a useful snippet in C#. This method gets all the images from variable type String. It can be HTML or XML text with tags <img src=”path_to_image”> Read more»
Here’s a useful snippet in C#. This method gets all the images from variable type String. It can be HTML or XML text with tags <img src=”path_to_image”> Read more»
Reading and querying XML data is good with Link to XML in C#. LINQ to XML provides an in-memory XML programming interface that leverages the .NET Language-Integrated Query (LINQ) Framework. Read more»
I used Advanced Workflow Actions for SharePoint Designer 2010 from iLoveSharePoint for Workflows in SharePoint site. And one of used by me activities was “Execute PowerShell Script Action”. Read more»
Find tag which contains some text you’re looking for using jQuery. It’s a common task if you want to modify some elements on page but you can’t modify html-code of page. Read more»
If you want to customize a NewForm for SharePoint list so, that users can add attachements in the same interface as other form fields, you should place control for adding attachments to a form. The problem is that this is not described and you really have to rewrite already half-prepared control. Read more»
Snippet to render Attachments Row in SharePoint 2010 Custom Edit Form Read more»
There’s a common constraint in votes or surveys like “choose no more than 3 items”. And it’s not a good idead to allow user control the checked items quantity. You can easily set constraint to a quantity of checked checkbox items with JavaScript and jQuery. You can just disable unchecked checkbox items if user checked […] Read more»
For jQuery 1.6+ use .prop() function. I don’t think it’s a good idea to support old versions and use .attr() or something like this. Read more»
Strange behavior of console.log() I have noticed when I created a JS code for SharePoint page. My code used jQuery and SPServices library. The code used to get items from a list and render options for “select” control. Below I post a part of my function which fills a JS array and renders options for […] Read more»
CsvHelper is a very good library for reading and writing CSV files. It’s really easy for coding and fast for work. You can install it via Nuget in Visual studio or download from the project page in GitHub https://github.com/JoshClose/CsvHelper. Read more»