Hi,
I am working on a Webforms app (in VS 2010, .net 4.0, VB) that uses SQL2008, Linq2Sql, Domain Services and Dynamic Data.
My problem is that when I try to insert a new record, I get the error: "..CustomerId is required"
but the ID is set as primary key and Identity in the database and the Customer entity in the L2S Datamodel is also...
So I have a basic form for the users Name, Email, Address, and Gender. At the end is a normal Submit button and the Form's action is a file called register.php which uses POST. It then does a standard check to see whether the information entered was correct. But now I want to integrate PayPal payment into it.
Now, if you can head over t...
Erm, not more details really, the title says it all:
Is there an equivalent to MvcBuildViews for webforms?
...
So I'm running out of time on this project and I posted here in hopes that someone can help me.
Backstory
There's a church retreat coming up and I'm in charge of making the website.
The Meaty Info
On the site there's a simple registration form on the page that has some basic information (I have to add fields for Location, Phone Numbe...
I can't figure out a good design for this.
I have an edit product page. It allows you to change basic product details, product name etc.
Then I have a function to upload images of the product.
I also have a small page for adding different prices based on date ranges for the product.
What I can't figure out, is how to have these on...
I will be adding new pages and adding functionality to current pages.
I would basically like to use new technology and but I don't know how should I add it to classic ASP pages
In other words, can I <#--include--> an aspx page in Classic asp page? Or anything of that sort, may be creating a user control in ASP.NET and using it in class...
So I have a retreat registration form that is hooked up to PayPal. Now, before I hooked it up to PayPal, I setup code in PHP to go through and check if each field was valid and sanitize them properly. After that, it would add this person to a database.
Now, what I wanted to happen after that is for it to redirect the user to the PayPal ...
I am using jQuery within a server side control to post back to a common handler.
For instance, I have "/handler.ashx" which services pages all over my application.
How I want some code within handler.ashx to be able to get the class which created the page that the control is on. In handler.ashx I can see the referer (for example Refe...
i have a gridview,two buttons(edit,save) ,what i wanna to do is :
when click edit open the gridview in edit mode for all the textboxes.
when click save takes the changes and update
(rather than edit and update row by row)
i use object data source.
...
I'm trying to build a Rails app in which you can edit the same model from several different locations on the page. I want changes to be saved automatically every X seconds, with an option of manually triggering a save.
I have come up with a solution, but it seems very complicated, and I assume other Rails users have already faced simila...
I have an asp.net webforms application in production server and it was really slow. So i decided to get some performance tips from my fellow SO users.
I ve applied these to increase my asp.net website performance,
Set debug=false
Turn off Tracing
Image caching
<caching>
<profiles>
<add extension=".png" pol...
I am just starting out with JQuery and Javascript, and adapting a nested set of checkbox inputs to make use of jstree checkbox behaviours. After realising that each item had to be an anchor tag to be recognised by the jstree code, I am now unsure how to generate values from the items for a POST form submission. Previously they were check...
Hi. I'm having the following problem: I have a page where a user inserts text inside a textarea and then I output the contents of that textarea in another page (php).
If the user decides to insert, for example input type="text" name="_name" (can't use < and > or the text won't show, which is exactly my problem) then when showing the out...
<input type='text' name='one' id='oneID' maxlength="150">
i need the JS to display the number of characters left that user can input
a picture is worth a 1000 words so no more explanation required...
...
I'm using a wizard control, step 1 has a list box with a list box containing entries 1-10. Step 2 then dynamically build and displays 1 list box per entry. Each list box in step 2 contains 5 entries each. I have one more step that needs to read the list boxes from step 2 and get their values to display 3 radio buttons per choosen entry f...
I have been trying to create a simple calculator. Using PHP I managed to get the values from input fields and jump menus from the POST, but of course the form refreshes upon submit.
Using Javascript i tried using
function changeText(){
document.getElementById('result').innerHTML = '<?php echo "$result";?>'
but this would keep giving ...
Hi,
I've had something strange happen lately with php script I use to send emails from an online contact form and just wondered if any one could shed a little light on the issue.
I've had a php script which I use on multiple websites and it has always worked fine, but for some strange reason, I tried using in on one site and it just wa...
I am trying to create a form for my company's website. I am letting a customer selectively donate to my company upon download of a piece of software. If they check a box, I'd like a "Donate" button to appear with code to go to my third party store (I know how to do this), and if they don't select the checkbox, then I'd like a different b...
Is this possible with ASP.NET 4.0? In 3.5 it was not.
If it still is not possible has anyone tried injection with a framework like LinFu?
Update
I'm specifically asking about constructor inject in ASP.Net webfroms. In 3.5 it was not possible.
...
Im looking for a really good form builder like http://jotform.com but one that uses JQuery for validation.
The things I like is the really easy drag and drop and the speed at which forms can be created and then I can grab the code and put it on a site.
Jotform uses Prototype and it conflicts with JQuery.
Is there one avaliable?
...