ASP.Net Tips Archives - Page 7 of 7 - All Things DotNetAll Things DotNet
  • Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

ASP.Net Tips Category

August 11 , 2010 | | In: ASP.Net, ASP.Net Tips

Change Master Page Depending on Browser

Did you know that, in your content pages, you can specify a certain MasterPage, depending on the browser that’s hitting your page (at least IE and FireFox). All you need to do is to add a section for each specific browser to your content page’s Page Directive, after creating a separate MasterPage for each browser: […]

August 10 , 2010 | | In: ASP.Net, ASP.Net Tips

SelectedItem.Text Not Keeping Selection

When using DropdownLists and Listboxes, or any control which uses ‘selecteditem.text’ to get the selected item, the major reason for not getting the correct item is as follows. If you are binding the control at Page_load, you MUST surround the binding code with a page.ispostback/if/then statement inside the Page Load event.

All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF

If you find this site helpful,
please donate to help keep it online and free

Code 'n' Sprox   DreamTemplate - Web Templates

Follow us on Twitter

Follow AllThingsDotNet on Twitter

Test - The Name: 6936