I am creating a softball schedule app that will be used by multiple teams.
I have a table the has team info - id, name, coach, etc
I have a table that has game info - id, date, teamid, opponentid, outcome
Here are the two models:
namespace softball.Models
{
[Table("tblTeams")]
public class...
I am brand spanking new to MVC, leaning MVC4 at the moment due to access to a video tutorial on the subject.
My project will require access to both MSSQL and MySQL. There will be a configuration table in MSSQL that holds the info for various clients, including database connection info. Some...
Here's a code sample - I have response.writes put in to see what's going on:
dim o
set o = server.CreateObject("MSXML2.XMLHTTP")
o.open "GET", "https://www.url.com/", true
o.setRequestHeader "header1", "value1"
o.setRequestHeader "header2", "value2"
o.onreadystatechange =...
I've inherited a project that has gone through a security audit. One thing they found is that the session ID is not updating after login and this opens the application up to a Session Fixation attack.
My problem is one of timing it appears. The default.aspx.vb handles the login click and checks...
I have an XML response returning from a web service. It all works fine on my local machine in debug mode, but when I copy it up to the server I am getting the following error:
Data at the root level is invalid. Line 1, position 1.
I did some research and saw one suggestion to use .Load with a...
In this thread:
thread855-368962
...there is a solution for dynamically adding web reference URL using the web.config. What about if the info being used to call the service is stored in a database? Can this be done?
Is there a way to use Server.Transfer such that it will load template info? Right now I have an app that I did not right, I am maintaining, bug fixing, and adding features. One thing we added is templates - there are two templates. Depending on the URL, it loads one or the other. The logic for...
Fairly new to ASP.NET. I have a CheckboxList that I have successfully bound to a DataTable which was generated by a stored procedure which returns several rows of data. The rows include the following fields: ID, Desc, Checked
I am binding the Desc to DataTextField and the ID to DataValueField...
I have an applet that opens within a frame inside a div that overlays my main page. When the user clicks the close button, it hides the div including the applet using the following CSS:
display: none;
visibility: hidden;
This works everywhere except IE9. Anyone have any ideas why or how I...
thread1600-1279426
I hope the thread reference above works. I tried both methods and could not get either to work, but I may have misunderstood.
I am trying to use AJAX to load some new form fields into the page. Once those fields are loaded, I need to initialize and load some values from...
Hello!
I am pretty new to asp.NET and I have built a simple web site and deployed it successfully. Now I need to change a phone number on the home page. I changed it and published it to our development server precompiled. It works fine on the dev server. Now I want to copy it to our test...
Hello!
I have a problem that is causing me fits and I have no idea what is causing it or how to fix it - but I can reproduce it consistently.
We have 3 environments in our work flow - development, staging, and production. The dev and stg environments are subdomains of the production...
Hey everyone,
I have several web applications running on various domains and they all point to a single database connected app on another domain.
For this example we'll say the web application is on domain1.com. The home page for domain1.com opens a login window in an IFRAME. That login...
Hey there,
My company just gave us Visual Studio 2008 to use and I am setting it up to edit all our old ASP applications. When I load the source code for an ASP page, it does not use the font colors setup in the text editor. The comments are not green, keywords are not blue, strings are not...
Hey all!
Assuming I have 3 domains as follows:
app1.domain.com on server 1
app2.domain.com on server 2
images.domain.com on server 3
Question 1: If I set a cookie attribute Response.Cookies("cookiename").Domain = "domain.com" should the cookie be accessible across all 3 of those domains...
Hey everyone.
I am trying to peg a div to the bottom right corner of my web page. I want it to either always be at the bottom right corner of the page OR I want it to always stay in the bottom right corner of the window....I don't care which. I cannot make it do either it seems (except in IE6...
The setup - we have an application that was written as an IE based intranet app. We migrated it to the web a long time ago when IE was the 90ish% dominant browser in the market and just placed a message saying IE required. We've now updated the app with some new features however, they do not...
Is there a way to get around this?
I have a web page that is running on http non-ssl. In the page I have an IFRAME that opens a https ssl page. I need the child ssl page to access elements and JavaScript from the parent non-ssl page and I keep getting Access denied errors. Am I screwed or is...
Hello TekTips Pros!
I wrote a site for an intranet that is IE only and it works beautifully. Now I have been asked to convert it for the web and I need to make it cross-browser compliant. I know...I know...I should have just done it that way from the start but the end users were on IE6 and I...
Hello!
I have no Flash experience whatsoever but I have a web client who wants to have some videos stored in a location that is not under the web root. We are wondering if a Flash player would be able to open and play a video file by pointing the player to a location such as:
d:\videos\userid...
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.