asp.net

jQuery check/uncheck problems

I'm using a gridview that has a radio button in one of the columns. It's used as a true/false flag. Anyways, because of the nature of my project, I require javascript to uncheck any radio buttons when I check another one. This works fine, except that my gridview is wrapped in an update panel. I am taking care of reintializing the jQuery ...

Authorization in ASP.NET 4

I have a site which is running in ASP.NET 4.0, on Windows 7 Ultimate. It is using FormsAuthentication, with a nice little logon page, all of which is fine so far as logging in and authenticating. What is NOT working okay though is directory authorization overriding in sub-directories. I want both authenticated and non-authenticated u...

Adding more hardware v/s refactoring code under a time crunch

Background: Enterprise application - very will written for its time in 2004. Stack: .NET, Heavy use of Remoting, ASMX style web services, SQL Server Problem: The application allows user to go through various wizards for lack of a better term, all of their actions are stored in what we call "wiz state", which is essentially XML that is...

Using session variable with ASP.Net membership provider

Hi everyone ! I m using the Asp.net membership provider with my web application ! I would like to know how to get the user ID and How and Where can I add code to the application to set same session variable On the User log on ! This is the scenario : The user Logon, I catch his ID an the database I execute some query to set same sessio...

How to convert pdf Byte[] Array to downloadable file using iTextSharp

Hei guys I have this byte array i want to convert to pdf and make it available for download. Anybody has any idea how this is done? here is my Action Controller public ActionResult DownloadLabTestResult(string labTestResultID) { PdfReader pdfReader = new PdfReader("Xue_Tang.pdf"); MemoryStream stream = new Memo...

Creating menus dynamically in web application

Im creating a web application in asp.net visual studio 2008.. in my application, i have manually created a menu control.. since, the menus changes by needs, i wish to load it dynamically from sql table.. help me with simple application which loads a menu control dynamically and i can develop mine using those concepts.... thank u very mu...

Gridview losing row index value

Iam having a gridview with textboxes in itemtemplate. If textbox validation fails whiling clicking the submit button gets into exception and loses its rowindex values. Based on the row index value iam setting theme for gridview rows. So when i click the row it throws null value exception. Help me to solve this. ( I dont wanna bind grid i...

How to create mobile version of asp.NET web site?

Hi, i have a web created on asp And i want to make it mobile phone web, such that user can use it through his / her cell phone. I don't have any knowledge about XML And also i don't have knowledge of .NET How can I do this? Thanks. ...

chatbox widget in C#

Hi guys, any chatbox or chat widget or add-on that can be added on my web page? using C#.NET.... Thanks, Nhoyti ...

generic handler class method not call when call via query string

i am making a application for upload an image and view image. i have an image control and a fileupload control on the page and two buttons, one for upload image and another for view image. it's all i am doing in a content page. Now when i click on upload button then i store that image in temp table, now i want to show image using handler...

IIS ignores authorization in web.config

I have a problem using windows authentication and the authorization-tag in web.config for my asp.net application. When I host the application in IIS (both in IIS 6 and IIS 7) the authorization-tag is ignored. When I run the application in asp.net development server that comes with visual studio 2010, it works perfect. Why will it not w...

How to create custom Twitter Widget with C# in ASP.NET

Hi,i need to create my own twitter widget in my asp.net-c# website.How to get tweets from Twitter and Clear concern about the authorization properties. ...

How to resolve WCF Rest MethodNotFound (405) Error when appting to PUT via WCF Rest Starter Kit HttpClient

I have looked at nearly every single WCF Rest PUT/POST issues on SO here and have still been unable to determine why I am unable to PUT or POST to my web service but am able to call a test GetTime method via GET. This particular service exchanges custom credential information (username, password and some other information) for a token. ...

Hi I am getting compile time error

CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7529765b\d6c35794\App_Web_uclogin.ascx.5a9fc98b.zqr8lwaw.dll' -- 'Access is denied. ' Could anyone suggest for the same. ...

Disable server side caching ASP.net

How can i disable absolutely all caching on for an asp.net website? I have problems with asp:literal caching its values and it's annoying as hell. Don't tell me it's a bad idea to do that, since it's for a development version only. I think it's called output caching, but i might be wrong. Thanks for the help ...

Free build servers for .NET

Hello, I've got the question... Are there any free build servers for .NET applications? We are starting project as remotely working team and right now we are searching for such solution. As far as it's an academic project we do not have funds to buy server and run CC.net on it.. Are there any charge free solutions? Or at least cheap ones...

Substitute for Spring's init-method and destroy-method attributes in Unity

Hi everyone. I worked for about a year on a big Java based project which uses Struts2 for MVC support and Spring for DI, and now, because of a shift in company's management I have to migrate my whole project to .NET. I started poking around with Unity and MVC2, and since I have to replicate my previous solution, I was wondering does Un...

Using ClickOnce (or similar) for ASP.NET application

I'm looking for a way to providing users (administrators) of a web application to automatically (meaning it's opt-in to update, but the installation should be automatic when started) update said web application when new versions are released. The reason why I want an automatic approach is that I want the users to be able to update the ...

Which is fine language for asp.net - C# or VB

Hi, im going to digg asp.net deeply.To begin,i want to know which language has more features and advantages over the asp.net whether c# or VB. ...

how to destroy session in asp.net for grid view

i have set sesssion lik this Session["page" + GridView1.PageIndex] = values; Now hwen next time on ok button click hen i regenerate i fresh copy of gridview. It's first column which hold the checkbox automatically takes values from the checkbox. So i want that the session should be destroyed how to achieve this for all page index of d...