This is resolved.. I had to have a dummy form in the aspx page..
as well for this to work.. so weird. This dummy form has the action attribute set.. and runat = server, not sure if those are required but its working!