Day: July 25, 2011

SharePoint Re-Deployment Bat File
A simple bat file that you can use for redeploying your WSPs: Copy the following text in a notepad and Save As 'Deployment.bat' stsadm -o retractsolution -name "ProjectA.Deployment.wsp" -immediate -url "http://localhost:2000/" stsadm -o execadmsvcjobs stsadm -o deletesolution -name "ProjectA.Deployment.wsp" stsadm -o addsolution -filename "D:\ProjectA.Deployment.wsp" stsadm -o deploysolution -name "ProjectA.Deployment.wsp" -immediate -allowgacdeployment -url "http://localhost:2000/" -force stsadm ...

Selecting a complex jQuery selector present in a page
Most of time, the moment we see a complex ID like 'ctl00_m_g_f368f5ab_d679_4436_a6da_938c6bfcd60a_ctl00_SearchCheckBox' we faint... 😉 And what we end up is start finding some parent which has an ID or see if there is a css class defined for this control. Targeting a control using its parent is good and performance-wise effective. However, using a ...

Solve Flickering jQuery accordion issue in MOSS 2007
MOSS 2007 for the simple reason of missing a DOCTYPE can screw up the smoothness of animations created through jQuery. One of my situations didn't allow me to add DOCTYPE to my master and my clients ended up seeing flickering animation of the accordion. Seriously that was irritating. Being an ardent admirer and an evangelist ...

How to insert newline in you excel formulae
To add a newline or a hard return in front of certain text, we try the Find & Replace option, but ends up nowhere. Instead make use of the CHAR(10), MS has provided, in your formulaes. Usage: =CONCATENATE("Heading1",CHAR(10),"Content under Heading1") Let me take a complex example also, to get you the feel of the ...