Oct 20, 2010 06:40 AM|micmac|LINK
I have an ASP.net website build in VB 2010 web dev pro using 4.0 framework. Its a dynamic data site and I am having some trouble formating some of the field and page canned templates.
Q1: Field Templates - the tooltip code (TextBox1.ToolTip = Column.Description) is within the ascx.vp pages for each of the field templates. Where
can I update each columns description (as the code references) so the tooptip will be column/field specific. If its not as straight forward as that, I was trying to write an if/else statement because the tooltip code is set at the field type level (decimal,
date, etc) and I want it to be column specific. example;
if column.value = Financial Impact
then TextBox1.ToolTip = "enter financial impact in whole dollars"
else TextBox1.ToolTip = "next fields tooltip text"
Q2: The site allows the ability to edit existing items or create a new one, all using the dynamic data templates, but I want to be able to sort the fields for the edit and creating new pages, into a more
logical order where currently I am not sure the logic the dynamic site is using to sort (cause they are not alphabetical, may be based on the type of field cause all decimal types are together and all varchar(Max) fields are together and all foriegn key fields
are together). Is there an easy way to change the order of the field as to how they appear within the edit or create new pages?