# salesforce render inline if tag solution needed

salesforce render inline if tag solution needed.

rerender="{!IF(!AND({!isFilterBySelected},!NOT({!isSelectedAll})),'pageBlockID','testCompID')}"


You only need the ! after the first curly brace not throughout the string. Also you do not put braces throughout the string. SF is smart enough to merge other variables within the braces.
{!IF(AND(isFilterBySelected,NOT(isSelectedAll)))}

This will be true if isFilterBySelected is true AND isSelectedAll is false