Hi @Minal Patel ,
Sharepoint 2010 and Sharepoint 2019 use different .Net framework versions. SP2019: .Net 4.7.2 - see Hardware and software requirements for SharePoint Server 2019
So you will need to rebuild your ASP.Net application against .Net 4.7.2 first.
Script Manager also support .net 4.7.2
https://learn.microsoft.com/en-us/dotnet/api/system.web.ui.scriptmanager?view=netframework-4.8
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.