How To Make A Hierarchial Tree Of Option Buttons Expand Without Refreshing Asp Page?
I have a list of broad categories. For example:
Pacific
Central
Eastern
Each of them are preceded by an option button. After the text, there is a plus sign. (this means that I can click on the + sign and then drill down further). For instance:
Pacific
California
Nevada
Oregon
Central
Eastern
Similarly, if I want I can drill down California, if I want to.
Now my question is:
How can I drill down each of them without refreshing the page ? Every time I click on the + sign, the whole page refreshes and then I have to scroll down to see the break down list of the hierarchial tree.
Please suggest ways of doing this dynamically. How can I expand my hierarchial list without having to lose the focus on my hierarchial option tree?
View Replies
ADVERTISEMENT
I would like to set up the following:
The web user does a search of a database and the results are returned in an
HTML table. I want to present the user with a table that just shows the
salient facts (brief item description, stock value, etc).
However, I'd like to give the user the opportunity to expand (and if they
wish to contract again) any one row of the table to display things like a
picture and an extended description of the row item, rather than have them
go to a separate page for this.
I'd also like to give them the option to expand all rows in the table (and
contract them again) if they wished.
What's the best way to achieve this? I'm not sure of the target audience,
so may have to support browsers using HTML4 (may even be Netscape...)
View Replies
View Related
How to refresh page ASP page after certain seconds. Is there any other way than <META> tag?
View Replies
View Related
I am creating one website using ASP. there r various users, who logs in & access the page. for this i m storing userid in session using session("userid")=username, & according to that i am giving access. in every page i am checking , if session("userid")<>"" then response.redirect("login.asp") end if.
when user clicks on logoff link i make session("userid")="" & response.redirect("login.asp").
In this case if anyone click on back button on browser, it is showing previous page,if that user refreshes that page then it is diverting to login page. i want to write such code so that if anyone clicks on back button after logoff then that user will be diverted to login page. can anyone tell me how to do? i ve tried using metatag , but it is refreshing the page after certain interval, so not useful to me.
View Replies
View Related
I have a menu that calls a specific asp page and passes a variable
data1page.asp?year=2001
where the value of the year variable is determined in code.
This works fine the first 2 times I call the page but after the second call, all future calls get the data for the same year as in the 2nd call. If I click on "Refresh" and then try a different call, it works as expected. I suspect the I am getting a cached page (why?).
How can I execute a call with a forced refresh and/or how can I prevent the called page from being cached?
View Replies
View Related
I have this page where I have some text boxes and also a dropdown list. My plan is to refresh the page automatically when an option is chosen in the drop down list. After refreshing, there will be a set of digits that will be shown, and the digits come from a database.
Code: ....
View Replies
View Related
I have an ASP Page where a user can update their account info.Having updated their account details I do a Response.Redirect to the same page in order to refresh the details. However, I want to display a message on the page that their account has been updated successfully.How can I do this and also refesh the page without clearing the message?
View Replies
View Related
I have to refresh a page for 5 seconds and then load a page called Dsp_FavAddOption.asp
I am getting an error page cannot be displayed. What i am doing wrong.
<meta http-equiv=Refresh content="5"; url="http://Dsp_FavAddOption.asp"> .
View Replies
View Related
I have developed a page which is refreshing once a second thru the meta tag. It is working if the page is in maximized view. If i minimized, it stops to refresh the page. How can i do it while the window is in minimized state.
View Replies
View Related
How to refresh ASP page after particular time intervel? Is there any way other than <META> tag?
View Replies
View Related
My web page is calling a result set that is displayed on the page. If I click refresh, it pops a warning saying, "The page cannot be refreshed without resending the information." I then have to click RETRY in order to refresh the page.
Is there anyway to automatically perform that action so that my users will not have to be prompted?
View Replies
View Related
I have an application that displays messages that are stored in SQL server
The application uses frames
In the vertical frame along the left side of the page, I enumerate the
current messages. This frame is named "SELECT"
Clicking on a message subject causes
In the main frame, named "BODY" I display the message that is retrieved from
SQL Server in a textarea.
When a message is displayed, I also display a prompt ro delete the message.
The delete prompt works just fine except that I need a way to update the
enumeration of messages in the "SELECT" frame.
Is there a practical way to force the page in the select frame to refresh
itself when I delete a record?
View Replies
View Related
I have an asp page which when loads, sends notification emails and adds data to a Mysql database.
What i want to stop happening is people refreshing the page or when navigating back to the page using the browser, this script is run again.
View Replies
View Related
I am having a serious doubt in the following issue. I have written an asp page to enter the user info like the userid, passwd, address, phone no. This page first checks for the existence of userid and gives an alert message in java script saying that the userid already exists. but when the page is refreshed, once the alert box appears, all the other fields entered previously gets lost.
the page is directed to the original screen and the user ends up typing all the fields again. how do i direct the page to store all the data that was previously typed and still give an alert message? can i get some examples on how to do this?
View Replies
View Related
I have an ASP page that displays random facts. Data is stored in a database. Everytime user hits on refresh, randomize function shows a new fact. I would like my asp page to refresh automatically every minute or so and run the randomize funtion and show a new fact. Is it possible with ASP? I have seen it done with Flash.
View Replies
View Related
we built a dynamic shopping cart inhouse using ASP and VB SCRIPT. however when it wants to load in (IE only) the page keeps auto refreshing or should i say looping. We have checked the scripts in and out and their are no errors, timeouts, EOF or BOF, or any on error resume next. Is there a reason or way to debug this ? it only loops in IE, as other browsers are fine.
View Replies
View Related
I have an asp page that gets populated from a SQL Server database. Normally
when the page gets displayed it displays the current record from a select
statement that can return lets say seven records.
The problem I am having is when I click the refresh button in IE, the page
displays another record instead of the record it was displaying before I
clicked on the refresh button.
I cannot figure out why it is doing this. Has anyone experienced a similar
problem? If so, what solution did you come up with.
View Replies
View Related
i need to know how to refresh my page after it loads but only one time. don't ask why
also is there a asp command that displays current url?
View Replies
View Related
I have an asp application where in a certain page you have to enter a PO number, if you click the search it will bring up the 15 most previous PO number w/some information.
I want to be able to have those PO Numbers to be links, that when you click them it closes the new window(I have this) and the parent page can grab the PO number clicked and display that in this text field how would I go about this?
View Replies
View Related
I have an VBScript/ASP page that lists bikes that are checked out. For each checked out bike, there is a button to check it back in to the system.
Problem is, that when a bike is checked in, it is properly removed from check out in the database but will still appear in the recordset when the checked out bikes are re-listed.
Recordsets should be destroyed after a page is rendered -- correct? I've tried multiple methods of forcing a refresh to no avail.
I included the following (and multiple incarnations of it) at the top of the ASP page just below the language declaration. Code:
View Replies
View Related
how to stop sending data to the database when refreshing the page,i use access database with asp,all the time that i refresh the page same data goes to the database again and again
View Replies
View Related
I'm trying to build a tray for users to download their selected items. I was wondering if anyone knows how to response.redirect a file (for the user to download) and check to see if the download was successful/unsuccessful, then have the asp page reload itself based on the result?
e.g. something like this:
if Session("FileName") <> "" Then 'a file is ready for download
response.redirect (Session("FileName"))
** check if download successful, then set
** the tray info accordingly and...
response.redirect thispage.asp
end if
Of course the second response.redirect never gets called, is there any other way I can do this?
View Replies
View Related
How do we update a single entry on a forum page without refreshing the whole page as we do on this forum with quick reply; When we type some data and press quick reply, only the text written is added to the page and none of the existing page contents are updated.
I hope my question is clear.
View Replies
View Related
I want to know if you can write a print this page option to a page. I want to write this function in asp or vbscript. I know you can do this in javascript but I don't want tot use this. I also know there is a print fuinction in the browser this is also not what I'm looking for.
I want a piece of tekst which say something like "print this page" When you click on it a asp or vbscript will print the page to your own printer.
I need to know if this is possible and what the code is.
View Replies
View Related
I have several asp pages which contains maps and I would like to provide an
easy way for users to print this maps and they do not have to go through
printer setup before they hit print on browser. I need to pre set the printer
to landscape and 11x17 from my asp page. Is it possible? How can I do this?
View Replies
View Related
I'm trying to set up a Windows 2003 server using ASP, and I am find ASP
pages just STOP as if I had called Response.End whenever an undeclared
variable is found. If I turn off Option Explicit, it doesn't happen.
Clearly I can Dim the variable to solve the problem (I mention this in case
some smartaleck decided to propose it as the solution), but it is making
finding undeclared variables very hard! Anyone have any idea what I've
done wrong in my configuration?
View Replies
View Related
I am trying to add record to the database (Ms Access) from a ASP page, which is the easy part. Now I am faced with a simple but hard to me problem. I've a select menu where user can pick multiple value, but when there's a option is not there I was user to be able enter a new option vale and select it.
right now I am redirecting them to a page where by they can add but in process I am lossing the information they entred before hand in other fields.
what I like to do is: from the page where user enter info be able to put a pop-up window then ask them for info and copy the info and add to the option box for selection without reloading the page. is this possible?
View Replies
View Related
if I stick a DropDownList in a TableCell (all server-side) and click it, it drops down
over the grid without enlarging the cell and distorting the table. How do I get a user control to do the same? I've tried using Code:
<div style="z-index : 400">
in
my UserControl.ascx and in the main page layout but without success.
View Replies
View Related
I have a webapp. that holds a lot of documents. Some of the documents needs to be produced from a database on-the-fly, some are static documents like PDF, Word documents, etc... In the end, a user can do a request to produce a large amount of documents as one huge PDF document. Today the creation of documents is working, but all code is done in ASP.
In Visual Basic, I was thinking about making an ActiveX EXE server that generates the PDF document. The ASP page will be polling until the file is generated. When this is done, the file will be displayed. I have only written down my thoughts on the subject. Is there a good way to do this?
View Replies
View Related
I am developing an ASP page for clients. I will host the page on my
server, but it must appear on the clients' websites. That means that
the user should not be redirected to my site, but instead should remain
on the client's site. Or at least appear that they are remaining on the
client's site.
One thing that would be acceptable is to host the page on the client's
site, but have it hit my site to get the data. I have looked into
XMLHTTP and also just having the ASP page hit a remote SQL Server
instead of a local one, but haven't made any decisions yet.
View Replies
View Related
I have a page where the user selects the product they want and from that selection a new page opens with a detailed look of the product. I would like this new page to open as a brand new window with a size I have choosen. Where do I set the size I would like to the page to open as?
View Replies
View Related
I am designing a page where I have to get its location so I can reuse the page in different sections of my site. I know Server.MapPath gets the webroot ... but how do I get the path of the page I am in?
View Replies
View Related
I need to make a redirect page in ASP using VBScript. It should display a message like "Redirecting, please wait . . ." & after some time it should redirect to any other page.
Example of this is in sitepoint itself. When you login in sitepoint it shows you a page for some time with message "Thanks for logging" & then redirects you to home page.
View Replies
View Related