EditCreating custom tables
Not SharePoint specific, but to work with some of the existing javascript (in particular, creating edit forms that support attachments) requires generation of tables where identifiers are explicitly, and not munged with the name of the web part... it's pretty trivial to create a set of controls for doing this.
EditThe Code
public class CustomTable : Table
{
public override string UniqueID
{
get { return ID; }
}
public override string ClientID
{
get { return ID; }
}
}
public class CustomTableRow : TableRow
{
public override string UniqueID
{
get { return ID; }
}
public override string ClientID
{
get { return ID; }
}
}
public class CustomTableCell : TableCell
{
public override string UniqueID
{
get { return ID; }
}
public override string ClientID
{
get { return ID; }
}
}
You will see these classes used in the
resume help "Custom edit form web part" hack I will post at some point.