Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
555
binding dropdown in RowEditTemplate
posted

Hi,

1st: How can I bind a dropdown in rowedittemplate with different data for different row? For Example: For row 1, dropdown will bind some data. and for row 2 dropdown will bind different data. Its depend on some criteria. How can I do this? is there any event? I know that OnInitializeLayout dropdownlist can bind but i need it for each row   because each time it will bind data dependng on some criteria from row.

 2nd:  How can i catch event of dropdownlist in rowedittemplate?

 thanks in advance

Mamun

Parents
No Data
Reply
  • 1763
    posted

    I don't think you could do the binding.. Instead i'm thinking you could try something a little bit more complex like handling the BeforeEnterEditMode client side event and then, if the cell is the one with drop down as editor, do an Ajax call and insert the data retrieved using javascript.

     

    Not sure if the idea is well explained but hope you can figure something out with this guidance.

Children