Questions tagged by "asp.net"


0
 bounty
3
answers
How to permanently redirect domain in ASP.NET without using code-behind, and track redirected traffic as a Campaign in Google Analytics
9 years ago • alex
We have a domain that receives some type-in traffic. We want to redirect this traffic to the main domain and also be able to track that traffic as a Campaign in Google Analytics on the main site. The webserver is IIS8 and it already has an "empty website" bound to this domain to be redirected. Basically, what is the easiest way to permanently redirect domain to some external domain in ASP.NET without compiling anything and without using any c
0
 bounty
1
answers
How I can make loop through all the resources in a resource file?
10 years ago • lampego1@qrid
Hello. I need make loop through all the resources in a resource file. But I don't know how do it Please, help
3
 bounty
3
answers
How to determine current EXE directory for a C# console application
10 years ago • support_man
I tried to determine current running directory of my C# console application using the following code: Assembly.GetExecutingAssembly().Location However that code returns path to assembly location. It may be different from the folder where EXE file is located. My console application parses logs with no parameters. I want to know the path to the logs/ folder inside of the current executable's folder. Please help!
Tags: , ,
0
 bounty
2
answers
how to get the selected index of the asp:DropDownList control using javascript
10 years ago • support_man
I have an asp.net page, and I want to hide a div on the page when the index of the asp:DropDownList is 0 using javascript. I know how to hide the div but I do need help on how to get the selected index of the asp:DropDownLists using javascript. This is what I have in the javascript: function hideDiv() { var drpCampDock = document.getElementById('drpListCampaignDocketTemplate'); var drpCampType = document.getElementById('drpCamp
1 from 4