adding template columns
satya - Monday, April 23, 2007 10:08:54 PM
understanding template columns Dino Esposito
satya - Monday, April 23, 2007 10:21:36 PM
templates can be added programmatically. Look for ITemplate
templates can be added programmatically. Look for ITemplate
satya - Monday, April 23, 2007 10:55:20 PM
How can I add a templatecolumn to a dataview?
Looks like datagrid has this capability through columns property. How about dataview? I dont see that property
satya - Monday, April 23, 2007 11:01:34 PM
apparently the templace column is replaced by templatefield
apparently the templace column is replaced by templatefield
satya - Tuesday, April 24, 2007 10:03:15 PM
working with templatefields: msdn
satya - Tuesday, April 24, 2007 10:18:50 PM
an example from msdn api for templatefield
satya - Thursday, April 26, 2007 2:24:54 PM
field types
boundfield buttonfield checkbodfield commandfield(select, edit, delete) hyperlinkfield imagefield templatefield
satya - Thursday, April 26, 2007 2:28:47 PM
styles
rowstyle headerstyle alternatingrowstyle footer header pager selectedrow
satya - Thursday, April 26, 2007 2:29:11 PM
properties
showfooter showheader
satya - Thursday, April 26, 2007 2:30:10 PM
The above url has tons of information
The above url has tons of information
satya - Thursday, April 26, 2007 2:32:18 PM
important events
RowCreated - you can change the appearance RowDataBound - you can change data SelectIndexChanged SelectIndexChanging
satya - Thursday, April 26, 2007 2:46:08 PM
adding a databind event to a control
satya - Thursday, April 26, 2007 2:56:46 PM
the instantiatein method
// Override the ITemplate.InstantiateIn method to ensure
// that the templates are created in a Literal control and
// that the Literal object's DataBinding event is associated
// with the BindData method.
public void InstantiateIn(Control container)
{
Literal l = new Literal();
l.add_DataBinding(new EventHandler(this.BindData));
container.get_Controls().Add(l);
} //InstantiateIn
// Create a public method that will handle the
// DataBinding event called in the InstantiateIn method.
public void BindData(Object sender, EventArgs e)
{
Literal l = (Literal)sender;
DataGridItem container = (DataGridItem)l.get_NamingContainer();
l.set_Text(((DataRowView)container.get_DataItem()).
get_Item(column).ToString());
} //BindData
satya - Thursday, April 26, 2007 2:59:55 PM
How can I get access to the templatefield and template class in the instantiate in method?
How can I get access to the templatefield and template class in the instantiate in method?
satya - Thursday, April 26, 2007 3:35:00 PM
what are the capabilities of htmltable and when do you use it?
what are the capabilities of htmltable and when do you use it?
satya - Friday, April 27, 2007 10:36:50 AM
Can I replace a templatefield at run time?
Can I replace a templatefield at run time?
satya - Friday, April 27, 2007 11:27:51 AM
example of a templatefield in aspx