Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 30, 2012 04:27 AM by hitesh.hirpara
Nov 29, 2012 08:38 AM|LINK
i am using ajax accordion with link button on it. when i click on linkbutton page postback.
i also use update panel but its not work.
it work only in debuge mode . when i publish and used then page post back.
i dont want postback happen when linkbutton click.
Nov 29, 2012 08:46 AM|LINK
try to give
in the click event of that linkbutton.
Nov 29, 2012 08:51 AM|LINK
why not simply disable click of linkbutoon
<asp:LinkButton id="lnk" runat="server" OnClientClick="return false" Text="Pane1"/>
hope this helps...
Nov 29, 2012 09:03 AM|LINK
where i give return false. its link button and on link button click i fetch data from database and display in page
Nov 29, 2012 09:08 AM|LINK
Dear, if you fetchin data from the server side, then postback is must...the other way is you can use jquery and call handlers and then get data..in this way, postback wl not happen.
Nov 29, 2012 09:29 AM|LINK
thats true but whole page refresh. i dont want whole page refresh. i also used update panel for that but its not work
Nov 30, 2012 04:15 AM|LINK
hope this can help u then,
Nov 30, 2012 04:27 AM|LINK
problem is in url rewriting.
i have remove url rewriting then it working fine.