asp.net-3.5

Voice Recording with ASP.NET

How can I record voice from an ASP.NET application and upload to server? Is it possible with APS.NET AJAX? ...

GridView displaying old data

On the Select event on the Grid View I went to the next page. After some time if I want to use the same page I got the same data on that page; how could I get out of this problem? ...

Set <asp:content> content in C#

Hi there! I'm currently learning to use MasterPages and ContentPlaceHolders in ASP.NET 3.5 and C# - and right now, I'm desperately trying to edit the contents of an asp:Content-Control through my programming code. Background is this; As soon as a Button is pressed, I want the asp:Content to be cleared and filled with dynamic generated ...

Need to change the background color of datalist cell

I have a datalist with itemtemplate which contains: an anchor and an href tag . Everytime a user clicks the link I want to change the background color to green of the so that the whole cell looks selected. If another cell is selected then the previous background should clear up and the new cell should get the green color. Right now all...

ASP.NET Session Variables -- Written by file upload -- Read by XMLHttpRequest to another page.

I am trying to implement a progress bar to monitor a file upload. The file is uploaded in an iframe and the server side C# code behind implements a buffer to upload the file in chunks. It uses a while loop to do this and upload performance seems to be fine with ASP.NET 3.5, and I really do not want to use a 3rd party control or a compl...

How to sort ResourceSet in C#

Hi All, I have a resource file named filetypes.resx. Some how I figured out to bind the resource values to dropdownlist, but I don't know how to sort the values of ResourceSet. Here is what I did so far, FileTypes.resx Name,Value A,1 B,2 C,3 code to bind dropdownlist DropDownList1.DataSource = Resources.FileTypes.ResourceManager...

Using a line of code from codebehind in actual HTML page

I have a database connection which takes an input from the querystring to access the appropriate data. However i have now upgraded things by encoding this data. As a result i now need to run the QueryString value through a function to unencode it. At present i have this code for the DataSource: <asp:SqlDataSource ID="SqlDataSource1" ru...

ASP.NET Listview Column Width

In windows applications we can change the listview's column width by just dragging the header of the column. How can I done that in a ASP.NET listview? ...

httpCookies requireSSL set to true on http does not cause any errors

I have set the httpCookies requireSSL value to true in web.config and run the web app on my local machine without https running. All runs fine apart from when I try and read the Request.Cookie. Its not there. I assume because I don't have SSL enabled it never created it but there was no warning that it failed. I only know when I try...

Microsoft Server 2003 with .NET 3.5

As a follow-up question on this; The server running is a Microsoft Server 2003. Are there any possible (bad) outcomes when trying to install .NET 3.5 on such a server, that only has 1.1 installed and running in order to split up web-applications based on 1.1 and 3.5? ...

Custom phone numbers control

I have a database that stores an arbitrary number of phone numbers. There are a few pages that (should) allow admins to change these numbers and add them. I plan to create a custom control that will: Show all existing numbers Provide an edit button In Edit mode, will show an add button Have an add button that adds the requisite fields...

what can cause asp.net to stop responding

we have an asp.net application, that makes heavy use of REST/json services through httpwebrequest and heavy use of the web cache. seemingly sporadically, the worker process simply stops responding. the browser sits expecting a response and never gets one. only an app pool restart seems to remedy the problem. there are no unhandled except...

What is the difference of webparts and websites?

i dont know the actual use of webparts , so. better to know difference with webpage ? any answer is appreriate.. ...

.net 3.5 IIS7.5 website can not be debugged - "Specified cast is not valid."

I'm trying to migrate an IIS6 site to 7.5, and in the IIS Manager's status section, I see "Unknown:Specified cast is not valid. (http). I've configured a base site that's just binding on port 80 to http. This doesn't stop the site from running. It does stop me from debugging though. When I hit F5 in VS, I get: "Unable to start debugg...

Using ExtJS with ASP.NET, Webforms or MVC?

Hello, For a scenario using 0 ASP.NET controls at all but rather an 100% extJS interface, what would be the advantages of using ASP.NET MVC or ASP.NET WebForms? And the disadvantages? Is there a OBVIOUS way to do it properly? I would love to have feedback's on your experiences. Thank you! ...

Issue with Url Routing(System.Web.Routing) 3.5 in Godaddy...(non-MVC App)

Hi, I am using System.Web.Routing namespace in Asp.Net 3.5 non-mvc app. Its working perfect in local machine but I tried deploying in godaddy server it doesnt work Does anyone has experiece with them ? Thanks in Advance.. Deepu ...

ASP.NET background processing blocks status or UI feedback

I know this question has been asked many times, but my problem is a little different. I have page which lets user download and upload excel file. During downloading excel, it takes approx 2 mins to generate the file. I have added checkpoints which updates the database with status like (started processing, working on header ...etc). I ha...

ASP.Net Security: Wrap Requests in IHttpHandler or use RoleProvider?

I'm working with ASP.Net MVC as well as DynamicData and I need to add role-based security. Should I implement this via: IHttpHandler with custom actions that check if the user is authorized? Or should I be using a RoleProvider? Or perhaps some combination of the two? If the RoleProvider is a viable option, when would I ever need t...

ImageButton not hitting codebind method, but does if replaced with LinkButton

I have an ImageButton being build inside of radgridview columnn. It is defined as follows. <asp:ImageButton ID="ImageButton_DeleteRun" ImageUrl="~/Assets/Images/Misc/delete.png" runat="server" OnClick="QueryDelete" CommandName="QueryDelete" CommandArgument='<%# DataBinder.Eval(Container,"DataItem.QueryGuid") %>' Width="10" Height="10" ...

how to connect to hotmail server?

hello everrbody i am developing a website in wich i want to connect to hotmail server to read and send emails through my website but i am not able to connect to server..i am using pop3 and smtp i am getting error as below [System.Net.Sockets.SocketException] = {"The requested name is valid and was found in the database, but it does no...