72 reputation
13
bio website
location
age 33
visits member for 2 years, 4 months
seen Mar 2 at 20:32

Dec
21
comment Delete selected file in Document Library with Javascript
exactly, with the mention that you need to import SP.js first.
Dec
21
comment Delete selected file in Document Library with Javascript
It was a project I worked on quite some time ago and don't have access to the code anymore; but basically as I remember, the files are actually list items, so what you need is to delete them with SP.js functions. You import SP.js into your sharepoint page and then get the list with js, then delete the list items with deleteObject. see here: msdn.microsoft.com/en-us/library/office/…
Jun
5
comment Delete selected file in Document Library with Javascript
ok thank you, just wanted to know if the Document Library files are considered by Sharepoint as simply List Items.
Jun
4
comment Removing contribute rights for user on page breaks jquery
I am removing the permissions from Site Settings- Site Permissions, for a specific group. and this user is in that specific group.
Feb
7
comment Change size of Multilookup field
Thank you so much. I really thought there is an obvious solution, like changing some property value in Sharepoint Designer or somewhere. But it seems jQuery is the solution in most cases. Thank you
Aug
7
comment XsltListViewWebPart remembering state in cookie not working properly
seems this works perfectly fine in Firefox, Chrome, practically any browser except for IE9. Back to square one...
Jul
30
comment XsltListViewWebPart remembering state in cookie not working properly
your last comment was the solution. all this time I should have used jQuery .click() instead of the ExpCollGroup method. thank you SO MUCH for the suggestion.
Jul
30
comment XsltListViewWebPart remembering state in cookie not working properly
I have edited the question to try to answer your comment. Thank you
Jul
30
comment XsltListViewWebPart remembering state in cookie not working properly
thank you for your answer. i made the script in the first place because sharepoint simply was NOT remembering the state of the nodes between postbacks - it was simply expanding all nodes at each postback, regardless of what was expanded or collapsed. upon research on web i found out this can only be achieved with jQuery. "write a script that explicitly sets the state to expanded or collapsed" - that is exactly what i wanted to do in the first place - please advise how can it be achieved without using ExpCollGroup. I tried setting style visible:none but had no effect. Only ExpCollGroup worked.
Jun
28
comment Loading script on every postback
that was perfect, it now retrieves the correct values! but, it seems that on Restore(), the method is called too late, the controls are already rendered on the page if I use _spBodyOnLoadFunctionNames.push("RestoreClickedState"). Is there an event I can use, to hide the nodes, before the control is shown/rendered on page? thank you
Jun
7
comment sharepoint link not working in IE but working in Firefox
got it. it was the default popup blocker in IE. I apologize for wasting the community's time.