thelip Posted February 2, 2006 Share Posted February 2, 2006 Hi i have a problem please slove.........On clicking the link it should open a popup asp pageOn clicking it should take a value from the database table and pass to other asp page, its working if i have to open an asp page on other window..But should be happen on popup window and display the table values accordinglyPlease help me..............I am striving since 2 days Link to comment Share on other sites More sharing options...
it9888 Posted February 2, 2006 Share Posted February 2, 2006 So, the problem is that you cannot pass the parameter value to the second page? Link to comment Share on other sites More sharing options...
thelip Posted February 2, 2006 Author Share Posted February 2, 2006 So, the problem is that you cannot pass the parameter value to the second page?<{POST_SNAPBACK}> ya can u please help me Link to comment Share on other sites More sharing options...
it9888 Posted February 2, 2006 Share Posted February 2, 2006 Did you try passing the parameter to the URL? For Example:http://www.test.com/test.asp?parameter="value" Link to comment Share on other sites More sharing options...
aspnetguy Posted February 2, 2006 Share Posted February 2, 2006 if you are not already you will need to open the popup with javascript...target="_blank" is no good for this.The values you get from the database will need to be stored in input fields, even hidden if you wish.Then get those values using javascript and send them as part of the querystring when you open the new window. Link to comment Share on other sites More sharing options...
thelip Posted February 3, 2006 Author Share Posted February 3, 2006 thanks for showing intresed in solving my problemi got the answer ..................<script language="JavaScript" type="text/JavaScript"><!--function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features);}//--></script></head><body><a href="#" onClick="MM_openBrWindow('example.asp?g=<%=oRs("no")%>','popup','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=200,height=300')">sfsss</a></body></html> Link to comment Share on other sites More sharing options...
aspnetguy Posted February 3, 2006 Share Posted February 3, 2006 glad to hear you figured it out. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now