asp.net

Problems with ASP.NET Session State / NInject / OnePerRequest behavior

This is quite a lengthy post, so bear with me. I'm not sure whether it is primarily about ASP.NET Session State behaviour, NInject, application design, or refactoring. Read on and then you can decide... :-) Background First, a bit of background. We are working on trying to refactor a large webshop into a more maintainable , structu...

Severe Session issues ASP.NET

Hi experts I have a kind of an ugly situation. I have a big program that uses session to carry over data from one page to another in a CRM system build in ASP.NET 3.5 C# The problem is that if you have two instance of this program open in the same browser and browse the same page, the sessions of course gets overridden. As you can im...

Loading dropdownlist on click of the dropdown's arrow/lazy loading of dropdown

Hi all, I have a situation where on a page there are 7-8 dropdowns, which have large amount of data to be binded. I have a radiobutton list having 2 choices and on selecting any of them, the i get the data from cache and bind all the dropdowns which takes about 6-7 seconds.But, i dont use all the dropdown everytime as basic functionality...

What's the difference: Windows Authentication, Passport Authentication and Form Authentication?

Just going to start making a web application and was wondering which was better, or at least what are the main differences between them (as it probably matters what I am using them for)? Windows Authentication Passport Authentication Form Authentication ...

Publish web site: TYPE exists in both temporary ASP.NET assemblies

Not able to publish my website. While publishing my site I'm getting this error. Any solution? Thank you ...

Ajax Validator call out extender does not get positioned correctly in Chrome

I have added required field validator control and added ajax validator call out extender to a textbox. On chrome browser the call out pop up does not appear behind the right sode of the textbox instead it appears somewhere outside the table in which the textbox is present. It works fine in IE 8, IE 7 and Firefox browsers but in Chrome al...

ASP.NET AJAX AsyncFileUpload UploadedComplete not fires

Hi, Thanks for your attention in advance, I'm new to ASP.NET AJAX AsyncFileUpload so I've created an aspx page to test it but it seems there's some bug with that control because the server side UploadedComplete event does not fire. the aspx : <form id="form1" runat="server" method="post" enctype="multipart/form-data"> <div> <asp:...

Which book is best for WCF technology .

Possible Duplicate: WCF Book Recommendation Which book is best for WCF technology . ...

TableSorter loses header text

I'm using tablesorter in an asp:GridView and works fine but this been bother me for some time Every time there is a button action (firing up a call to the server, refreshing the page), table sorter loses the headers as you can see by the 2 images below: before refresh: after refresh: Does anyone have an idea of if this might be a...

which user runs my asp.net user ?

hi, i've always read that the user you set in the IIS website/virtual directory is the user that runs the app (anonymous user identity) But in the application pool, i can also set a user (process model, identity) what is the difference between the two, and which one will need access if i do a file read? EDIT: the bounty is for this ...

aspnet_regsql scripts throw errors/warnings

I ran the aspnet_regsql application with the option -sqlexportonly to create one file with all the create scripts combined. If I run this file on a normally attached SQL Express database it seems to run, but I get a few warnings: Cannot grant, deny, or revoke permissions to sa, dbo, entity owner, information_schema, sys, or yourself. ...

Output caching a custom control (server control)

Hi, I've come across hints about output caching a server control, but have yet to find a definitive answer to: Can the output of a server control be cached (in the same way that user controls are cached)? The suggestions I've come across involve caching the data (not true output caching), or suggest setting the response.cache options. ...

Append jQuery UI dialog to ASP.NET form on document ready

I have jQuery UI dialog with ASP.NET. I wrap a list of check boxes in the dialog. Since, it's an "Edit page", some of the checkboxes are already checked because the data fetched from datatbase when page is first loaded. I have no problem when I click on the link to open dialog, and everything works as expected. However, if I don't cli...

Application_Error event not being fired with CustomError page in web.config

I have an asp.net website and i have a block of code in my global.asax's Application_Error event to send the error details(stack trace etc..) as an email to my email id.Also i have Custom error page set in my web.config.I published the website in release mode and deployed to production.When i access the site,I got some errors and i was s...

OutOfMemoryException when creating huge string in ASP.NET

When exporting a lot of data to a string (csv format), I get a OutOfMemoryException. What's the best way to tackle this? The string is returned to a Flex Application. What I'd do is export the csv to the server disk and give back an url to Flex. Like this, I can flush the stream writing to the disk. Update: String is build with a Stri...

Checking if user created password matches corporate password policy

My company has some unique password policies (such as a pwd cannot be re-used for 6 months, aside from the must include #, special character, upper & lower case) Can anyone suggest how to go about ensuring that a new user's password complies with these policies (using forms authentication in .net 3.5 framework)? ...

regarding validate request property

hi,what are the possible benifits of using ValidateRequest request to set false in asp.net page.bcz i m going to use it......... ...

ValidationSummary is not displaying - with RegularExpressionValidator

below is the code and when i select a wrong filetype i get instant red "*" but i dont see the validation summary and there is a buton("upload") and when i click on it than i get the validation summary error message. my question is: why validation summary is not displaying when i select the wrong file type? <asp:ValidationSummary ForeCo...

DropDownList items are reset on SelectedIndexChanged

I have a cascading dropdown list on my page. The first dropdown contains a list of events. The second dropdown contains a list of attendees. When an event is selected, an AJAX call is made to get the list of attendees for that event, and populate the second dropdown. My problem is that for the attendees dropdown, I want the user to be r...

c# API to use wordnet-what is better?

Hi, I am doing a web based chattebot system and my problems are these. I need to get a particular user question and check for some specific keywords in it(for example take the nouns) and find for synonyms and well as do the spell check? Therefore What is the best C# API for wordnet?? Well what I want to do is get a sentence from a te...