Monthly archives: February, 2018

jQuery not being loaded from master page

I added references to jQuery and bootstrap to a master page using the control: The page using this master page is not loading the scripts. I checked using FireBug and there is no error like 404 or aborted (in red color) or anything. Page source does have references to the script like this: What can …

Hidden Scroll on iframe

I used iframe on my Page. I want to hiding iframe’s scroll. I added scrolling=no in my code. But I can’t see the entire of page, in this case. How can I hiding scroll and I see entire of page? ================= ================= 1 Answer 1 ================= You can auto adjust the iframe to fit to …

Is it possible to open custom list in MS project file?

I have custom list with some fields. Is possible to open custom list in MS Project? I am trying to open a list in “Open with Project” option. But it looks like it is disabled. How to enable it? ================= ================= 1 Answer 1 ================= Upgrade your SPD to 2013 and also upgrade OFFICE to …

Could not load assembly in SharePoint foundation

I am using following code to perform generic delete by name of entity and key id. I have used this code in SharePoint 2010 and worked fine, but not working on SharePoint Foundation 2013. This solution is developed and tested on standalone SharePoint 2013 server but never had issue like this. Project upgrade to 2013 …

c# – how to validate sharepoint list column against ValidationFormula programmatically

I need to validate a string that user submit against SPField.ValidationFormula while adding new record to custom list in c#. Line to add new record is SPListItem item = mylist.Items.Add(); I have formula in column.ValidationFormula and my string to validate is in this variable mystringtovalidate How can I validate mystringtovalidate against column.ValidationFormula then if is …

SharePoint 2013 custom Attach File button

I’m trying to create a custom “Attach File” button in my SharePoint 2013 New Item form. So far this is what I’ve done: HTML Attach File JS: function openpageindialog() { var options = SP.UI.$create_DialogOptions(); options.title = “Attach File”; options.url = ‘/_layouts/Attachfile.aspx?ListId={My-ListId}&ItemId=4’; options.autoSize = true; options.showClose = true; options.showClose = true; options.allowMaximize = false; // options.dialogReturnValueCallback …