The WorldPay payment gateway suggests using this HTML to take the customer to the payment page:
<form action="https://select-test.wp3.rbsworldpay.com/wcc/purchase" name="BuyForm" method="POST">
<input type="hidden" name="instId" value="211616">
<input type="hidden" name="cartId" value="abc123">
<input type="hidden" name="currency" valu...
string updateIncomeData = @"INSERT INTO TEAM_FUNDS_DETAILS("
+ "COMPONENT_TYPE,COMPONENT_NAME,COMPONENT_AMOUNT, YEAR_FOR, MONTH_FOR)"
+ "VALUES(" + Convert.ToInt32(TeamFundDetailsEnumClass.ComponentType.Income)
+ " , ?, ?,"
+ ddlYear.SelectedIndex + ", " + ddlMonth.SelectedIndex + ")"
This parametrized query gives me an e...
I tried to integrate this javascript mvc sample http://www.alexatnet.com/content/model-view-controller-mvc-javascript into an asp.net page, I'm complete beginner at jquery and nothing shows up, why ?
Update: I have added missing html listbox but now no javascript seems to execute to initialize the listbox nor the buttons seem to work
<...
Hi,
I want to redirect a request in an asp.net web site based on the domain, my scenario is like this.
I have the app setup so that it will process the requests from multiple domains like from www.abc.com and www.xyz.com, now i want that when ever a request comes to the www.abc.com/default.aspx the url would be rewrites to the www.ab...
I have a very simple ASP.NET web application created under Visual Studio 2008 (SP1), targeting .NET 3.5.
Startup page is a dumbed down ASPX page with 4 text boxes, a button, and two JScript functions:
An OnLoad handler for the body. This function just sets the values of the text boxes to certain dates and times for testing.
An OnClic...
I'm currently modifying a web application (ASP.NET and C#) of mine. Before, the user searched for an account in a seperate page, then opened up the details of the user in another page using a QueryString.
Now, I'm requested to make it all one page. So the initial searching page is gone, and the textbox is placed at the top of the main d...
Hello Everyone.
I have a solution in Visual Studio 2008 with 3 projects. One Web Application and 2 class libraries. The entity framework model is in a class library and the start project is the web application.
I used to have this problem:
"The specified named connection is either not found in the configuration, not intended to be use...
hello guys,
i have a problem and hope that somebody can help me.
i am developing in vb.net. i have a gridview with a template field, in which i have a asp:image tag. But the browser dont show any image. i does not render the image. if i check the sourccode in the browser there is no image tag. But the visual web developer show the imag...
I want to have the filter controls of a radgrid sit outside the radgrid. can this be done?
...
I am using Linq to Sql as my ORM and I have a list of Ids (up to a few thousand) passed into my retriever method, and with that list I want to grab all User records that correspond to those unique Ids. To clarify, imagine I have something like this:
List<IUser> GetUsersForListOfIds(List<int> ids)
{
using (var db = new UserDataCo...
Hi guys,
whenever I build my web solution I get this error :
Could not load file or assembly 'dotless.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=96b446c9e63eae34' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
I have VS 2010 with .NET 4.0 on Windows 7.
The dlls...
Hello SO,
This is my first attempt at updating a database using LINQtoSQL. At least, it's my first if you don't count the tutorials I've followed. Unfortunately, The tutorials that I have found don't offer much more than updating a single table. I'm attempting to update a DB Model that's a bit more complex.
I have a Stream table:
[Tab...
Hi, i'd like to prepopulate my textfield with the following variable <%=Membership.GetUser().Email%> so that users can submit their email address to my table without having to type it in. THanks!
---- here's my form code----
<form id="form1" runat="server">
<div>
<!-- This is the code for the form. There is a Text Box to co...
Using Facebox with .NET (Web Forms) is painful--this primarily HTML site was designed by someone else. I may have IIS (7.5) issues as well. This Facebox pop-up is in a separate file, login.html, that is called from index.html:
$k('a[rel*=example_2]').facebox_1({
loading_image : '/images/loading.gif',
close_image : '/images/closela...
Hey I am using a 3rd Party CMS tool called Ektron in which i can set up page aliases.
Now what Ive been trying to do is catch invalid aliases in my 404 and redirect to correct ones. Now I had to turn off the ektron redirect to 404 page because it basically stripped all the request header info so i couldnt trace the referrer url which wa...
Here's the big picture. We're running a server in IIS 6 that hosts several web sites and applications, and we're in the process of moving the whole thing to a different data center with a slightly different setup. We've notified our users and updated our DNS info so that theoretically everyone will be happily hitting the new server fro...
What sets the JSON buffer length other than web.config or creating an instance of the JavaScriptSerializer?
Is anyone aware if ASP.Net, the .Net Framework, IIS, IE force or impose a buffer lenght forced at 2 Megabytes or data?
So far maxJsonLength is the only property I control.
All works as expected bellow 2Megabytes, but above that...
Hi I am trying to learn C# and ASP.NET, I read some books I do the exercises I kind of understand what I do when I do the exercises but when I have to do it on my own I have not Idea what to do to start creating a program.
I also did a course for 1 month and I worked for 2 years as web maintenance purely HTML,CSS,Javascript, XML, etc......
I have a web app that takes some client info and produces a letter for each client. Everything works good in my test environment, but on the production server I get an error that says the file is corrupt. I can open the .dotx file in word just fine on the server but not via code. Please help. Here is my code:
Object oMissing = Syste...
Dear All,
We are working on ASP.NET applications development. In the current application we need to create an online tutoring/training board where both Tutor and Students can join and takes training sessions on different subjects.
In this regard, could you please let me know the following information, if you have an id...