We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How can I override method : new GridDataBoundGrid((GridDataBoundGridModel)cloneModel)?

Hi, How can I override method : new GridDataBoundGrid((GridDataBoundGridModel)cloneModel)? I have a class MyGridDataboundGrid inherited from GridDataBoundGrid, I want to init the MyGridDataBoundGrid myGridDataBoundGrid = new MyGridDataBoundGrid ((GridDataBoundGridModel)cloneModel). So I declare in Initial Method of class MyGridDataBoundGrid : public MyGridDataBoundGrid( GridDataBoundGridModel model) { this.Model = model; } Is it right or wrong ? if I use myGridDataBoundGrid to use ->> error occurs

1 Reply

AD Administrator Syncfusion Team December 14, 2004 01:56 PM UTC

Try using this are your constructor to see if this makes things work better.
public MyGridDataBoundGrid(GridDataBoundGridModel model):base(model)
{
	
}

Loader.
Live Chat Icon For mobile
Up arrow icon