asp.net

Upload a file using TFS Client APIs

I want to upload a file from asp.net webpage to TFS server. Using TFS API I have created bug from my web page - but the bug also needs a file attachement to upload please let me know. ...

Get a listbox's selected items in javascript

I have two listboxes in asp.net. On the click of a button I want to load a list box with the elements of the selected items in the other box. The problem is that this has to be done on the client side because when the button is clicked I don't allow it to submit. I want to call a javascript function onselectedindexchange but that is serv...

Font settings in chart series tooltip

Is it possible to change the font settings for tooltip text in the mschart control? I've tried setting the chart series font, but it doesn't affect the tooltip associated with the series data. ...

SharePoint file size limit

I've tried many tutorials online on how to increase the upload file size for a SharePoint document library with no luck. Any ideas on how to increase the limit of file upload to a document library? I've tried: http://spsstuff.blogspot.com/2006/03/how-to-change-maximum-file-upload-size.html http://www.eggheadcafe.com/software/aspnet/29...

Ajax autocomplete issues

I'm having some issues with an asp.net implementation of this JQuery facebook style autocomplete. Basically the json url I am using is an aspx page that takes some paramaters via the query string and writes json to the response. This appears to be functioning correctly however the plugin doesnt recognise it. The strange thing is when ...

Validation Before Postback Event on Masterpage Asp.net

Hi all, I was wondering if anyone knew of a way to do some client side validation with jquery and then run the postback event manually for a asp.net control? Here's a sample Master page i.e. <script type="text/javascript"> $(document).ready(function() { $("#<%=lnkbtnSave.ClientID %>").click(function() { alert("hello"); ...

How do you make the user stay on a particular page of a website?

So here is what i am trying to achieve When a user logs in and his password has expired, i redirect him a change password screen. I would like the user to change his password prior to going to other links in a menu I want to redirect back to this changepassword.aspx when ever he attempts to leave, unless he changes his password So how...

how to create alphabetical order in column of data list asp.net

I am tried to create a data list display all cuisine in alphabetical order in column however i couldn't find the way to do it, can any one help. using data list or repeater in asp.net only allow you to display in horizontal or vertical alphabetical order for example Afghan Asian Burmese Cambodian Chinese Croatian Euro...

ASP.NET 3.5 Web Application Project takes excessively long time to initially load

I have started work at a new company and the main project I work on (an ASP.NET 3.5 Web Application Project) takes an excessively long time to initially load (Around 1.5 minutes) I am aware that this is generally the nature of web app projects but my issue is this seems way too long. Ive tried several things to try and pinpoint what mi...

How can I catch a exception form ObjectDataSource.Updata()

The exception is throwed by database caused a conflicting by FOREIGN KEY. ...

Stop ASP.NET from handling 404 errors for files with extensions (not IIS)

I'm using IIS7 and ASP.NET. Basically building a simple CMS and need to handle .htm and .html file extensions (served by dynamic asp.net pages). I have it setup so IIS7 passes the page to asp.net (not the static handler); however, ASP.NET knows the file doesn't exist and redirects to its 404 (404.aspx?aspxerrorpath=xx) before I can do w...

Login to ASP.NET webform that has forms authentication from a foreign web page.

Hi, I have a ASP.NET 1.1 app with forms authentication. Some other devs want to put a login section to my site on their webpage. I have tried on my own seperate page putting the full url (https) of the login page into the action property of the Form element and made the inputbboxes the same names but all it does on submit is load the ...

When is safe to disable viewstate?

When is safe to disable viewstate? For wich controls? Under what circunstamces? In a user control I have disabled viewstate, but if I attempt to click in this control <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Delete" OnClientClick="return confirm('¿Está seguro que desea eliminar el mensaje?');" EnableViewStat...

How to call a windows service from asp.net

If I create a Windows Service, is there a way to call that service from asp.net? ...

will the use of multiple subdomains speed up my website?

i am considering moving my images to a subdomain on my website, and i read somewhere that moving the script to a different one would make it even faster! is it really true? or should i just leave it at what it is if i am not considering a real CDN? ...

Deployment asp.net MVC

Hi, I have an MVC application which is my marketing website, and two other regular asp.net applications which I'd like to put in subdirectories. Can I have an asp.net application (i.e. the mvc marketing) with sub-applications? Thanks, Rob ...

What's the size of an ASP.NET 3.5 session ID?

Is it 32 bit, or 64 bit or 128 bit or bigger? ...

Connection pooling and single sign on

An ASP.NET 3.5 app with SQL Server 2005 must provide single sign on on intranet environment. This is done by using the Windows Authentication mode in the web.config. I want to use connection pooling as much as possible. I also want to use SSPI as database access in the connection string and not using impersonation (in the web.config) T...

DataTextField in a ListBox is a combination of 2 fields.

I have a listbox containing Users. The datasource is an generic list of the type User (contains, id, firstname, lastname, ...). Now I want to use the id as datavalue (through dataValueField) and I want LastName + ' ' + Firstname as a DataTextField. Can anyone tell me how this is possible? I'm using C# (ASP.NET). ...

HTML.Listbox in MVC dosent show up in FormsCollection...

Hi! I have a ASP.NET MVC application where I have a HTML.Listbox where the user can add items to it, in the webpage. It looks like this. <p> <label for="groups">Grupper:</label> <%= Html.ListBox("RoleGroups", (Model != null ? new SelectList(Model.RoleGroups) : new SelectList(new List<BL.Portal.Domain.Model.RoleGroup>(){})))%> <%...