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
410
InitializeLayout firing for Ultradatasource
posted

I have an ultradatasource.  I load it with data from the database. I attach it to a datasource for the grid, but if I have no records, the initializelayout does not fire (which means my add new line does not appear).   What should I be doing?

Roger

 

 

 

 

udsPatientProblemList.Rows.SetCount(intCount)

grdPatientProblemList.DataSource = .udsPatientProblemList

--  InitialLayout is not fired with 0 records. If I have records it fires.  I can force it with a databind, but ....

Parents Reply Children