creating repeating control using templates




I've a requirement of creating repeating controls similar to the one
available in infopath form. The controls to repeat could be a
combination of dropdown and check box or a combination of textbox and
checkbox and so on. When I say insert item a new row should get added
with any of the above templates.

I would like to create a generic repeating control, where in I should be
able to specify a control template and based on the control template
definition, I should get a new row added. The generic control should
take the template as property.

Will it be possible to create a repeating control through javascript, so
that I don't make a server side call when I insert a new item?

Any pointers is appreciated.




bruce barker

you can do it in javascript. you might want to use one of the template
libraries for javascript, as it make it easy. jquery has one, and microsoft
has one in its futures ajax release

-- bruce (

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question