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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -