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
365
how to dynamically create/attach WebNumericEdits?
posted

Hello All,

I have a bound web data grid where I attach a single WebNumericEdit control to every column via the column's EditorControlId. 

I now find out that I need to have different numeric editor options for every column in order to have different numbers of decimals for every column.  The number of columns is not known in advance when the grid is bound to the dataset.

I see that there is a WebNumeric object on the page, which I'm reusing for all columns, naturally.  Can anyone provide any guidance on how to dynamically create different WebNumericEdit editors to the columns - each with different properties?

Thanks for any advice.

Corey.