Расширение веб-сайта, который я не создавал. Я хочу иметь возможность вызывать процедуру ShowWindow с параметром. Как бы я это сделал? Новое в JQuery и JavaScript.
default.aspx
$(document).ready(function() {
$('a#ShowWindow').click(function() {
window.open("TerminalInfo.aspx?", 'Info', 'scrollbars=yes,width=510,height=536');
})
});
default.aspx.cs
Динамическое создание aspx...
public static string ToHtml(this Location location)
{
var html = new StringBuilder();
html.Append("ShowLetter"); //This works
html.Append("Read More"); //How can I do this? It doesn't work.
return html.ToString();
}
Подробнее здесь: https://stackoverflow.com/questions/175 ... t-function