Hello List,

I'm having some problems (still) with the CheckBoxList and the ARDatabinding of it.

Debugging is not possible, because my development box is lacking a good debuging tool.

I'm now hoping on someone to take a look.. and perhaps pointing me in the good direction.

Some sample code below:

The rendered html
Categorie:<br />
  <
input type="checkbox" id="pattern_Categories_0_" 
name="pattern.Categories[0].Id" value="1" 
/> 
Droge Vliegen <br/>
<input type= "checkbox" id="pattern_Categories_1_" name="pattern.Categories [1].Id" value="2" />
Natte Vliegen <br />
<input type="checkbox" id= "pattern_Categories_2_" name="pattern.Categories[2].Id" value= "3" />
Nimfen <br/>
<input type="checkbox" id="pattern_Categories_3_" name ="pattern.Categories[3].Id" value="4" />
Streamers < br/>
<input type="checkbox" id="pattern_Categories_4_" name="pattern.Categories[4].Id" value="5" />
Wymphen <br/>
  <input type="checkbox" id="pattern_Categories_5_" 
name="pattern.Categories[5].Id" value="6" 
/> 
Flymphen <br/>
<input type= "checkbox" id="pattern_Categories_6_" name="pattern.Categories [6].Id" value="7" />
Zalm Vliegen <br />

On the controller:
public void Save(HttpPostedFile foto,[ARDataBind("pattern",AutoLoadBehavior.NewInstanceIfInvalidKey)] TyingPattern pattern)

I tried several approaches with the AutoLoadBehavior, but no result.

Thanks in advance.
Peter







-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users

Reply via email to