Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in .NET only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
.NET
opening a new window in c#.net
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
sowmyat
New Member
Join Date:
Feb 2007
Posts:
6
#1
opening a new window in c#.net
Mar 9 '07, 10:04 AM
hi,
Do any know how to open a new window when the user clicks a button in c# .net.
plz help........
Ripendra007
New Member
Join Date:
Feb 2007
Posts:
27
#2
Mar 9 '07, 11:06 AM
just write script for opening the window like
<script >
function open()
{
window.open('wi ndow name to open');
}
</script>
onclick of button just call the function open();
like
<asp:button onclick="open() ;"></asp:button>
Comment
Post
Cancel
kenobewan
Recognized Expert
Specialist
Join Date:
Dec 2006
Posts:
4871
#3
Mar 9 '07, 11:33 AM
Or from the onclick event use attributes.add.
Comment
Post
Cancel
kenobewan
Recognized Expert
Specialist
Join Date:
Dec 2006
Posts:
4871
#4
Mar 9 '07, 11:34 AM
Or from the onclick event of the control use attributes.add.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment