I'm converting an old classic asp website to asp.net.
The application is basically an extension of a tool set for a given set of users but it is hosted at an external vendor.
To perform a seamless transfer to this application it POSTS some xml data which is firing off the "potentially dangerous Request.Form value". I know I could tur...
I have a DataList that is bound to a SQlDataSource.
The SQLDataSource returns a stored procedure value containing the max indentity value in a table.
On the same page as the DataList I have a DetailsView that is used to add new records to the table.
The problem is that after adding a new record to the table the Datalist value shows t...
This is a two part question.
Is it possible to take advantage of xVal's automatic client side validation with ASP.NET WebForms?
If so, are there any examples available?
I imagine that it would be possible to extend xVal to include ASP.NET Validator controls. These controls would be the WebForms equivalent of <%= Html.ClientSideValida...
Is it possible to checkout files from subversion without those .svn folders? (for publishing .NET apps to release server).
...
Hi there,
My development machine is Win XP Pro 32 bit and production machine is Windows Server 2008 (64 Bit) with IIS 7. On my development machine I want to compile ASP.NET (Using aspnet compiler) to 64 bit byte code.
Can anyone please tell me how to do that? Please do not suggest any way to run 32 bit application on 64 bit environment...
I have seen in some other questions that using Session_ End() in Global.asax.cs is not advised. This is because if you're not using the default Session handler, Session_End won't get called, correct? Is there any other cases where it won't get called?
The big question is: If you can't depend on Session_End(), what do you do to determin...
I have a Pages table, I have a PagesRoles table with PageId, RoleID that links to ASP.Net Membership Roles table and the Pages table.
I want to somehow return a Page that links to the currently logged in User's Roles.
The User may be in more than one role. A Page can have more than one Role against it.
I have a Page class that has a f...
I am working on rendering a dynamic form in an ASP.NET MVC view that will meet these requirements:
Fields can be validated
State is preserved when the form is invalid
I am looking into creating a custom model binder to achieve this. I am generally planning to do this:
Form fields are defined with these properties
Prompt (label nex...
Hello! I'm currently developing an ASP.NET Human Resources System. I'm using a layered architecture with Web Client Software Factory, which is based on MVP pattern. ORM is NHibernate. And I need to implement an Audit Log module. I've read a lot about different approaches. Most of them describe how to track date, timastamp and identity of...
I am attempting to create a web page that will allow a user to capture images from a camera attached to the server using ASP.NET. The camera is an olympus and the server side code has access to all of the synchronous calls that are in the sdk of the camera. The problem arises when I attempt to capture an image. The way it works in the ...
Hi guys,
I need to know that is there any way that we could provide multiple sections in one command.
aspnet_regiis -pe "connectionStrings" "appSettings" -app "/abc"
As I have 3 config files, if the above is not possible then I need to do write that command 6 times.
...
I'm building a client-server (c#) application that uses a web services to synchronize the data.
Basically I am passing the XML of a DataSet back and forth. But depending on various parameters the dataset can actually be quite large. I'm compressing the XML using Gzip and want to pass that to the web server and the get the resulting com...
Has anyone used SIFR or Facelift (FLIR) with ASP.net? I noticed that all the scripts included with FLIR are all PHP pages. I looked around but it looks like there isn't a good solution for image replacement for ASP.net.
...
I'm trying to build an ASP.net user control that uses a Repeater to iterate over a number of items in an ObjectDataSource that I need to pass in to the user control. I'm not sure how to pass the object data source in though. Any one know how to do this?
...
If I have listview control with a button in the item template, how do I handle the onclick events for each of the buttons that ends up getting generated in the listview?
...
I have to use a 3rd party web service implemented in .NET 2.0 (on IIS, of course).
I have to make a java client. I am using wsdl2java to generate the SOAP stub.
As the original Apache Axis project now appears unmaintained, and I was having some problems parsing some responses from the service, I converted the client to use the latest ...
How do I handle the click of a checkbox to show another control preferrably a user conrtrol (ASP.NET ) dynamically.
...
So, I've been playing with asp:PasswordRecovery and discovered I really don't like it, for several reasons:
1) Alice's password can be reset even without having access to Alice's email. A security question for password resets mitigates this, but does not really satisfy me.
2) Alice's new password is sent back to her in cleartext. I w...
I'm trying to use the API on a website, here's the part of the manual:
Authenticated Sessions (taken from here)
To create an authenticated session, you need to request an authToken from the '/auth' API resource.
URL: http://stage.amee.com/auth (this is not my domain)
Method: POST
Request format: application/x-www-form-urlencoded
Resp...
I am working on a ASP.NET MVC web site that has multiple submit buttons. i.e.
<input type="submit" name="SubmitButton" value="Reset" />
<input type="submit" name="SubmitButton" value="OK" />
<input type="submit" name="SubmitButton" value="Back" />
I need to allow users to quickly submitting the form by pressing the 'Enter'...