About Boster Sibande Expertise I can answer questions in the following areas: ASP.Net, VB.Net, C#.Net, Microsoft Access and SQL Server. These are the technologies I use in my day-to-day work. As such, I am very confident and happy to assist
Experience I have two years experience with ASP.Net
Organizations UNDP
Education/Credentials Currently studying MSc. in IT
Question but i ve generated datagrid through coding in asp.net where should i put window.open code?
-------------------------
Followup To
Question -
i ve added action property and target=blank in form tag the resultant page should open with no menu bars in this. tnx in advance.
Answer -
The easiest way to open a window without menubars is using javascript window.open. The code should look like:
window.open('http://www.sibande.com', 'popUpWin','menubar=no')
Answer There must be a caller of your page.
So the easiest way is to create a simple caller page e.g.
<html>
<body>
<script>
window.open('http://www.sibande.com/MyDataGrid.aspx', 'popUpWin','menubar=no')
//Close the caller
var oMe = window.self;
oMe.opener = window.self;
oMe.close();
</script>
</body>
</html>