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
creating custom expressionbuilder class used in above code.
Comments
Post a Comment