The application sets session.timeout in Application_AcquireRequestState event handler.
Before session expires, there is notification window popping up. It resets session timeout to, say, 3 minutes (normally, it is 30 minutes), through Application_AcquireRequestState.
The notification offers user an option to extend session for another ...
Hi,
If I have a table with two foreign key fields to another table, I.E.
Table: User
Field: FK_PrimaryItem_ID
Field: FK_SecondaryItem_ID
Table: Item
Field: ItemID
When I'm using the entity framework, the generated objects become:
User.Item
and
User.Item1
and I can't differentiate between the two of them. I can map back to the n...
The Twitter ATOM feed requires your login and password (obviously), which is nicely supported by IE7 (apparently IE7 can't handle RSS feeds with login/pw). IE displays a simple login prompt when you register the feed.
How do I implement something similar in ASP.NET without access to the server or IIS?
...
Am I doing something wrong is this a known issue with the ASP.NET MVC beta?
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="MyProject.Web.Views.Searching.Index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<%Html.B...
I've been using this piece of code I've written and it's working in this most unclear manner. I wish to insert a row into the database which includes two columns of DateTime:
myrow.ApprovalDate = DateTime.Now
myrow.ProposedDate = DateTime.Now
And yet, when I update the database I receive this error:
SqlDateTime overflow. Must be b...
How can one specify the connection string in a config file of a class library and later modify this when used in a ASP.NET Web Application?
The Class library is a data access layer that has a Dataset connecting to a database based on a connection string specified in a config file (Settings.settings/app.config).
This class library is us...
What is the best way of taking a query and transforming it into a nested class list without doing a subselect for each row?
eg.
1 aaaa
1 bbbb
1 cccc
2 dddd
3 eeee
into
1
aaaa
bbbb
cccc
2
dddd
3
eeee
...
Hi,
Currentaly I am using a gridView and on RowCommand event of gridview the details of selected row are displayed below the Gridview. But now I have to display the details just below the row clicked. Means it will be displayed in between the selected row and next row of it. The gridview code is as
<asp:GridView ID ="gvUserDataRead...
please tell me best to achieve Search Engine Optimization (SEO) & Friendly URLs using ASP.Net
...
I am new to web development and WCF. I am reading some basics about it and most of the things seem very interesting.
I have read that WCF services can be exposed using SOAP and other protocols. I was wondering whether there is an explicit implementation against data corruption during transmission built-in or it is left to user?
For exa...
I am currently using DynamicPDF Merger for .NET to fill out the fields in an XML Form produced by Adobe Designer (PDF version 1.6 Acrobat 7)
The XML Form PDF is big (1.5 MB) because each word is a seperate object. We do not want to rebuild the PDF from scratch if possible.
If I use "Print to PDF" then the file is turned into a "real" P...
I had displayed check box in a list and i want to access that which check box is selected or not and want to call controller action where i select option from dropdown list
<div id="pnlSent" style="display: none">
<%= Html.DropDownList("select","msgtype") %>
<% foreach (Usp_GetUserMessagesResult w in (List<Usp_Ge...
I am trying to use the Axinom CMS with ASP Ajax and created a page containing ScriptManager, UpdatePanel and Timer.
When publishing the page in the CMS the actual page is created under
(1) http://localhost/Site/publish/PageName.aspx
but the user is meant to access it under
(2) http://localhost/Site/PageName.AxCMS
which is e...
I am new to the concept: quartz.net.How do I implement it in my web application ?
...
what is the best way to convert aspx dynamic pages urls in user friendly urls using asp.net 2.0.
I want to convert http://www.mydomain.com/product.aspx?Id=4 in to **http://www.mydomain.com/product4.aspx
...
Hi,
I want to provide dynamic download of files. These files can be generated on-the-fly on serverside so they are represented as byte[] and do not exist on disk. I want the user to fill in an ASP.NET form, hit the download button and return the file he/she wanted.
Here is how my code behind the ASP.NET form looks like:
public partial...
I have tried CSS: overflow: auto. It doesn't work. Any way to achieve it?
Do I need to create my custom control as I have seen it on ASP.NET forum?
...
I have inherited an asp.net website to maintain
when looking at the aspx page, almost every element with runat=server don't have id attribute defined.
should I go through every element and add one?
...
I want to write a custom class in which whenevr I add a node to treeview it should call an event. so that I can run it recursively.
...
How can you remain competetive in the market place and also keep your credentials up-to-date?
I am considering going for the MCPD, but im afraid that it will soon be out of date! The current exams revlove around .net 2.0, asp.net, c# 2.0 etc.
But in the past few years or so we've had (to list a few):
Linq
Entity Framework
ASP.NET Dyn...