I have a simple table that three fields: StudentNumber, ExamGrade, ExamDate. I want to select a list of StudentNumbers where the student took at least 3 exams within a 5 day period (ExamDate) and had a grade(ExamGrade) of 70 or better on each exam. Make sense? The 5-day period is not predefined...
I have my web.config set to authentication mode=Windows. this works fine. Is there a way that I can have a "Login as Differnet User" button/functionality where my site would prompt for a username and password and my site would act as if I was that user?
My company uses Sharepoint and it uses...
I have a master page with an asp:menu control. The control has both static and dynamic templates. each page I go to on my site, there is a message in the status bar at the bottom of the browser that says '(150 Items Remaining) and it counts down from 150 to 0. This takes several seconds on each...
I have a Sub that I call at the end of my page_load sub:
Public Sub pageLook()
Dim script As New StringBuilder
...
Dim csname1 As String = "startup"
Dim cstype As Type = Me.GetType()
Dim cs As ClientScriptManager = Page.ClientScript
If (Not...
In VS2005, I've dropped a createUserWizard control, a login control, a Passwg8ordRecovery control, and a changePassword control onto a page. I am using ActiveDirectory as my mebership provider. I have extended the schema to allow for for the Qustion/Answer part of recovery. The password requires...
With .net 2.0, I am using the ADMembershipProvider to connect to Active Directory (not ADAM). Looking through the MSDN sites, it shows an attribute 'enablePasswordRetrieval' that can be true or false. Every example I find on Google shows it set to false. I would like to set it to true, but...
I have a master page in ASP.NET 2.0 and two child pages. The first child is named default.aspx and the second is info.aspx. Default.aspx has a form that posts back to itself, does some stuff, and server.transfers to info.aspx. Info.aspx has another form that posts back to itself. When I step...
Please help me understand the functionality of web parts. My company uses a WebLogic portal and I have been asked to create a web part that can be consumed by the portal application. Can this be done? Everthing I find on 2.0 web parts has a .net page that consumes the web parts. What I guess I...
I have an asp.net 2.0 application and I dropped a PasswordRecovery control on a page. The control works fine, but I have a problem with the validator. The control has a text box for the username and a submit button. If the text box is left blank and the button clicked, a red asterisk appears...
I have a simple form that has a quantity, unit price, item total. The form calculates the item total by multiplying quantity and unit price. There is also a subtotal field that adds all the item totals together. There is a shipping field that multiplies the subtotal by .05. Finally, there is a...
How do I have my code wait for a response from a database call for a certain length of time before it gives up and moves on? When my code below hits the executequery, it waits for a response. If there is an error on the db side, my code waits indefinitely. I need it to give up after, say, 30...
Can anyone tell me why the first form works, but the send doesn't?
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript"><!--
function link(x,what) {
what.mySelect.value = what.mySelect.value.toUpperCase();
}
//--></SCRIPT>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="text" NAME="mySelect">...
Is there a way to have actionScript 'read' the name of the swf it is in? I have a preloader that loads a second swf. I want to reuse this many times loading different files.
For example, I want to name the preloader playerA.swf and have actionscript that loads a file called playerA1.swf. The...
I have some code inside the Application_BeginRequest sub an my global.asax file. If I make changes to it, the pages still act as if no change was made. I even went as far as removing the sax file all together and the pages still act as if they are hitting it. I figure it must be cached...
Here is the siuation:
I have a directory full of html pages and their associated graphics and multimedia files. I want to allow someone access to the pages only if he has an approprate cookie set.
I am trying to create a handler that will check for the cookie and, if it is valid, allow them...
I have a webpage on one server that fires a popup child window with a page located on another server.
If I use window.opener.refresh() on the child window, I get the object isn't supported.
If I use window.opener.reload(), I get permission denied error.
Is there a way to refresh the opener...
I am trying to figure out how to set up a handler in the web.config file that will, based on a token sent from another server, authenticate the user and allow him to view the pages and access the multimedia files in the site. I want to prevent putting an include file on every page and prevent...
I am required to have a confirm box appear when entering a site that states terms and conditions. The trouble is that the text is long and causes the confirm window to be too large to see the the buttons at the bottom. On a Mac, the test is put into a scrollable window in the confirm box...
I am using an X509 certificate for a web service. I installed the certificate using Internet Explorer's Certificate Tool on one computer and the web service worked fine. I tried installing it on another PC (win2000) and the web service cannot find the certificate. Anybody run into an issue...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.