asp.net-3.5

Installing .NET 3.5 on a server with .NET 2.0 applications

I would like to upgrade my web projects on an IIS 5 server from .NET 2.0 to .NET 3.5. These web applications live on a server with other web applications that will not be upgraded to .NET 3.5. The server administrator is reluctant to install .NET 3.5 because he is afraid it will break the applications on that machine that are running 2...

ASP.NET version 3.5 website: what does the file "vwd.webinfo" do, exactly? And what is with the bloated web.config file?

I am running Visual Studio Team Edition 2008. When I create a new website, I get a new file I've never seen before: vwd.webinfo. The contents of this file is as follows: <?xml version="1.0" encoding="UTF-8"?> <VisualWebDeveloper> <!-- Visual Studio global web project settings. --> <StartupServices> <Service ID="{3259...

asp:SiteMapPath with dynamic images

Ok, so I'm building bread crumbs and depending on the value of the breadcrumb an image will be the seperator. So "HOME" will have one image and "SEARCH" will have another. I know I can do this programatically (at least I ASSUME) but is there an easier way to do this? Can I link an image to a node based on the value of the node? Can I d...

Access Web Datasheet in a webApp

Hello, I am trying to write a web application in C# ASP.NET3.5 and want to include a Microsoft Office Access Web Datasheet in my application. I have been searching for ages looking for an example on how to use it, but I can't see one anywhere. It’s the editing view in a SharePoint grid so I know it’s possible, I just can’t find out ho...

What do i use instead of e.Values.add(... for the ListViewEditEventArgs to upload an Image

Hi, i can upload images to the database using linq and the listview control when referancing the e.Values method for the ListViewInsertEventArgs, but there is no such method in the ListViewEditEventArgs, so what can i use to achieve the same results? here is my inserting code: protected void ProjectPhotosList_ItemInserting(object sende...

How do I convert a Bitmap to byte[]?

Basically I am inserting an image using the listviews inserting event, trying to resize an image from the fileupload control, and then save it in a SQL database using LINQ. I found some code to create a new bitmap of the content in the fileupload control, but this was to store it in a file on the server, from this source, but I need to...

ASP.NET control in JQuery modal

Ok, I am new to JQuery, I have a modal that has a asp:Literal control in it. The literal is controled by whatever link is clicked to activate the modal. So, I had hoped it would be as easy as giving the literal value onClick of the link but that's not it. I'm hoping: the value of the literal is set on the page load so I have to put it ...

Fetch data from Other Websites

Hi, Even before telling my question, will tell you that this is a very vague question. But please let me know if you have any similar ideas. I am actually trying to write a website of my own locally using ASP.Net. I actually wanted to try and simulate a website with trading and stock details. I wanted to actually fetch the details fro...

How do I develop a Web based application in ASP.NET 3.5 that can be viewed on an iPhone 3G ?

I want to develop a mobile web application using asp.net 3.5 that can be viewed on an iPhone but there is no longer a template in VS2008 to enable mobile development. Can this be done ? ...

How to Disable ASP.net AJAX Framework in ASP.net 3.5

I'm working on an ASP.net 3.5 website with MooTools as the AJAX framework. So, I want to disable ASP.net's AJAX framework so it behaves more like ASP.net 2.0. This is to decrease page loading times and to reduce incompatibilities. Thanks! ...

Help me convince higher-ups to allow switching to .Net 3.5 (from 2.0)

I have been sold on the fun of using linq in areas other than pure database interaction. (See http://stackoverflow.com/questions/365352/calling-fellow-code-nerds-alternatives-to-nested-loops). We are stuck on 2.0. I have told the powers that be about the ease of updating to 3.5 (we have already migrated to VS2008) but they are wanting a...

If cookies are disabled then how to retain the data in C# .net

If cookies are disabled in the browser then how can we retain the data when user next time logs in. e.g. for login page how to retain user name is cookies are disabled? ...

free or cheap open source browser-based Flash (flv) video players

Does any know of any free or cheap OSS browser based Flash video player? It's going to be embedded on ASP.NET 3.5, a webcontrol would be handy, but not required. I've been looking around and there are a lot of options. My client wants to host a video on their web site like in a player like YouTube. Here are some of the ones I've foun...

Why am I getting null object reference error when saving (OnItemUpdating event) the first edit item in a ListView?

I'm getting the error "Object reference not set to an instance of an object." when trying to reference a HiddenField (lvEditProjectSteps_hdnStepStatusId for future reference) from the EditItem during the OnItemUpdating event after the Update event fires in a ListView. This only occurs on the FIRST item in the ListView. I checked the so...

Best free ASP.Net 3.5 hosting

Hi all. Which is best free asp.net 3.5 hosting. No need for big bandwidth, no need for database. Only must be stable. Thanks. ...

Access a control inside a the LayoutTemplate of a ListView

How do I access a Control in the LayoutTemplate of a ListView control? I need to get to litControlTitle and set it's Text attribute. <asp:ListView ID="lv" runat="server"> <LayoutTemplate> <asp:Literal ID="litControlTitle" runat="server" /> <asp:PlaceHolder ID="itemPlaceHolder" runat="server" /> </LayoutTemplate> <ItemTemp...

How to run JavaScript prior to System.Web.UI.Timer OnTick?

I need a client-side script to confirm that the Timer's OnTick event can proceed. How do I invoke CanContinue() before the Timer1 postback occurs? How do I cancel the postback if user selects Cancel? <%@ Page Language="C#" %> <script runat="server"> protected void Timer1_OnTick(object sender, EventArgs e) { Response...

Switched to ASP.NET 3.5, DropDownList doesn't remember dynamically added items

I have a site that uses a couple DropDownLists that are databound. I was also doing the traditional if (!IsPostBack) {list.Databind();} and relied on viewstate to keep the lists filled during a post back. I recently converted the site to ASP.NET 3.5 and noticed that the lists are empty during postback (as if ViewState is disabled). I did...

LinqDataSource does not work with Microsoft.Reporting.LocalReport

I´m trying to generate a report using a LinqDataSource, placed on a aspx page, and a LocalReport. The code speaks for himself: //Creating report Microsoft.Reporting.WebForms.LocalReport report = new Microsoft.Reporting.WebForms.LocalReport(); report.ReportPath = Request.PhysicalApplicationPath + @"path\To\report...

ASP.NET MVC Master Pages

What's the difference between the ASP.NET Master Page, and the MVC Master Page? And the AJAX Master Page for that matter? ...