KaushaL.NET

Posts Tagged ‘.NET

While working on DNN 5.0 site, I was trying to have a left menu navigation using AJAX Accordion. Even, I got succeeded in implementing that but i come accross an issue of – flickering the Accordion control in  IE while opening and closing and navigating thru panes.
After googling, I came to know about the solution [...]

Accessing Web.Config File SMTP Mail Settings Programmatically

Posted by: Kaushal on: September 5, 2008

I needed to read my SMTP email settings defined under system.net section in my web.config file. In order to use eNewsLetter and other SiteAdmin CMS modules that sending email notifications; you can setup your web.config to defind SMTP services settings.
Below is one example of SMTP email setting defined in web.config file:
(Under <configuration> Section)
<system.net>
<mailSettings>
<smtp deliveryMethod=”Network” from=”testuser@domail.com”>
<network [...]

CSS Filter Examples

Posted by: Kaushal on: July 30, 2008

A CSS Filter is a coding technique used to hide or show CSS markup depending on the browser’s brand and/or version number. Browsers have different interpretations of CSS behavior and different levels of support for the W3C standards. Web developers will implement CSS Filters when attempting to achieve consistent layout appearance in browsers that do [...]

Vertically Scrollable Repeater with fixed Headers

Posted by: Kaushal on: June 30, 2008

I had to find some work-a-round for a scrollable repeater. The way I want it to be is to have fix headers with able to vertically scrollable. I found lots of example dealing for this solution with CSS and JavaScript. Luckily, I found one which works in both IE and FF. I managed to make [...]

Multiple Active Result Sets (MARS – ADO.NET 2.0)

Posted by: Kaushal on: June 30, 2008

Multiple Active Result Sets (MARS) is a feature in ADO.NET 2.0. It allows execution of multiple batches against Database on a single connection. Preeviously, only one batch could be executed at a time against a single connection. But, execution of multiple batches with MARS does not mean like simultaneous execution of operations.
In previous versions of [...]

Below, is the JavaScript code function snippet I used in one of my web application; to provide the functionality of “Select All Child” when ParentNode CheckBox is Checked; means to automatically Check all the ChildNode CheckBoxes, when you Check the ParentNode. I used the TreeView Control with ShowCheckBoxes Property.. Read More…

Have you ever wanted to clear or remove unwanted items from your “Recent Projects” list on your Visual Studio 2008/2005 startup page?
Here is an nice tip on how to clear the “Recent Project” list:.. Read More…

Tags: ,

Repeater Control: Split Mark-Up Tags across the Templates

Posted by: Kaushal on: June 30, 2008

The Repeater control is the only Web control that allows you to split markup tags across the templates. To create a table using templates, include the begin table tag (<table>) in the HeaderTemplate, a single table row tag (<tr>) in the ItemTemplate, and the end table tag (</table>) in the FooterTemplate.. Read More…

Literal.Mode Property (ASP.NET)

Posted by: Kaushal on: June 30, 2008

The “Mode” Property of Literal Control specifies an enumeration value that decides how the content in the Literal control is rendered
This property is set using one of the LiteralMode enumeration values. The following lists the possible values.. Read More…

DataTableReader Class in ADO.NET

Posted by: Kaushal on: June 30, 2008

Eventhough DataTableReader is an excellent concept and got lot of advantages when compared to SqlDataReader, it is not yet widely used in web application development. Even I have never used the DataTableReader Class in any of my application before. But, the combination of DataTable + DataReader (I.e. connected + disconnected architecture) is the most impressive [...]


Victims

  • 39,054 Hits

Calendar

November 2009
M T W T F S S
« Jun    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Archives

KaushaL Parik (Microsoft MVP – ASP.NET)