Hi All,
I need to maintaing the Session throughout the day? On or before session expires, how do I enforce session throughout the day without giving any session timeout either in IIS or web.config?
Note: Default Session Timeout in IIS – 20 minutes.
Thanks in Advance
...
I got strange compile-time error:
Project file must include the .NET Framework assembly 'WindowsBase, PresentationCore, PresentationFramework' in the reference list.
This project is aspnet mvc web application and all was fine for a long time.
After I added them Build went fine, but what could be a reason for this error?
...
Hi,
I am using the new .NET 4 WCF REST web services. In order to link resources, I'd like to put links in my responses. In ASP.NET I can generate URLs from my routing configuration (e.g. UrlHelper.Action(...))
With WCF REST web services I have an ASP.NET routing configuration plus Uri templates:
[WebGet(UriTemplate = "{id}")]
MyResult ...
I have a HTTP module that I have written that needs to access the session. I have done the following:
Module is registered in web.config
Module attaches my method call to the PostAcquireRequestState event
The module implement IRequiresSessionState
However, when my page doesn't have an extension (i.e. as when htp://www.mywebsite.com)...
In ASP.net what's the best way I can parse a string to determine if it's a valid URL?
...
I want to pass an asp.net membership user name to a subroutine and retrieve the profile property named FullName for that user, how can i achive this in vb.net?
Thanks in advance.
...
I have an application that uses various script files. These files are not used for any AJAX purposes. However, I am using MS AJAX Libraries. My goal is to use the ScriptManager to manage release and debug versions of my JavaScript. Is this the right approach? Is there a better way to handle this task?
...
Im currently trying to use a jQuery plugin:
jQuery Autocomplete Tokenizer
Now after posting back the page, I want to re-load the values back into the textbox for whatever items had been entered.
Now the jQuery on the page is like below:
$(document).ready(function () {
$("#<%=txtPeople.ClientID %>").tokenInput("Handler.ashx", {
...
We have some basic form validation code that utilizes Control.NamingContainer. Is there anyway to create a mock page within a unit test, so the IDs and NamingContainer properties are set?
...
I'm having some trouble with users losing session data whilst going through an application form. It appears that they're losing session state part way through application forms. (ASP.NET 4.0 WebForms project, IIS 6.0)
Session is stored out-of-process in the state server so it's not config changes, appdomain recycling, etc AFAIK.
<sessi...
I use visual studio 2005 and now my team wants me to try my hand at some testing frameworks for asp.net websites.I'm completely new to testing. I want to know what kind of automated testing can I do.Can I test my business logic,Can I test my UI.I just started using NUnit and I am getting a hang of it. For Web UI testing I've tried Nunit ...
Hi.
I´m developing a app in ASPX .NET2008.
And I have a big problem with the SQL Server Reporting Services.
The button "Print" and the zoom option only is showed in IE browser but I need it showing in Chrome and FireFox too.
I think it is a ACTIVEX problem, but I´m not correctly this.
...
I have built a simple custom ASP.NET control that expects it's body content to be javascript. Is there a way to tell Visual Studio that the content should be javascript, and therefore provide syntax highlighting / intellisense goodness?
In case it helps, here's the framework of the control I'm working with.
namespace MyNamespace
{
...
Hi,
I am having some trouble getting my code do what I want it to do, and I would appreciate your help.
What I would like to do is:
From a textbox, I add a name for a product and create a object with that name.
The product object is then added to a Dictionary.
Then, I want to bind this Dictionary to a dropdown list.
If I change t...
This is more for curiosity, but we're seeing that every time an end user updates their Firefox browser, the Request.Browser.Type value gets set to AskTbFWV.
Request.Browser.Browser: Gecko
Request.Browser.Type: AskTbFWV
After closing and re-opening the browser, the value changes to "Firefox". I'm wondering what does "AskTbFWV" mean? ...
Hello,
I'm working on Visual Studio Profesionnal 2010.
In my solution I've got 2 projects
The first is a web site with targeted .net runtime 2.0
the second is a dll with targeted .net runtime 2.0
I add the output of the second as assembly of the first.
I build and rebuild and clean my solution
result : Build succeeded
But when I lau...
Hi all,
Im about to create a very simple online event reservation application and currently have 3 tables:
User
PK_UserID
UserName
Event
PK_EventID
EventName
EventDescription
EventStartDate
EventEndDate
SeatsAvailable
BookedEvents
ID
FK_UserID
FK_EventID
Do you have any experience of how to handle SeatsAvailable? I mean ...
Is there a way to assign/pass/copy a javascript variable to a server side variable in C#? For the sake of argument, let's say that I was able to parse some JSON for variables that I want to store and assign them on the client (ie. var = FirstName and var = 25 and var = someDateTime, etc) .
...
I have this GridView that have it's DataSource as a list of previously selected products.
For every item on it, I need to Eval it's ID and load a specifc form that the user must fill, then after that i've got to update the GridView.
I have made those specific forms as User Controls, is this the best approach for this scenario?
If yes, ...
Hi,
some time ago I had an entry point for application in index.aspx with following content:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML lang="en">
<HEAD>
<TITLE>xxx</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
</HEAD>
<frameset rows="68,*" border="0" frameborder=...