Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:615317
More Search Options
RSS Available
Matching Posts
Override IIS and allow *.config file downloads
Hi, I'm trying to override IIS and allow config file downloads. I am using IIS 6 on W2K3. I have tried using this example that is supposed to allow for all config files except the web.config to be downloaded but it doesn't work. Is there something else I need to do? <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <httpHandlers> <remove verb="*" path="*.config" /> <add verb="*" path="web
Posted to
HttpHandlers and HttpModules
(Forum)
by
doitconsultants
on 6/22/2009
Filed under: HttpHandler, IIS 6.0
Re: Disable link to current page--Further Assistance Needed
Great! I'm glad it is working for you. It was a fun challenge. Good luck with the rest of your website.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
doitconsultants
on 8/22/2008
Re: Disable link to current page--Further Assistance Needed
Yes, I got it thanks! When I stepped through the code I realized that the controls collection off the master page doesn't loop through children of children. I created a recursive sub that will loop through all child controls. Here's the code for the master page! Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load For Each ctl As Control In Page.Master.Controls FindHyperlinks(ctl) Next End Sub Private Sub FindHyperlinks( ByVal ctl As Control) If
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
doitconsultants
on 8/21/2008
Re: Disable link to current page--Further Assistance Needed
Hi, Can you post your markup? If you don't want to do it public, you can send it to me via a private message. I can reproduce it better.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
doitconsultants
on 8/21/2008
Re: Disable link to current page--Further Assistance Needed
Hi, Yes, this should go into the page load method. Did you do it with the master page or aspx page? I would think masterpage but you might try both. Also, are your link controls hyperlink controls or html a link controls? I'll recreate this tonight and test it more. I hope this helps.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
doitconsultants
on 8/21/2008
Re: AJAX cascading dropdownlist questions.
The binding is actually done in the markup with the following properties of the CascadingDropDown object. ServicePath = This is the web service url that you are going to call ServiceMethod = Method of the web service that will return the data TargetControlID = DDL that gets populated from the async call ParentControlID = changes to this DDL, reload the grid with the new param The selected value part was just to show you after a drop down list (from a cascading drop down list) is populated, how you
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
doitconsultants
on 8/21/2008
Re: Running an app with Process.Start, but the app is not getting focus.
Hi, The Microsoft.VisualBasic namespace has an AppActive function that will bring it to focus. I use it a lot and it works great. You specify the processId. You could use reflector or something to see what it is doing behind the scenes if you are using C# and don't want to import that namespace. http://msdn.microsoft.com/en-us/library/dyz95fhy.aspx I hope this helps
Posted to
Free For All
(Forum)
by
doitconsultants
on 8/21/2008
Re: APS and ASPX page question
Hi, If you don't want them to do any of the code behind stuff there is Microsoft Expression Web. This is nice and allows them to still use asp.net controls for the design. This should make it easier for a developer to wire up the controls and make them data driven. If you have static pages, I wouldn't recommend having those as ASP pages. Originally static ASP pages took a performance hit because of the ISAPI layer it has to go through. I'm not sure if that is still a probelm with the
Posted to
Getting Started
(Forum)
by
doitconsultants
on 8/21/2008
Re: Disable link to current page
Hi, You could loop through the controls on the page and if it is a hyperlink cast the control and compare the navigateurl. Here's the code. For Each ctl As Control In Page.Master.Controls If TypeOf ctl Is HyperLink Then Dim hl As HyperLink = CType (ctl, HyperLink) If hl.NavigateUrl = CurrentPage Then hl.Enabled = False End If End If Next I hope this helps
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
doitconsultants
on 8/20/2008
Re: AJAX cascading dropdownlist questions.
Hi, Using a web service is the easiest way. You would need to create some sort of service call that supports async calls. Straight ADO wouldn't support it. Here's how I defined my cdds and bound to them. The data is loaded by the selected value of the previous one. Also, here is what I did when I wanted to default a selected value when I was loaded a previously saved record. Here's the cascadingdropdownlist < cc1 : CascadingDropDown ID ="cddCategory" runat ="server"
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
doitconsultants
on 8/20/2008
Page 1 of 13 (123 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online