Current location: Hot Scripts Forums » Programming Languages » ASP » any suggestion...open another browser?


any suggestion...open another browser?

Reply
  #1 (permalink)  
Old 09-04-03, 04:29 AM
aspuser25 aspuser25 is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Question any suggestion...open another browser?

hi....

After checking the story of a particular student, i want to give grades to him. I am able to retrieve the story of a particular student from the database in a word document(which would act as an editor where i can highlight changes). but what happens is that, when i select a student's story to correct it,I get the word doc with the student's story, in the same browser!

which is good....i can happily save the file in the server and later reference it. but how do i come back to the a page where i want to give grades to the student after making corrections in the doc file?

Can i open the word doc in a fresh browser? then i can save the student's story with corrections in the browser(strikingthrough the spelling mistakes and blah blah) which has the doc file. and simultaneously give grades 'A,B,C...' and comments ... in anohter browser?

or my suggestion is too vague....how can i achieve giving comments and grades after checking the story?
i am attaching the files for ref
thanks
Attached Files
File Type: txt word.txt (2.0 KB, 617 views)
Reply With Quote
  #2 (permalink)  
Old 09-04-03, 09:07 AM
Stealth Stealth is offline
1337 pr0gr4mm3r
 
Join Date: Jun 2003
Location: Glasgow, Scotland
Posts: 188
Thanks: 0
Thanked 0 Times in 0 Posts
change the value

Code:
<form action="word_create.asp" >
to

Code:
<form action="word_create.asp"  target="_blank">

that should work
Reply With Quote
  #3 (permalink)  
Old 09-04-03, 10:11 AM
aspuser25 aspuser25 is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
yes u r rite..it worked...also i tried "new_window" which also gave same function as "_blank".

now i am stuck in a new problem. How can I have 2 buttons that submit the form to 2 different places...like one button i want it to open to a new doc file (which is happening) and another button i want it to open to a new page... (maybe on the same browser where i had the 2 buttons)...

i hope i am clear?

thanks!
Reply With Quote
  #4 (permalink)  
Old 08-24-04, 06:12 AM
rpsajwan rpsajwan is offline
Newbie Coder
 
Join Date: Aug 2004
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
hope this will solve ur prob...

change the file names in onClick event and use this code for ur submit button.


<input type="submit" name="Submit1" value="Submit1" onClick="this.form.action='FirstFileName';">

<input type="submit" name="Submit2" value="Submit2" onClick="this.form.action='SecondFileName';">
__________________
ravi
Reply With Quote
  #5 (permalink)  
Old 08-25-04, 12:59 AM
traceMe traceMe is offline
Newbie Coder
 
Join Date: Oct 2003
Location: india(mumbai)
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Hey can i get the code..

aspuser25,
i wanted to do the same like one page that gives me the doc file generated by database data...in a format..specified i just need to know how r u able to get the data in a word file cos when i try its not working....if you could just give me a idea bout how you have done it or pass the code that would be great.....

wish good things happen all around,
Praveenraj
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wanted: hrm / job seeker's help script .. open source PrettyPink Script Requests 1 03-24-06 01:34 AM
mouse over <tr> script open new window? angst JavaScript 0 07-30-03 08:50 AM
Company offers Open Source Solutions pbartels General Advertisements 1 06-30-03 10:00 AM
How to open a file?? bonnie ASP 10 06-17-03 05:14 AM
What can I use to update excel sheet on the fly using a browser? mysticwar PHP 1 06-17-03 01:23 AM


All times are GMT -5. The time now is 03:24 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.