简体   繁体   中英

white screen appeared when i use anchor tag href in mvc

i have a anchor tag to load a view like below

<a href="@Url.Action(Convert.ToString(ViewBag.returnUrl), Convert.ToString(ViewBag.returnUrl), new { hello=""},Request.Url.Scheme)" class="bkpbutton">Back</a>

it looks like below when it is rendered,

<a href="http://localhost:42711/controller/action" class="bkpbutton ui-link">Back</a>

but some times it is flickering and showing a white screen instead of rendering view of the action method.

The problem is with jquery mobile navigation. added rel="external" to anchor tag and it is resolved the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM