i am inheriting reapeater webpart and creating a widget now i want to make selection of page type in widget mandatory without affecting web part
Clone the repeater web part, make that field required and then make your widget out of it.
No actually i have already inherited repeater now i want this through validation
As Jan said, your best course of action would be to clone the web part then make that field required in the new web part. Inheritance would only make sense if you wanted inherit the fields that it has already and expand on it.
Please, sign in to be able to submit a new answer.