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
45
Grid does not initialize at binding
posted

I am trying to implement dropdown combo using ultragrid. Everything works fine, except for that grid does  not get initialized at first. It only get's initialize after BeforeEditorButtonDropDown event is called. 

This is my setting it up      

mgrdDropDownGrid = New Infragistics.Win.UltraWinGrid.UltraGrid

        mbtnDropDownButton = New Infragistics.Win.UltraWinEditors.DropDownEditorButton

        mteDropDownTextEditor = New Infragistics.Win.UltraWinEditors.UltraTextEditor

        mgrdDropDownGrid.Size = New System.Drawing.Size(200, 168)

'now getting data and binding

mgrdDropDownGrid.DataSource = GetTable_FromSQL(clsData.ConnType.connEcase, storedProc)

  mgrdDropDownGrid.databind

 

I expect it to be initialized now, but it is not. It only initializes after the Before Dropdown event of textEditor is fired which is a problem for my logic. 

What should I do so that grid is initialized at databinding?

Parents Reply Children
No Data