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
265
How can I get reference to the editor control in webgrid in a Master page
posted

I have a webCombo inside a ultrawebgrid in a master page. 

 

I tried to get the reference like this

UltraGridColumn c = (UltraGridColumn)e.Row.Cells.FromKey("dvalue").Column;            
            WebCombo x = (WebCombo)c.FindControl(c.EditorControlID);

I need to get the Cells[2] value from the webcombo row.

but from the above code I am getting an error "Object reference not set to an instance of an object".

I am using Masterpage. Will the ID differ. If yes, How to get the ID or reference to WebCombo which is used as editor Control in UltraWebGrid in a Masterpage.

 

Any suggestions please