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:475640
More Search Options
RSS Available
Matching Posts
Strange bug getting control ID?
Hi all, I'm writing an app that needs to populate a page with various controls via code at runtime.Optionally, I wish to add a Required Field Validator to these controls. I am creating an instance of a control and then adding it to an ASP:PlaceHolder. I then try to read the ID property (inherited from System.Web.UI.Control) to pass to a required field validator. Peculiarly, itermittently (90% of the time) the ID returns NULL. However, when I view the object in break mode, the ID field has been
Posted to
Web Forms
(Forum)
by
damiensawyer
on 8/24/2009
Filed under: ID field webcontrol
Re: Strange bug getting control ID?
I found a workaround.The problem went away if I read the .ClientID field first. string aaa = _control.ClientID; // this is workaround to a bug where by ID was not being populated. However, I believe that if I read ClientID first, then ID is populated. string ID = ((System.Web.UI.Control)_control).ID;
Posted to
Web Forms
(Forum)
by
damiensawyer
on 8/24/2009
Binding ASCX in Master Page to theme
Hello all, I'm very new to all of this. I have a theme and a skin (the standard ones). I have a standard master page which is holding a custom ascx which has a treeview in it. Can someone please point me in the right direction to bind a theme to the treeview? The 'theme' tag is on the <%@ page %> directive... however neither my master page or ASCX files use this. They use <%Master%> and %@control% >. Thanks very much in advance, Damien Sawyer PS - ASCX and master page included below
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
damiensawyer
on 2/3/2006
ASPX Note System
Hello all, I'm not sure if this is the best place to post this question, however I'll give it a go (I might stick it up on usenet as well). Does anyone know of a sample solution / open source project that deals with an online notes system? I'm thinking of something along the lines of http://www.memobook.com . It's a great service that they've got there, however, is getting a little bit dated and offers limited security. If I can't find one, I might consider writing my own... or maybe even starting
Posted to
Free For All
(Forum)
by
damiensawyer
on 12/4/2005
Re: Images not caching in browser
Hi again, Thanks for the suggestion. I tried saving the files without the progressive thing, however it was to no avail. Oh well. I think that i'm going to give up on it for now. Thanks very much for your help. Damien
Posted to
Community Starter Kit
(Forum)
by
damiensawyer
on 11/26/2005
Re: Images not caching in browser
Hi Jody, Thanks very much for your suggestion. Unfortunately, it didn't solve the problem. It did however show something suspicious. I don't have Context.Response.ContentType = contentType.ToLower(); or return image; anyway in my code! I have included the DisplayCommunityImage method from ImageHandler.cs (including my modifications per your suggestion). Is it possible that I am running a different/older version of the CSK? The csproj file in my solution is named "CommunityStarterKitCSVS_v1_0.csproj
Posted to
Community Starter Kit
(Forum)
by
damiensawyer
on 11/25/2005
Images not caching in browser
Hello all, I've just gone live with my first csk. I'm a relative newbie to the ASP world and am having some issues. For reasons unknown to me, the images in the site (stored in SQL) are not caching in the browser. Every time the use goes to another page in the site, the header banner reloads. Whilst this is acceptible for broadband users, it almost makes the site unusable via slow connections. To see what I mean, you can check out the site at htttp://www.callofguadalupe.org Does anyone have any ideas
Posted to
Community Starter Kit
(Forum)
by
damiensawyer
on 11/24/2005
Getting Started
Hi, I've just downloaded the ASP community starter kit. Can someone please quickly explain where the 'start' of it is?? This may sound like a stupid question, however I can't track down where the first page generating code is... The default.aspx page only displays an error message if things have gone pear-shaped. I'm sure that the answer is right in front of my nose... but I can't see it. Thanks in advance. DS
Posted to
Community Starter Kit
(Forum)
by
damiensawyer
on 7/26/2004
Re: ASP Community Starter Kit
Cheers Kris. I dig your .sig!
Posted to
Getting Started
(Forum)
by
damiensawyer
on 7/26/2004
ASP Community Starter Kit
Hi, I've just downloaded the ASP community starter kit. Can someone please quickly explain where the 'start' of it is?? This may sound like a stupid question, however I can't track down where the first page generating code is... The default.aspx page only displays an error message if things have gone pear-shaped. Thanks in advance. DS
Posted to
Getting Started
(Forum)
by
damiensawyer
on 7/26/2004
Page 1 of 1 (10 items)
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
ASP.NET:
Hanselminutes Podcast 186: .NET Debugging 101 with Tess Ferrandez
TechNet Edge:
WinRE and free stuff with Sean Kearney
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online