Avoid postback on linkbutton of content page.

Mar 6 2021 7:21 PM
I have master page and child page.These child pages have user controls associated with it.There is user control called toolbar which is registered in most of the child pages and is common to display button .Whenever i click on link button on child page it is loading master page and then child pages and user control loads. I want to avoid auto post back of link button.For this there is a method in user control which needs to be invoked whenever user click on anchor tag.Appreciate if any one can help quickly. What I have tried: I m trying to invoke user control server side method from javascript of user control source but it is not working and also I have placed method in another page and calling ajax call to that aspx page to redirect to user control event.

Answers (2)