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
75
HTML controls in ultrawebgrid
posted

I am dynamically creating templated columns which is determined by the 'Data Type'

gvMC.Rows(i).Cells.FromKey("Response").Value = ctrlString

Where ctrlString can be ie.  "<input type='text' name='header' size='50' />"  OR "<textarea name='comments' rows='3' cols='50'>" etc..

The problem with these controls in the grid is that they do not function properly. I cannot press the 'delete' or 'spacebar' in the text control

and in the textArea control i sometimes cannot type without holding the mouse button down. Its as if the grid cell click is overriding the fact that the Html control has focus..

What can I disable in the grid to get these controls to function normally? Do i need javascript to set focus to the Html controls?

 

Thanks ,

MC

 

Parents Reply Children