asp.net

ASP.NET: "The resource class for this page was not found."

Hi all, Myself and a colleague have recently upgraded to Windows Vista, and have been using it to develop ASP.NET applications with Visual Studio 2008 without many issues. And up until this morning, I had been managing to use local resources fine too. However, this morning, my application suddenly stopped working with local resources, ...

What are "_vti_cnf", "_vti_pvt", "_vti_script" and "_vti_txt" folders ???

This folder appear in my dotnet Web project. Why? Does are usefull? ...

linq to sql "Contains"

if i have a field in my table that i want to verify exists, how do i use the contains method to determine if it exists. i would have thought the contains method just takes in a string but it seems to take in my whole linq data object ...

No error message available, result code: E_FAIL(0x80004005).

Hi, In my application i am making user to upload the excel file. While uploading the excel file i am getting this error "No error message available, result code: E_FAIL(0x80004005). at ". but not all the time this error is coming. sometime this error is coming.I am not able to trace when this error is occuring. Plz help. ...

SelectedRowStyle Not Changing BgColor of Cells With Defined CSS Style

I've got GridView with selection enabled. Some columns in GridView have CssClass set, setting their background color. Also, there is SelectedRowStyle defined in GridView. Problem is, after row is selected, it's background color is changed as defined in SelectedRowStyle, except columns with own CssClass set. Their background color remain...

Trend Lines in ASP.NET Charting Controls

Any idea on how to produce a trend line in ASP.NET Charting Controls, i dont want the trend line based on time periods so i am guessing that the finacials stuff isnt useful in this case. ...

Garbage Collector asp.net

Hi all, cacn you please explain me .. what is the algorithm of garbage collector.?? how garbage collector works in background..? ...

asp.net membership get login name

i see i can call Request.IsAuthenticated but how do i get the login name from asp.net membership provider once i am logged in? ...

Make an image size equal the size of a table cell in ASP.NET

I have a table, and one of the cells has dynamically generated content. I want to have a background image that is exactly the same size as the cell. (ie not tiled, but stretched). I've found a very good reference here, which tells you how to do it in Javascript. This example solves the problem by placing an HTML DIV on the top and the ...

invoke anchor onclick from window onload in asp.net for firefox:-

I have 2 files :- Parent.aspx and Child.aspx Parent.aspx is given below:- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Parent.aspx.vb" Inherits="oneNetASP.Parent"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>Testing</title> <meta name="GENERATOR" content="Microsoft Vi...

Visual Studio 2008 Generation of Designer File Failed (Cannot use a leading .. to exit above the top directory)

Hi, It seems the universe is against me this week. I have been happily coding away on my ASP.Net application for weeks now without issues. Today I tried to add a textbox to a form, and on saving the form, I received the following error: Generation of designer file failed: Cannot use a leading .. to exit above the top directory I googl...

hide delete button in list page in dynamic data

I am using Asp.Net Dynamic Data. I want to remove delete button from List and details page. I dont want to remove it from mark up. Is there any way to remove delete button based on entity and without adding custom pages? ...

How do I limit the actions in my controller in an ASP.NET MVC application?

I writing an MVC app and I'm really struggling to keep my controllers lean and limit the number of actions. For example, here is a look at my ReportController actions: OpenCall ClosedCall ServiceLevelAgreement Barrier Resolution Repair Failure Inventory CustomerLocation These are all my different reports. Should I be making a control...

Validation on dynamic controls

Ok, I have a major issue with a control I am using. The site I'm doing uses custom units for some fields in their checkout (who decided that horses should be measures in hands for god's sake?!), and we have to be able to validate based on the unit selected, i.e. they can have between 15 and 40 hands (or something) which is 200 - 900 cm ...

Server returns blank pages with asp.net 3.5 on IIS6

I have a problem with site deployed on IIS6 sever. Here the problem, when I first deploy asp.net 3.5 site to server (site is relatively small with 5 pages and 5 libraries in bin), it is works as expected. But after some period of time (~1h) server returns black pages instead of expected content: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4...

ASP.NET :Access Session variable in global.asax

I have an ASP.NET application and in the golbal.asax ' Application Error Event, i am calling a method to trace/log the error.I want to use the session variable content here .I used the below code void Application_Error(object sender, EventArgs e) { //get reference to the source of the exception chain Exception ex = Server....

referencing dotnetnuke.dll from another folder on asp.net

I have dotnetnuke portal on server in /root/dnn and I am creating asp.net app in c# VS2008 that I need to upload on /root/app. when I deploy my app, it needs to reference dotnetnuke.dll assembly from /root/dnn/bin instead of /root/app/bin. how can I manage that, without putting app files in /root/dnn? I tried to set auto-refresh path ...

Temproray Asp.net files error

Hi when building my application I am getting some temporary files shown in Solution Explorer under Miscellaneous Files lie App_Web_YDKG.VB with following code block in that generating error Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile Get Return CType(Me.Context.Profile,System.Web.Profile.Defaul...

How can we implement Basic Authentication and WSE 3.0

Hello, How can we implement Basic Authentication and WSE 3.0 in VS 2008. The purpose is to use this in DotNetPanel. Regards Fenie Thomas ...

Aspx Page Level windows authentication?

Hi I have a document approval workflow application. The workflow sends emails to appropriate users with links for Accept/Reject the document. When the user clicks on Accept or reject link, an aspx page is shown, where he can type a comment and submit. Now the question is I want Windows Authentication on this aspx page. If the user is...