Search

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

Matching Posts

  • Re: How to avoid WDP copy all to Source Directory (also SVN!!)

    Did you really use this method to prevent VS2008 copying all of your source files to a folder called Source? Or are you just talking about excluding other files such as images? AFAIK ExcludeFromBuild does not help here. As I said earlier, if I do not have any ExcludeFromBuild statements then the Source folder is not created - but if I do (and I have to) then it is.
    Posted to VS Web Deployment Projects (Forum) by jstranger on 10/12/2009
  • Re: BuildManager and deployed projects

    Did what you suggested and indeed it now works. I hadn't tried it before as I could not imagine how this could help. I was vaguely aware that the .compiled files are marker files for each page and control and map them to the appropriate precompiled classes in the precompiled assemblies. But I was already getting an App_Code.compiled file generated even without unchecking the updatable option so assumed this would be OK. Still not sure why it didn't work. So now I have dozens of .compiled
    Posted to Configuration and Deployment (Forum) by jstranger on 10/12/2009
  • Re: BuildManager and deployed projects

    Yes, that is the case. Is this the issue? BTW I am also compiling to a single assembly, allowing VS2008 to append '_deploy' to the project name.
    Posted to Configuration and Deployment (Forum) by jstranger on 10/10/2009
  • BuildManager and deployed projects

    I have an existing web app in which I need to instantiate a user control where I obtain the class name dynamically. This I do on my development server by placing the user control in question in the App_Code folder and using the following code: Dim ctltype As Type = BuildManager.GetType("ASP." + className, False) Dim ctl = Activator.CreateInstance(ctltype) This works fine and I can then retrieve properties etc. However, once the app has been deployed (using a Web Deployment Project), BuildManager
    Posted to Configuration and Deployment (Forum) by jstranger on 10/5/2009
  • Re: BuildManager and deployed projects

    Yes - a standard .ascx user control. I put it in the App_Code folder by moving it there (!) - which works fine as long as it uses inline code (see http://odetocode.com/blogs/scott/archive/2005/10/01/asp-net-2-0-user-controls-in-app_code.aspx ). And I can then use the overloaded LoadControl with type to avoid having to specify a path (which instinctively feels 'wrong' and is particularly unacceptable in my case). It does however mean that I have to use the 'default' prefix of 'ASP
    Posted to Configuration and Deployment (Forum) by jstranger on 10/5/2009
  • Re: GridViewEx

    Sounds as if your issue may be the same or related to mine - but just to check.. For several years I have used the relatively crude approach of declaring a GridView with a FooterTemplate on each column for inserts and an EmptyDataTemplate containing identical controls for inserting when there is no starting data. Then in code behind I test if the row count is 0 and if so find each control from the EmptyData template and if not do the same for the FooterRow. All works but very irritating. I have never
    Posted to Tips & Tricks (Forum) by jstranger on 9/27/2009
  • Re: Solution: Show Header/Footer of Gridview with Empty Data Source

    I am really glad this thread is still running! For several years I have used the relatively crude approach of declaring a GridView with a FooterTemplate on each column for inserts and an EmptyDataTemplate containing identical controls for inserting when there is no starting data. Then in code behind I test if the row count is 0 and if so find each control from the EmptyData template and if not do the same for the FooterRow. All works but very irritating. So now I am trying to build a custom GridView
    Posted to Tips & Tricks (Forum) by jstranger on 9/26/2009
  • Re: multi-column layout

    Thanks for this. Since I am creating the datasource at runtime, it was not obvious to me that I first had to select a datasource before I could see the option to configure the ListView. But, even having done so, the layout previews were no help as they give no indication of sequence (both within and of columns), which is the crucial issue in my case. I have since checked the various layout options and none appears to meet my requirement. And there is nothing in the properties pane that allows me
    Posted to Data Presentation Controls (Forum) by jstranger on 9/20/2009
  • Re: multi-column layout

    Presumably you mean DataList - AFAIK the Repeater does not have a RepeatColumns property. What I am doing at the moment is to use a DataList with RepeatDirection=Vertical and the number of columns (RepeatColumns) and column length computed at runtime. This is fine apart from the fact that the DataList assumes that I want the column lengths to be balanced if there is less data than will fill the columns to the maximum length - which is not what I want.
    Posted to Data Presentation Controls (Forum) by jstranger on 9/20/2009
  • Re: ServerSideValidationExtender on ASP.NET 3.5 SP1 with current Toolkit

    Eventually, as suggested by Alexander Turlov (see http://blog.turlov.com/ - many thanks to him), I rebuilt the AjaxControlToolkit.WCSFExtensions.dll assembly with the latest Toolkit version (3.0.30510.0) and it now all works. For those with the same issue, download the WCSF source, install the WebClientFactoryBlockInstall.msi and rebuild the project under WCSFBlocks-Feb2008/AjaxControlToolkit/Source after changing the Toolkit reference.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jstranger on 9/19/2009
Page 1 of 13 (126 items) 1 2 3 4 5 Next > ... Last »