Is it possible to change the panel height & width at runtime on Button click. In VB.net ,it can be easily done! How to do it ASP.Net?

Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
Panel1.Width = 400
Panel1.Height = 400
End Sub
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.