View Complete Post
I've set in the web.config:
<!-- User Authentication -->
<forms loginUrl="~/Page/View/Content/Login.aspx" timeout="2880" requireSSL="true" />
This works fine. If there is no ssl connection, the login form doesn't continue. But I would like to check if ssl is active (in codebehind) and, if it's possible, to automatically the user to the https page if he's currently on http. (I could do this job by manually redirect with page.response("https://url.../login.aspx"); but this is not really generic. For example if the webapp is moved to another domain it doesn't work anymore... I'm looking for something like: FormsAuthentication.RedirectWithSSL(); or so... :D)
I my application i have generated dynamic rows that contains some textbox values, i need to take those values and display in
reports. I am storing that dynamically added values in another table. please help me.
MSDN Magazine February 2003
MSDN Magazine January 2003
The last few years have seen dramatic growth in digital multimedia content and an increasing number of devices generating such content. Accordingly, the Autoplay feature of Microsoft Windows has been enhanced to handle these scenarios. This article presents samples that use the new features and provides advice on how to take advantage of these additions. The topics covered include Autoplay support for audio CDs and for DVD movies, the Autoplay registration process, event handlers, and how your software can cancel Autoplay when you don't want certain files interrupted. The download includes tools for diagnosing problems and to help the reader understand the shell hardware detection service processing of hardware events.
Stephane St-Michel and Brian Aust
MSDN Magazine November 2001
Is there a way to trigger a piece of code to execute at a certain time once a week?
I basically want my website to send out a reminder email every sunday. I have a function called SendReminder() and I would like to know if it is posible for it to run by itself because at the minute I have to press a button to run it.
I have a SalesOrderItem table, and it has a UnitPrice
column in case the salesperson wishes to override the unit price of the
Product for that order item.
In an ASP.NET Dynamic Data application, what would be the best way to
set that UnitPrice property on a new SalesOrderItem based on the
standard UnitPrice for the product? In other words, when the user
clicks New on the 'Items' screen for a sales order, the UnitPrice field
should already be filled in with the normal unit price for the product.
This was originally asked by myself on StackOverflow at: http://stackoverflow.com/questions/3538234/automatically-set-a-property-value-for-a-new-record-in-a-dynamic-data-application
This problem just started happening in my entire site collection. Anytime I associate a workflow to any list or doc lib the Workflow column that shows the status and links to the history is not beind added to the list or any views and is nowhere to
be found. Here's exactly what I'm doing:
1. Go the List settings -> workflow settings -> add a workflow (for this example the OOB approval workflow)
2. After adding I go to the List, the workflow column doesn't exist.
3. I go to "modify view", and the workflow column is not listed in the available columns.
Any help is greatly appreciated.
I m starting to work with Sharepoint 2010 but i have a problem.
I m trying to create a custom home page with animations.
But i don t understand why Sharepoint delete my function when i m saving my page.
What is the way to do it, and why SP2010 doesn't save my page (I had not this problem with SP2007)?
see i used to have a security filter settings in web config
but it gets deleted automatically after i dont know why
we tried to install something in our server yesterday it didn't worked and reverted it back to yesterdays stage( But i had updated the config files 3 weeks ago)
but today i check the config files these elements are not there.
My system is 64 bit windows server 2008 with IIS 7 and MOSS 2007 SP2
I'm trying to put a registration page together in Visual Web Designer.
I would like to send a confirmation Email after someone is leaving his registration data and pressing the INSERT button.
The key fields in my database are: Email, Name, Surname, Address
Before I send the confirmation Email I would like to check if the email value entered in the form is realy added to the database.
Please for help in this matter. I was copy past already some C code in my page, therefore it will be fine if the code can be in C.
Again, I need help to:
- checking if record is realy added to database after pressing INSERT button
- setup the confirmation Email
Thank you in advance.
I have added .CSS file in Resources folder of the project.In the same way i can add Images or any other files.But i am unable to use those files in Server Control Project.How to apply CssClass property to any predefined server control to the css file that is stored in the Resources folder ?
Please guide how to use those Resource files .