Search

You searched for the word(s): userid:290677

Matching Posts

  • How to work with controls that emit stylesheet links in an UpdatePanel scenario

    If a control needs to register a <link> to a style sheet, how does one go about ensuring that the style sheet link is only emitted one time? For example, I have a custom button control. It has a style sheet that styles the core elements of the button. There might be 5 instances of this custom button on any given page, but obviously I only need to link in that style sheet once. Using ClientScriptManager I used to just check if I had already registered the script include for this button type
    Posted to ASP.NET AJAX UI (Forum) by drub0y on 1/15/2007
    Filed under: style sheets, ajax, css
  • Re: Latest release has problem with custom controls w/ParseChildren(false)...?

    Hmmm... actually I *did* compile first because I figured that might have been the problem originally and makes sense that you'd have to do that. So, I went back to the repro project, cleaned and recompiled just to make sure and then tried to open it in the designer and still get the error. Is it possible you're running a newer build than RC1 and something has been fixed? FWIW, my control is in the same project (thus the same assembly). I was referencing with ~/, but even if I change to a relative
  • Re: Latest release has problem with custom controls w/ParseChildren(false)...?

    Tim, Hey, thanks for the reply. I don't know if it's related to the things you mentioned. I came up with the simplest possible repro for the problem and have posted the sample project for you guys to check out here . It's all set up so all you have to do is right click the WebForm1.aspx and try and convert it. HTH, Drew
  • Re: Constant error when opening solution after manually converting to Web Application Project

    I get the first message constantly when I open my WAP projects and I used the RC1 conversion wizard. Here's the message: "The following Web projects must be converted to the new Web Site format. The conversion process will remove all source control bindings and the project will not be under source control after migration." It doesn't appear to do any such thing when it opens though. Any clue as to why this would be happening and how I can stop it? TIA, Drew
  • Latest release has problem with custom controls w/ParseChildren(false)...?

    Generation of designer file failed: Type 'System.Web.UI.UserControl' does not have a public property named 'mimformationItem'. First, I was able to successfully convert this same web site with the last version without problems. Second, as a disclaimer, this may not be a problem with just WAP, but considering it's ability to parse it last version and it's inability to do so in the latest version, it's definitely related. The control causing the error is an ASCX and on the code-behind class I'm using
    Posted to VS 2005 Web Application Projects (Forum) by drub0y on 4/30/2006
  • Re: Strange IDE Performance Issue with Web Application Project

    Scott, Without those other N projects I have the same problem. The other day I simplified it to exactly the repro I described above just to make sure it wasn't something about that solution. So, I'll try it from another user's machine first to see if they have the same results and then follow up with you offline. Thanks, Drew
    Posted to VS 2005 Web Application Projects (Forum) by drub0y on 4/24/2006
  • ScriptManager needs equivalent of ClientScriptManager's IsXXXRegistered

    I propose the addition of an IsControlRegistered method on ScriptManager. This method serves the purpose of reducing overhead of calls to the ScriptManager for controls that may be placed more than once on the page and need to register namespaces/includes. The signature of this method should be something to the effect of: public bool IsControlRegistered(Type controlType); Controls can then call this to check if they need to do any additional work to get setup with Atlas for the lifetime of the the
  • Strange IDE Performance Issue with Web Application Project

    Steps to repro: Create a new Web Application Project Add several new WebForms using Add New Item (takes about eight on my machine) Now open any decent sized XML, JavaScript or other source file (at least 100 lines long) Place your cursor at the top of this file. Press and hold the the down arrow. What you should see is that every 20 lines or so the cursor pauses as if some background operation is being performed. It doesn't happen with Web Site or other project types. In my real world case I have
    Posted to VS 2005 Web Application Projects (Forum) by drub0y on 4/21/2006
  • Re: Support for App_[Local|Global]Resources coming?

    Awesome, thanks for the response. I had a feeling it might still work despite the fact that the project type didn't treat them as first class citizens yet. I should have just tried, but either way I felt that I should find out what you guys have planned (if anything) for this. Very glad to hear you're working on rounding these features out though. If anything else comes to mind I'll definitely be sure to post. ;) Cheers, Drew
    Posted to VS 2005 Web Application Projects (Forum) by drub0y on 4/19/2006
  • Support for App_[Local|Global]Resources coming?

    Is support for the App_LocalResources and App_GlobalResources directories coming soon? I had done a bunch of research with Web Site Projects back in the day to convert from our custom localization code to use the resource expression and when I went to apply it to my web application project today I was suprised to find support for these concepts weren't there yet. I hope they're planned...? Thanks, Drew
    Posted to VS 2005 Web Application Projects (Forum) by drub0y on 4/18/2006
Page 1 of 2 (13 items) 1 2 Next >