What's the best method for handling a situation where you have an ASP.Net Dropdownlist that is used to link to another URL
edited for clarity
Here's the basic scenario:
Dropdownlist with 5 cities bound to it
Selecting one of the cities should send me to a URL based on the city
Right now I am posting back using the "OnSelectedIndexCh...
How did you get rid of these annoying ASP.NET errors:
Could not load file or assembly 'App_Web_z9w33txs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
This has only happened to me once before. It seems like it is related to ASP.NET caching some assembly dynamically, but not recompiling it for some reason. Thoughts? How do you f...
I was wondering if there's a way (even a manual one) to setup an ASP.NET MVC project with unit tests under Visual Web Developer Express 2008 SP1.
...
I've been working on a ASP.NET project that is going to save uploaded files to a network share. I figured I could just use a virtual directory and be fine, but I have been struggling with permissions for Directory.CreateDirectory.
I was able to upload files so I decided to change my code to place everything in a single directory, howev...
I'm having an issue with the 3.1 version of the logging application block...
With 3.5 framework my application works fine on my desktop... once it's deployed out to our qa box... the logging ceases to function. The web.config is identical in both scenarios. Any ideas? Permissions issue?
After a quick diagnosis... turns out it works ...
Is there any way to access the <compilation /> tag in a web.config file?
I want to check if the "debug" attribute is set to "true" in the file, but I can't seem to figure out how to do it. I've tried using the WebConfigurationManager, but that doesn't seem to allow me to get to the <compilation /> section.
Update:
I know I could easil...
We've got an ASP.Net 2.0 (VS2005) application that works fine locally, but sometimes loses session state when deployed on the remote server.
I suspect a possible issue with IIS recyling the application and thereby blowing away the users' session state. However, the server is remote not under our control... so we can't simply fire up ...
Currently I am designing a new website and I want to plan it properly.
The main page consists of a Top Content (Header including logo etc) The body with the menu on the left and obviously the footer at the end of the page.
In the menu I have 50 pages and I want to change ONLY the body content of it.
It is not worth it to replicate all...
I using urlrewriter.net to implement friendly urls.
When I did the rewriting I used subfolders on occasions.
I found myself having problems with images and links and the ~ sign wasn't working for me. After reading a bit I found out that I'm not the only one with that problem and they recommended using full path "www.website.com/images/x...
I'm using urlrewiter.net in order to implement friendly url's.
It's a great and easy to use package!
Nevertheless, while using subfolders I had problems with the relative links to images and to other inner pages.
I tried to use ~ (server side) and it didn't do the trick.
Is there another solution?
...
so I have a 3rd party application that I have to interface with, this application needs the userID from my users table. the problem is that I store my userIDs as GUIDs and the 3rd party app only accepts an integer. so I figure, if there is a way to convert a GUID to an integer then be able to convert it back (as i get communications fro...
I've been tasked with converting an existing ASP.NET site from using InProc session management to using the ASP.NET State Server.
Of course what this means is that anything stored in the Session must be serializable.
One of the most complicated pages in the app is currently storing an ASP.NET control collection to the Session. This is...
I am using shared hosting with IIS7 and support for PHP. I am trying to run a wordpress blog with "pretty urls" (removing index.php). The hosting provider doesn't want to install the URLRewrite module, so that option isn't available to me. I found a plugin for wordpress that will remove the index.php from permalink URLs and changing the ...
I'm an ASP.NET web part novice. I've built a few simple ones using only a class that derived from WebPart and overriding the CreateChildControls method, but nothing really very substantial. My question is whether it's possible to have a web part that also takes advantage of a separate html/asp.net markup file that will help provide som...
I used to write ASP.Net apps deploying business dataaccess layers in COM+ components several years ago. This was the standard in several corporate infrastructure here in my country. Is this still recommended? What is the alternative?
...
I have a DropDownList and a TextBox on a Page. When the user chooses the "other" option in the DropDownList I want to display a TextBox just to the right of it. I do not want to use the traditional PostBack technique. I want this interaction to be client side.
I am aware that I can get a get a reference to the DOM element and set its st...
I'm relatively new to ASP.NET and was wondering if anyone could shed some light on when I should use relative references (e.g. ../images/banner_tinga.jpg) versus the tilde (e.g. ~/images/banner_tinga.jpg). Depending on the situation you can accomplish the same goal using either. What are the pros and cons of each mechanism? One argument ...
Hello,
I recently upgraded a Web Application Project (as well as some dependent projects) from .net 2.0 to .net 3.5 using the built in conversion tool. Everything works well such as using MS AJAX 3.5 vs. the external MS AJAX libraries in 2.0.
My problem occurs when I tried using the new Lambda Expression syntax. The compiler will not r...
I'm not sure if this is completely off topic but I was wondering what the best part of the military would be best for a computer programmer? (i.e Army, Navy, Airforce, etc.).
I'm not interested in cryptography or anything like that but I would like to join. Any of your tips/opinions would be great.
The reason I'm thinking of joining t...
I have a web page where it will input an excel/CSV file from the user and read the data from it and import to DB.While inserting each record.I just want to show the details about the record being inserted to the user.(Ex : Client Details of A is adding...)
...