﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>InstantASP Community Forums / InstantKB.NET 2.x / General Discussion  / Two Bugs regarding Custom Fields / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>InstantASP Community Forums</description><link>http://community.instantasp.co.uk/</link><webMaster>sales@instantasp.co.uk</webMaster><lastBuildDate>Wed, 08 Oct 2008 07:27:30 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Two Bugs regarding Custom Fields</title><link>http://community.instantasp.co.uk/Topic13885-74-1.aspx</link><description>Thanks for you reply.&lt;/P&gt;&lt;P&gt;But I still some more bugs regarding the custom fields as well&lt;/P&gt;&lt;P&gt;In this page below:&lt;/P&gt;&lt;P&gt;&lt;a target="_blank" href="http://demos.instantasp.co.uk/InstantKB20/Admin/AdminEditFieldTemplate7.aspx?Update=1"&gt;http://demos.instantasp.co.uk/InstantKB20/Admin/AdminEditFieldTemplate7.aspx?Update=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can tell that I default the value like this...&lt;/P&gt;&lt;P&gt;&lt;TABLE id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; WIDTH: 100%; BORDER-RIGHT-WIDTH: 0px" cellSpacing=1 cellPadding=9 border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=TableCell_Light style="WHITE-SPACE: nowrap" align=middle&gt;  &lt;/TD&gt;&lt;TD class=TableCell_Light style="WIDTH: 30%"&gt;&lt;TABLE cellSpacing=0 cellPadding=6 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=SmallTxt&gt;&lt;A class=SmallTxtBold id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_hypFieldName title="Edit Field" href="http://demos.instantasp.co.uk/InstantKB20/Admin/AdminEditField273.aspx?FieldTemplateID=7"&gt;&lt;FONT color=#1f5080&gt;Yes or No Test&lt;/FONT&gt;&lt;/A&gt; &lt;/TD&gt;&lt;TD class=SmallTxt align=right&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class=TableCell_Light style="WIDTH: 40%" align=left&gt;&lt;SPAN id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ctlFieldControl_CustomField_273&gt;&lt;INPUT class="" id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ctlFieldControl_CustomField_273_13 type=checkbox CHECKED value=13 name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl08$ctlFieldControl$CustomField_273_13&gt;&lt;LABEL for=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ctlFieldControl_CustomField_273_13&gt; Yes&lt;/LABEL&gt;&lt;BR&gt;&lt;INPUT class="" id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ctlFieldControl_CustomField_273_14 type=checkbox value=14 name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl08$ctlFieldControl$CustomField_273_14&gt;&lt;LABEL for=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ctlFieldControl_CustomField_273_14&gt; No&lt;/LABEL&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class=TableCell_Light align=middle&gt;&lt;INPUT class=FormCheckBox id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ckbIsRequired type=checkbox name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl08$ckbIsRequired&gt;&lt;/TD&gt;&lt;TD class=TableCell_Light align=middle&gt;&lt;INPUT class=FormCheckBox id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ckbIsEnabled type=checkbox CHECKED name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl08$ckbIsEnabled&gt;&lt;/TD&gt;&lt;TD class=TableCell_Light align=middle&gt;&lt;INPUT class=FormCheckBox id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ckbIsVisible onclick="var ckbIsRequired = InstantASP_FindControl('ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ckbIsRequired');var ckbIsEnabled = InstantASP_FindControl('ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ckbIsEnabled');var ckbIsVisible = InstantASP_FindControl('ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ckbIsVisible');if (!ckbIsVisible.checked) {if (ckbIsRequired != null) {ckbIsRequired.checked = false;}if (ckbIsEnabled != null) {ckbIsEnabled.checked = false;}}" type=checkbox CHECKED name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl08$ckbIsVisible&gt; &lt;/TD&gt;&lt;TD class=TableCell_Dark style="WIDTH: 30px" align=middle&gt;&lt;INPUT class=FormCheckBox id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl08_ckbSelected type=checkbox name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl08$ckbSelected&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class=TableCell_Light style="WHITE-SPACE: nowrap" align=middle&gt; &lt;/TD&gt;&lt;TD class=TableCell_Light style="WIDTH: 30%"&gt;&lt;TABLE cellSpacing=0 cellPadding=6 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=SmallTxt&gt;&lt;A class=SmallTxtBold id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_hypFieldName title="Edit Field" href="http://demos.instantasp.co.uk/InstantKB20/Admin/AdminEditField274.aspx?FieldTemplateID=7"&gt;&lt;FONT color=#1f5080&gt;Radio Yes and No test&lt;/FONT&gt;&lt;/A&gt; &lt;/TD&gt;&lt;TD class=SmallTxt align=right&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class=TableCell_Light style="WIDTH: 40%" align=left&gt;&lt;SPAN id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ctlFieldControl_CustomField_274&gt;&lt;INPUT id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ctlFieldControl_CustomField_274_15 type=radio value=15 name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl09$ctlFieldControl$CustomField_274&gt;&lt;LABEL for=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ctlFieldControl_CustomField_274_15&gt;Yes&lt;/LABEL&gt;&lt;BR&gt;&lt;INPUT id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ctlFieldControl_CustomField_274_16 onclick=CustomField_274_ForceSingleSelection(this.id); type=radio CHECKED value=16 name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl09$ctlFieldControl$CustomField_274&gt;&lt;LABEL for=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ctlFieldControl_CustomField_274_16&gt;No&lt;/LABEL&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class=TableCell_Light onclick=CustomField_274_ForceSingleSelection(this.id); align=middle&gt;&lt;INPUT class=FormCheckBox id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ckbIsRequired type=checkbox name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl09$ckbIsRequired&gt;&lt;/TD&gt;&lt;TD class=TableCell_Light align=middle&gt;&lt;INPUT class=FormCheckBox id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ckbIsEnabled type=checkbox CHECKED name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl09$ckbIsEnabled&gt;&lt;/TD&gt;&lt;TD class=TableCell_Light align=middle&gt;&lt;INPUT class=FormCheckBox id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ckbIsVisible onclick="var ckbIsRequired = InstantASP_FindControl('ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ckbIsRequired');var ckbIsEnabled = InstantASP_FindControl('ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ckbIsEnabled');var ckbIsVisible = InstantASP_FindControl('ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ckbIsVisible');if (!ckbIsVisible.checked) {if (ckbIsRequired != null) {ckbIsRequired.checked = false;}if (ckbIsEnabled != null) {ckbIsEnabled.checked = false;}}" type=checkbox CHECKED name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl09$ckbIsVisible&gt; &lt;/TD&gt;&lt;TD class=TableCell_Dark style="WIDTH: 30px" align=middle&gt;&lt;INPUT class=FormCheckBox id=ctl00_ctlContentPlaceHolder_ctl00_ctlAdminViewFieldTemplate_ctlPanelBar_ctlDataGrid_ctl09_ckbSelected type=checkbox name=ctl00$ctlContentPlaceHolder$ctl00$ctlAdminViewFieldTemplate$ctlPanelBar$ctlDataGrid$ctl09$ckbSelected&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;P&gt;but when I go to &lt;a target="_blank" href="http://demos.instantasp.co.uk/InstantKB20/Staff/StaffInsertArticle9.aspx"&gt;http://demos.instantasp.co.uk/InstantKB20/Staff/StaffInsertArticle9.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;the default value is lost..&lt;/P&gt;&lt;P&gt;Please look into this...&lt;/P&gt;&lt;P&gt;Also on Staff CP, if a tab have a very long name, filter is malformed and pash the main content down.&lt;/P&gt;&lt;P&gt;&lt;a target="_blank" href="http://demos.instantasp.co.uk/InstantKB20/Staff/Default.aspx"&gt;http://demos.instantasp.co.uk/InstantKB20/Staff/Default.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;MT</description><pubDate>Mon, 12 May 2008 20:15:45 GMT</pubDate><dc:creator>MT</dc:creator></item><item><title>RE: Two Bugs regarding Custom Fields</title><link>http://community.instantasp.co.uk/Topic13885-74-1.aspx</link><description>Hi MT,&lt;/P&gt;&lt;P&gt;Many thanks for your feedback as always. Please be assured my delay is not due to the fact i've not seen your post. I just wanted to address a few of your issues before posting my response.&lt;/P&gt;&lt;P&gt;[quote]1. http://demos.instantasp.co.uk/InstantKB20/Admin/AdminManageFields.aspx &lt;BR&gt;If you try to create a Custom Fields, but you canceled in the middle/ do not give further instruction, it will generate field like CustomField_XXX[/quote]&lt;/P&gt;&lt;P&gt;We are aware of this problem and it will be addressed in a future update.&lt;/P&gt;&lt;P&gt;[quote]2. http://demos.instantasp.co.uk/InstantKB20/Admin/AdminEditFieldTemplate6.aspx&lt;BR&gt;When you save the template, it generate errors:[/quote]&lt;/P&gt;&lt;P&gt;This was a problem with our demo due to some updates we applied for testing. This exception does not effect the 2.0.0 code. You'll notice this has been resolved now we've updated our demo site to use the latest 2.0.1 code.&lt;/P&gt;&lt;P&gt;[quote]Addition to the default field, I think at least checkbox does not follow. Also, Regex is on field is not saved into the database and even I add it back into the database, it has no effect in the staff CP. THe regex I tried to enter is /d/d/d/d/d[/quote]&lt;/P&gt;&lt;P&gt;This was a genuine problem MT and has been addressed in the 2.0.1 update posted today. You should notice this works as expected now also within our online demo. Thank you for pointing this out MT. &lt;/P&gt;&lt;P&gt;I hope this helps MT. Of course if you spot anything new now we have the 2.0.1 code up don't hesitate to post.&lt;/P&gt;&lt;P&gt;&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=smalltxt vAlign=top&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Mon, 12 May 2008 18:41:11 GMT</pubDate><dc:creator>Ryan Healey</dc:creator></item><item><title>RE: Two Bugs regarding Custom Fields</title><link>http://community.instantasp.co.uk/Topic13885-74-1.aspx</link><description>In Addition to the default field, I think at least checkbox does not follow. Also, Regex is on field is not saved into the database and even I add it back into the database, it has no effect in the staff CP. THe regex I tried to enter is /d/d/d/d/d&lt;/P&gt;&lt;P&gt;Thanks again.</description><pubDate>Thu, 08 May 2008 16:20:06 GMT</pubDate><dc:creator>MT</dc:creator></item><item><title>Two Bugs regarding Custom Fields</title><link>http://community.instantasp.co.uk/Topic13885-74-1.aspx</link><description>1. &lt;a target="_blank" href="http://demos.instantasp.co.uk/InstantKB20/Admin/AdminManageFields.aspx" target=_blank&gt;http://demos.instantasp.co.uk/InstantKB20/Admin/AdminManageFields.aspx&lt;/A&gt;&lt;P&gt;If you try to create a Custom Fields, but you canceled in the middle/ do not give further instruction, it will generate field like CustomField_XXX&lt;/P&gt;&lt;P&gt;2. &lt;a target="_blank" href="http://demos.instantasp.co.uk/InstantKB20/Admin/AdminEditFieldTemplate6.aspx" target=_blank&gt;http://demos.instantasp.co.uk/InstantKB20/Admin/AdminEditFieldTemplate6.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you save the template, it generate errors:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Server Error in '/InstantKB20' Application. &lt;HR width="100%" color=silver SIZE=1&gt;&lt;H2&gt;&lt;I&gt;&lt;FONT size=4&gt;Procedure or Function 'iasp_sp_InsertUpdateFieldTemplateDetail' expects parameter '@strDefaultValue', which was not supplied.&lt;/FONT&gt;&lt;/I&gt; &lt;/H2&gt;&lt;P&gt;&lt;/SPAN&gt;&lt;FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Description: &lt;/FONT&gt;&lt;/B&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Exception Details: &lt;/FONT&gt;&lt;/B&gt;System.Data.SqlClient.SqlException: Procedure or Function 'iasp_sp_InsertUpdateFieldTemplateDetail' expects parameter '@strDefaultValue', which was not supplied.&lt;BR&gt;&lt;/FONT&gt;</description><pubDate>Thu, 08 May 2008 15:49:15 GMT</pubDate><dc:creator>MT</dc:creator></item></channel></rss>