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:668706
More Search Options
RSS Available
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 "~/.."
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
avanslaars
on 3/3/2008
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.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
avanslaars
on 12/16/2006
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 »
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!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online