asp.net

CategoryAttribute problem passing through WCF

Hi, I have a problem with WCF seemingly not including attributes such as Category when passing entities around. I have a class wrapped around an EF entity, used to populate a property grid on a thick client. I am trying to retrieve information from the server, using WCF, and to replicate the property grid on the client side. I have ...

Stack overflow when setting MasterPage properties

I'm getting a stack overflow when tryin to set a public property in a MasterPage from an ASPX page. I'm making a "greeting card" editor, using a TabContainer. Each tab has a user control, and everything is updated when active tab is changed - while doing so I need to store all the data away in master page properties. From the ASPX pag...

UpdatePanel.Visible = true has no effect

Hi all There is a wide task. There is an update panel upDetails, which displays details table (initialy visible = false) when user selects any item from master table, we should set upDetails.Visible = true; But it soesn't work whatever place/event I had placed it - neither BL methods, neither pre-render. It still be invisible But when...

IIS7 Permission Problem*EDIT

I have a normal Windows Server 2008 installation with II7. Each website has it's own application pool. But there is a security realated problem. There is no restriction for an asp.net application to write a file into C: or any other directorys. In IIS 6 before this could happen I would have to set those rights in the windows folder se...

asp.net windows authentication

What settings do I need to accomplish the following? IIS6 Server sits on Domain1 Users access from Domain2, eg Domain2\User I want WindowsIdentity ident = WindowsIdentity.GetCurrent(); to return Domain2\User not Domain1\IUSR_SERVER Current Settings I have the authentication in IIS configured as "Integrated Windows Authentication"...

Difference between 'Web Site' and 'Project' in Visual Studio

Duplicate http://stackoverflow.com/questions/344473/asp-net-website-or-web-application-project I have noticed that there is clearly a difference in what you get when you fire up Visual Studio 2008 and choose 'New Project' -> 'ASP.NET Web Application' instead of 'New Web Site' -> 'ASP.NET Web Site'. For example if you choose 'Projec...

Getting Started with the Web Client Software Factory But i don't find Solution picture?

i downloaded add start set up MVP Software, After setup finished, i don't find mvp C# solution (like: asp .net mvc solution, or asp.net Silverlight Solution) in list of project type ? i need a list of project list like start up asp.net solution for example: if i click new project, .net give me type of alternative solutions, So i choose...

Network performance measurement in asp.net 2.0 via HttpHandlers and HttpModules strangeness

We have a performance measurement module that relies on HttpModule and HttpHandlers and works like this: Request comes in to server for a page. HttpModule_Begin writes start time in the cookie. HttpModule_End writes end time in the cookie. On client, when page load is finished, fire off a special request via AJAX that is handled by Htt...

Can anybody recommend a Bar Code web server control?

Can anybody recommend a Bar Code web server control for formats 39 and 128 formats? UPDATE: I posted this after being given a choice of 3 controls we'd never heard of. I was hoping to get a recommendation from somebody who is using something that is popular, stable and a commercial product. It looks like we will just go with one of th...

Specifying .aspx on the end of a css file?

When working on web apps in ASP.NET, what is the reason for specifying a file as stylesheet.css.aspx rather than just plain stylesheet.css? I have seen this done in various web apps. The web designer mentioned something about how it's a .NET thing and storing a global variable for the ASPX page but I didn't really understand, nor know t...

ASP.NET Connection String

I am having some trouble with one of my ASP.NET 2.0 application's connection string. There are instances that I would get a ConnectionString Property Has not Been Initialized problem which occurs randomly and intermittently and without any reason. My Connection string is actually coming from a webservice, because different kinds of use...

asp.net - sqldatasource - detailsview - use stored proc to insert record

I am trying to use stored proc to insert record using detailsview and sqldatasource. I get the following error: Procedure or function 'CustRec_iu' expects parameter '@firstname', which was not supplied. My detailsview definition is as follows: <asp:DetailsView ID="dvCustDetails1" runat="server" AutoGenerateRows="False" DataSource...

ASP.Net Persisting Data Across the Application

How Can I persist a User-Specific data for an ASP.Net application. I tried Session Variable - Not good when the worker process recycles. I need something that can be accessed GLOBALLY by any class of my application. Advice most welcome. I tried to utilize asp.net session State Server but I got some DLLs crashing because they are Unse...

Provider Pattern & DefaultProvider

Hi, I am trying to implement the provider pattern in a custom web control. I am still trying to understand the pattern and I have the following questions. Is the default provider the provider that is always going to be used when my control loads? From what I can tell the provider used will always be the default but I am not sure becaus...

Which language would you recommend for me to build a webportal?

I'm very new at webprogramming, but got quite a lot of experience building applications with C++ and C# (winforms and WPF) on various OS'es (Windows, linux, vxworks). Currently Im also taking courses in Java and various client-side web-languages (html, css, xhtml, javascript etc.). Now, some friends of mine decided to build a commercial...

Storing String in Session Variable Where Mode is StateServer

If I store a String value in my Session variable, do I need to Serialize / Deserialize it? I read that when you use in your web.config you need to serialize before you can store the value in session variable and you would then deserialize when you retrieve the value. I wonder if for example, you just place the string value to a ses...

MSI Launch Conditions Custom Actions

I have been able to trigger C# custom actions to overrride install and committ stages of an MSI. However, when deploying an ASP.NET app I wish to be able to perform checks before the install even begins. I know that there are launch conditions, however, I would like to be able to plug in my own code here to handle checks upon launch mys...

ASP.NET MVC - Deployed on IIS6, stops loading after session start

Reaching out here... I have an ASP.NET MVC app, which runs flawlessly on VS2008 dev server and IIS7. However, deploying on IIS6 yields blank pages and no error message in event logs either. Very frustrating! I've tried the wildcard mapping techniques, extension based routing ({controller}.aspx/{action}) and every config variation I coul...

What exactly is the point of the ScriptManager's EnablePartialRendering Attribute

Why would one want the EnablePartialRendering attribute to ever be "false" if building AJAX functionality into pages? Seems counter-productive. I've read here and there some things one may want to do with the attribute being false. But what I've read makes no sense. Thoughts? ...

How do you suppress IE7 ActiveX messages using javascript?

I'm trying to decide whether to use a custom ASP.Net Ajax Extender or jQuery to perform a simple web service call. The web service method accepts a customer ID and returns the customer name. I'm leaning towards jQuery because of it's simplicity. The only problem is that due to my company's IE7 Group Policy settings, the first time jQu...