Adding javascript to htmltextwriter
RenderJavascript(HtmlTextWriter output) { output.WriteLine(" var newUrl =url+\"&month=\"+obj.value;"); output.WriteLine(" window.location = newUrl; "); }
How to assign newUrl value in to a string, before navigation
I am expecting result like below format
Aucun commentaire:
Enregistrer un commentaire