Hiển thị Message với ajax.

Trang aspx: <div class=”modal fade” id=”myModal” tabindex=”-1″ role=”dialog” aria-labelledby=”myModalLabel” aria-hidden=”true”> <div class=”modal-dialog”> <div class=”modal-content”> <div class=”modal-header”> <button type=”button” class=”close” data-dismiss=”modal” aria-hidden=”true”>&times;</button> <h4 class=”modal-title” id=”myModalLabel”>Add new Kiosk</h4> </div> <div class=”modal-body”> <div… Read more »

Open new window from UserControl in code behide in asp.net

Protected Sub Open() Dim Url As String = “/Sites/Web/ViewPdf.aspx” Dim s As String = “window.open(‘” & Url + “‘, ‘popup_window’, ‘width=800,height=1000,left=100,top=100,resizable=yes’);” Page.ClientScript.RegisterStartupScript(Me.GetType(), “script”, s, True) End Sub