I have a webForm (WebForm1.aspx) added inside the root
I want to call this WebForm1.aspx from a razor view when a div is clicked (div is placed inside the view with some styles) to a new browser tab.
Suppose Controller is X and View is Index
Below is some piece of index razor view code
<div class="column"
style="flex:50%;padding:10px;"
onclick="@("window.location.href='" + @Url.Action("WebForm1.aspx") + "'");">
</div>
NB : WebForm1.aspx has some RDL reportViewer. When i call this WebForm1 using a partial view, the report is not rendering, when i call directly WebForm1.aspx by entering URL on broswer it shows report. Some postback issues happening i guess! Help me guys, How to call this form inside a view directly ?