c# - MVC 4 Href or onclick without Postback -


i have question related mvc postbacks problem/issue

i have anchor following code

<a style="text-align:left;" data-role="button" onclick="window.location='@url.action("taken_detail", new { taakid = tk.id }) + " data-ajax="true" data-icon="alert"><span class="agenitems"></span> 

if click on it redirect me current page taken_detail id thats nice happend postback / page flicker how avoid ? if use

@html.actionlink("toezicht", "toezicht", "toezicht", new { data_transition = "none" }) 

than page won't have white page flickering ?


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -