I have done asp and want to start with asp.net can u plz suggest some good book from beginner's point of view . also can u suggest some online resources
I have in an order 3 tables with three different orders in them. If the customer wishes to purchase a forth item then they would click on the add new item. Problem:
When the customer click on the add new item button it then adds the new order form for the forth item. The problem is that it reloads the page at the top meaning that you have to scroll down to the new order form.
I have tried the Auto Page Jump technique like so:
I have an asp page, where under special circumstances, I want the page to scroll down a bit. I know how to set up the conditions, but how do I get the page to scroll down to an anchor further down when the it loads?
I've been searching for a complete listing of the CDO constants, but have come up empty. Where can I find a listing of all the CDO named constants that can be referenced directly with the CDO metadata typelib, i.e.,
<!-- METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Library" -->
I am using an <IFRAME> on one of my pages and want to jump to one part of the page that is loaded, but I'm also passing querystring variables in the link. It doesn't seem to recognise the #now anchor that I want to jump to.
how can i jump directly to another page ? let me explain better...i've got this form...the user fullfills the form and presses send...the form calls and asp file...after executing that file i want to be able to send the user to a specific web page, but i don't want him to press any link...just go there directly...how can i do it ?
how would I go about setting the <selected> attribute of a jump menu to one representing the current page? background info: i have a template-based site employing a jump menu as the navigation, but for usability's sake it needs to not reset back to the first option in the menu, but rather hang on to the current page as the 'selected' option. example of similar HTML showing the hard-coded 'selected' option I need to change: Code:
I put jump menu with a dynamic value of username field in my ASP JS... i want to display the field information every time i click or select the certain username.
Can I name my array index rather than number?I am reading a RS into an array and rather than reference the fields in each elements using a number, i would lke to use the column headers from the table:
myArray(13,6)
would become
my array(name,6).
The reason is that i am worried about a query being added to in the table and throwing the column numbers out.
I have four pull-down menus and a GO button. Each menu contribute a parameter to an URL query string (like asp?a=1&b=2&c=3&d=4) where variable a is return from menu1, b returns from menu2 etc.
I created the four menus using Dreamweaver's INSERT JUMP MENU function and I find it difficult to modify its auto-generated javascript code to suit my needs. Does anyone has the complete code to accomplish this?
I've writen the code below which displays a drop down select menu and can be displayed by writing the variable 'sjobs'. The code works fine as it is and the menu is populated with the requested info from the database ok. The problem I'm having is adding url links to the menu values. Code:
I am trying to passing some variables via the url and also a named anchor appended to the end. unfortunetely the named anchor is been read in as part of the last variable.
threads.asp?t=96&f=15&j=y#288
I use request.queryString("j") to retrieve the value but the value returned is y#288 and no y as expected.
Basically, I would like to create a folder on my server for each user that comes to my site based on their last name which they enter. The code I have below is incomplete as I don't know how to incorporate the lastname into the CreateFolder method.
dim lastname, objFSO lastname = Request.Form("lastname") Set objFSO = Server.CreateObject("Scripting.FileSystemObject") folder = Server.mapPath("/test/") objFSO.CreateFolder(folder) Set objFSO = Nothing
I know it's possible to extract data from a named range on an excel sheet. What I want to know is can I dynamically generate a named range with X columns and Y rows with VBScript.
I have developed an extranet system, that is not recognizing any named anchors in IE. The top drop down on the page should be jumping the user to each section. It works beautifully in Firefox, but not in IE. Has anyone encountered this before? Any insights?
I have a home page on an intranet called default.asp I just type in the server name to take me to the default page http://server. The home page has an anchor name tag: <A name="fred">Freds Info</A> It is located by this anchor href tag: <A href="#fred">Up to Freds Info</A> The problem is that when I first use the link to take me up to Freds Info, the default.asp page is reloaded then I am taken to the Freds Info, which is a pain I dont want this to happen. I just want to click the link and be taken to the part on the page. After the page is reloaded I can then use the link again to go up to Freds Info without the page reloading. What is the problem?
In 1.asp: <a name="head"> <iframe src="2.asp#a1"></iframe>
In 2.asp <a href="1.asp?ID=1#head">link</a>
When 1.asp 's opened, it go to anchor of 2.asp.But my intention is when opening the 1.asp will go to anchor 1.asp (head) and iframe will go to anchor 2.asp (a1).They must work independent together
I am trying to solve the following exception. The exception occurs when my ASP.NET code behind code attemtps to access a remore site using SSL. Please note that all certificates are valid and the remote site is trusted. Also, my web site uses a custom HTTPModule implemented in a DLL named Security.dll.
Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.EntryPointNotFoundException: Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll.
This means that the content in the div tag when larger than the div height has a scroll bar at the side to view all the projects. Once the projects area displayed there is a image at the end of each row that when clicked goes to the db and pull back reports for that project. This is all done by passing vars in the querystring pulling info from the db and writing out the appropriate code. Code:
should jump to the "foo" anchor in the page that results from the querystring (comments.asp?id=34)... but sometimes in IE6 it reads id not as "34" but as "34#foo" ... odd behaviour and i cant recreate it reliably, i have two very similar sites and one seccumbed to this bug and the other didnt, what i had to do was double check the input value (i was basically using isnumeric on it) and Code:
I'm trying to do the following: Code: response.redirect("partnerdetails.asp?"&request.QueryString&"#card") ASP tries to take the html as part of the querystring, putting the anchor like this: Code: response.redirect("partnerdetails.asp#card?"&request.QueryString") Also creates an error. How do I make these work together?
I have a web page that accesses a database to pull news stories down and create a link to another page that is populated with the news stories. These stories take up enough space that the page has to scroll. I want to be able to have the links it generate go directly to an anchor on the second page where the news story begins.
Can someone point me in the right direction to a place where I can get more information about this?
Whenever I click on a link (on the shoppingcart site I'm developing) that contains a querystring with the category name and an anchor name (whatever the name of the '#' bit in the URL is), SQL retrieves the category name from the querystring, filters out the appropriate information on the products and the page jumps down to the anchor link.
Once the customer clicks on a product, the processing page is meant to redirect, via the server.redirect command, back to the products page with a querystring identical to the initial filtering one (with the anchor name attached), thus teh customer is back to the same product that he clicked on, without having to scroll down every few seconds to add more of the same product.
However, even though the querystring sent by the response.redirect command is identical, the ASP code can't seperate it again properly and thus the SQL statement shows nothing, as the ASP coding thinks that the info following (and including) the # is apart of the 'category' part of the querystring.