|
Wednesday, June 30, 2004
Article:Creating your own web.config section handler
About Column Types in Data Grids
Column Types in Data Grids
A DataGrid control is formed by data bound columns. The control has
the ability to automatically generate columns that are based on the
structure of the data source. Auto-generation is the default behavior,
but you can manipulate that behavior by using a Boolean property named
AutoGenerateColumns. Set the property to false when you want the
control to display only the columns you explicitly add to the Columns
collection. Set it to true (the default) when you want the control to
add as many columns as is required by the data source. The default
algorithm for column generation creates simple data bound columns that
use literal controls to display the contents of the corresponding data
source fields. The DataGrid control supports additional column types
that can render the column data so that it performs an action when
clicked.
BoundColumn
Displays a column that is bound to a field in a data source. It displays each item in the field as plain text.
ButtonColumn
Displays a command button for each item in the column. The text of
the button can be data bound. The command name of the button must be
common to all items in the column. When the value for the command name
is Select, clicking the column button automatically selects the row.EditCommandColumn
Displays a button column that is automatically associated with the
Edit command. This class receives special support from the DataGrid
control, which is manifested as a redrawing of the clicked row using a
template.HyperLinkColumn
Displays the contents of each item in the column as a link. The link
text can be bound to a field in the data source, or it can be static
text. Also, the target URL can be data bound. Clicking a link column
causes the browser to jump to the specified URL. This column class
supports target frames.TemplateColumn
Displays each item in the column according to a specified template, allowing you to provide custom controls in the column.
RegardsMitesh
Monday, June 28, 2004
OT - Eclipsing .NET
You've heard the hype about .NET. You've read a couple of vague articles
about dynamic discovery and invocation, service-oriented architecture, and how
SOAP and a handful of other XML standards are forever changing the software
industry. These ideas have intrigued you and you're interested in learning more
- or at the very least, you recognize the importance of being able to add these
acronyms to your resumé. In either case, you want to explore the world of .NET,
but are unable or unwilling to fork over a thousand bucks for Microsoft's
Visual Studio .NET product. This article is for you. <o:p></o:p>
<o:p> </o:p>
http://www.sys-con.com/webservices/article.cfm?id=360<o:p></o:p>
HttpMoudles and HttpHandlers uses and explanation
HttpMoudles and HttpHandlers uses and explanation
HiBipin has a good article explaining the same.Regards,Jignesh Desai
Thursday, June 17, 2004
Smart Navigation
Smart Navigation
"SmartNavigation" is a Boolean property which can be set in the page's code behind or in the @page directive... This property is really helpful in case you want to enhance user experience... Set this property to true and you will get following advantages in navigation if your browser is IE 5.5 and above...
1.) Maintaining the scroll bar position (useful in long length pages) 2.) Set focus to the same control on which it was before navigation (useful in pages with lots of controls) 3.) saving last page state in the browser history (useful when a page does not changes considerably across frequent postbacks... e.g. changing control values on change of dates in calendar control) 4.) The flash effect caused during navigation (useful when your page is pretty heavy to load) |