Users Pricing

forum

Home Forums HTML button in MasterPage – MindStick

HTML button in MasterPage

Anonymous User 2058 25 Aug 2014

I have the following HTML in my MasterPage:

<input class="button" type="button" value="Select User" onclick='<%#
string.Format(@"location.href={0}", ResolveUrl("~/SelectUser.aspx"))
%>' />

I'm trying to figure out how to get ResolveUrl to work with an HTML input button,  I could use an ASP.NET Button, but then I'd have to chang my CSS and I really don't want to spend the time doing that.

Any help on how to go about doing this would be greatly appreciated.

Thanks!


1 Answers

Sumit Kesarwani 25 Aug 2014 Accepted Answer
Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md