c# - RouteUrl not working when site is published in Asp.net -


i had code in link

 <a href="<%$routeurl:city=islamabad %>" runat="server" >islamabad</a> 

its not routing url. link unclickable. had tried changing , still no luck. had 3 of them working during offline run through visual studio same site not working in live.

what think web.config file not updated in production environment

<%$ %> asp.net expression builder. used runtime expression binding control properties through server tag attributes. used appsettings, connectionstrings, or resources (or own custom extension, example use code-behind properties). these assignments added oninit() method of generated class.

please refer below articles complete understanding of expression builder in asp.net

expressions overview

creating custom expressionbuilder class used in above code.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -