Search

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

Matching Posts

  • Re: Theming with multiple CSS files some hard coded some changed programmatically

    Your best bet would be to include your shared (master and iewin-hacks) stylesheets in a directory in the root of your site, say "styles". Then add links for those into your masterpage. Put your theme specific styles, images, etc. into theme directories and set the theme as you would normally. The shared CSS should be included since they are referenced in your masterpage. I also think you could use runat="server" in your <link> tag, allowing you to use the "~/.."
  • Re: User Controls and Panels

    When you perform a postback, the Page_Load event is called before any of your other event handler code. If you are loading your User Controls in the Page_Load event, make sure you are checking for a postback first, otherwise, your usercontrols are being re-loaded before the event handler can be fired... if you are not loading the usercontrols in Page_Load, walk through your code to make sure they aren't being re-loaded somewhere else before the event handler. Something like: if(!IsPostBack) { //Load
    Posted to Web Forms (Forum) by avanslaars on 12/20/2006
  • Re: working since morning, simple error but unable to resolve, ERROR : 26 , please help

    Your connectionstring is look for SQL Express. Make sure you have a working copy of your database in your SQL 2005 instance and update your connection string accordingly.
  • Re: Weird problem

    Are all 10 of these sites running on the same server?
    Posted to Configuration and Deployment (Forum) by avanslaars on 12/15/2006
  • Re: Format Date in DataGrid

    What you could do is use a TemplateColumn in your grid with a label for the date display and create a method in your code behind to return the date's "display value"... so you would create a method that returns a string with an access level of "protected" (or public, you just need to make sure your page can access the method), passing the date as an argument. compare the date to your value and if it is the 1/1/0001 value, pass back string.Empty, so your label in the template column would look something
    Posted to Data Presentation Controls (Forum) by avanslaars on 12/15/2006
  • Re: How Do I Write HTML into an XML File

    I have done this quite a bit and never had this problem. How are you passing the html into the XML? Could you post some sample code?
    Posted to XML and XmlDataSource Control (Forum) by avanslaars on 12/15/2006
  • Re: Custom Checkboxlist

    You could accomplish this with the standard Checkbox list control and some code. I created a very simple page that uses a TextBox for the input, you would want to use selected values from your database for this and there is also a button that will show you the selected values in a label for the first button... so the way it works is this: You capture the selected values into a stringbuilder with a comma after each value, once the loop through the checkboxlist is done, you use TrimEnd(',') to remove
    Posted to Web Forms (Forum) by avanslaars on 12/15/2006
  • Re: Weird problem

    That is a strange problem. I have never encountered it myself but I use WebDeployment projects for all of my systems and I haven't had any problems. If you can't use this approach, meybe somebody else who has experienced this could chime in. I'd be interested to see what the underlying problem is and what the solution is.
    Posted to Configuration and Deployment (Forum) by avanslaars on 12/15/2006
  • Re: Is it possible to create a Controls Collection?

    It is definately possible. If you are using this on a page, there is already a built in Controls property, you'll find the same for container controls and User controls... you can easily loop through the controls collection for any of these types using: foreach(Control ctrl in Page.Controls) { //Code to manipulate the curret control }
    Posted to Getting Started (Forum) by avanslaars on 12/15/2006
  • Re: Testing Code

    If you are looking to build Unit Tests for your classes, you should look into using NUnit: http://www.nunit.org/
    Posted to Getting Started (Forum) by avanslaars on 12/15/2006
Page 1 of 14 (139 items) 1 2 3 4 5 Next > ... Last »