asp.net-3.5

how to create a scheduled process in sql server

In MSSQL Server 2008, how would I go about creating a scheduled process that: Takes the sum of a float column from specific users in a user column and then comparing which is has the greatest sum and storing that number along with the user whom has that value into a separate table on a weekly basis? ...

How can I convince my admins to upgrade from ASP.NET 2.0 to 3.5?

I am trying to convince my web server admins to upgrade our version of the .NET framework from 2.0 to 3.5. I was wondering what are the best reasons to upgrade, from a server admin prospective. Obviously, there are the over arching ideas of keeping up to date, security, and so forth. I am looking for some hard and fast reasons that will...

I have an issue with Getting and requesting XML Data from a http request

I have 2 questions on this 1st My code always seems to hit a 401 forbidden error when i try to post data to a http link 2nd what is the best way to pull back and display xml data from the stream that i should be getting back Many thanks ...

ASP.NET: change application language

Hello! I'm developing an app with ASP.NET 3.5 and I have read that the language that the application is shown is the navigator's language. Is there any way to choose the language of the application programatically? For example, I want to see the application in english but my Internet Explorer is in Spanish. The language is a user's pr...

Global.asax, global variables, and editing with code

I have two questions: 1) I have a few global variables for my website declared in my global.asax file. They are simple, small key/value pairs and there are only a few of them. Is this a good practice for values that are small and need to be accessed by almost every page on my website? Storing them in the database and requiring a db look...

Silverlight: Access client desktop- Display properties

Hi, I want to access the display properties of the client desktop in silverlight application and modify the application layout according 2 the ones set on client machine. When we right click on desktop and choose properties we get display properties dialog. i want to access appearance and theme properties from this. i hv to retrieve th...

Web App has My.Application.Log instead of My.Log

According to the MSDN documentation (http://msdn.microsoft.com/en-us/library/ms172987.aspx), the My.Application.Log property is used to write log entries for client applications, and the My.Log property is used to write log entries for web applications. However, I have a web application with a bunch of My.Application.Log calls in the .a...

asp.net debugging on production server

We have recently deployed an ASP.Net application on Production server and are having some trouble with it in IE. We have built a custom security module based on cookies. The interesting part is, everything works perfect on staging server in all browsers and it also works on Production server but ONLY for Firefox. the process is able to w...

Compelling Reasons to Migrate from ASP.NET 2.0 to ASP.NET 3.5

Forgive me if this is a repeat question. I've searched StackOverflow and did not find the answer to my question, so here goes. We currently have a web application running ASP.NET 2.0 with AJAX Extensions 1.0 and SQL Server 2005 running, is deployed on IIS 6 and developing in VS2005. All works great, but I'm trying to find compelling rea...

What are the supportable options for delivering ASP.Net 3.5 capability to SharePoint 2007?

I want to make use of some of the ASP.NET 3.5 capability within SharePoint 2007. In particular, I want to do the following: Provide REST and maybe JSON through HTTP so that another product can consume SharePoint content. Provide AJAX web parts within SharePoint. These will probably have little to no server side controls. Most conten...

"Please wait" image on every user action with ASP.NET 3.5

Hello, In our ASP.NET 3.5 application, we would like to implement a "Please wait.." feature : on every user action (button click, tab change, etc.) we would display a little spinner on top of the page (actually in a separate frame that we use already have). We thought of this solution : "hijack" the _doPostBack to intercept every e...

Why can't I tab between form elements within an iframe?

I have a page in a site that contains an iframe with a form in it. I can't change this but I do have full control over all of the JS that runs in the parent page and the iframe'd page. My problem is that when I have a form field focused in the iframe'd document, tabbing to the next field sends the cursor straight up to the address bar ...

LINQ to SQL -- Can't modify return type of stored procedure.

When I drag a particular stored procedure into the VS 2008 dbml designer, it shows up with Return Type set to "none", and it's read only so I can't change it. The designer code shows it as returning an int, and if I change that manually, it just gets undone on the next build. But with another (nearly identical) stored procedure, I can...

create "Add New Row" button asp.net3.5 c#

I am building a web-enabled ASP.NET 3.5 application in Visual Studio 2008 using C#. I am connecting to an SQL database. The user must be able to insert, edit and delete entries from the database using the forms I create. I am creating the screens and I ran into quite a snag. There is a table that contains many different types of fiel...

ASP.NET Dynamic data Change text field to dropdown and populate with some data

Hi, I have an ASP.NET dynamic data site and for one of the text fields within Edit and Insert templates I'd like to covert it to dropdown and populate that drop down programmatically. Can you help or point into right direction ? Thanks. ...

how do I know if the correct .NET framework is installed?

I am a developer and am trying to create a very basic "Hello World" .NET 3.5 web app. However, whenever I publish the code I am getting the following error. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify y...

ASP.NET web.config appsettings persistence

I'm reviewing my method for retrieving appsettings values from my config files. Before I would store the value in a static variable in a global ConfigurationManager class to avoid multiple unnecessary disk reads to the web.config file. It appears that was unnecessary as the WebConfigurationManager class already does this. Is this inde...

How to make update panel in ASP.NET MVC

Hi Guys i make search about how to make update panel in MVC ,but , because it is new , i cannot find good samples regarding it.How can i implement this to MVC? Thanks ...

how can i get current user name in Silverlight 2.0

Hi guys i m making one asp.net project with silverlight2.0 .But i cannot get current user name... how can i get current user name thanks... ...

How do I get the value of a DynamicControl?

I'm using ASP.NET Dynamic Data functionality to do something a little weird. Namely, create a dynamic list of fields as children of the main object. So basically I have Ticket.Fields. The main page lists all the fields for Ticket, and the Fields property has a DynamicControl that generates a list of controls to collect more data. ...