javascript - how to use @{Html.RenderPartial();} in razor view -


i using asp.net mvc razor views. loading tab content using iframe, tab.cshtml partial view gave

tabbar.setcontenthref("a1","home/tab"); 

instead of want use partial page using @{html.renderpartial("tab");} if give

tabbar.setcontenthref("a1","@{html.renderpartial("tab");}"); 

it showing error the partial view 'tab' not found or no view engine supports searched locations. can u tell me how


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -