Hi Shalini Raj,
Thanks for using Syncfusion products.
We have analyzed your query with shared code snippets. We can achieve read-only for all input based elements (such as textbox, numeric textbox, autocomplete, multiselect, etc.) which has used inside Dialog. Please use this below code snippet.
Code Example:
|
var inputElements = document.getElementById('formId');
for(var i=0,elementLength=inputElements.length;i<elementLength;i++) {
inputElements.elements[i].readOnly = true;
} |
Also, could you please confirm whether you are using “Essential JavaScript 1” or “Essential JavaScript 2” Dialog? So that, it will be helpful to address your query quickly from our end.
Regards,
Narayanasamy P.