In your ASP.Net project instead of adding JavaScript functions on each and every page,we can create a single file with JavaScript functions and that file can be included in the header section of aspx pages where needed. If we are using master pages then include file in Master Pages.
Sample:
<head id="Head1" runat="server"><title>My Sample</title>
<link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
<script src="../Scripts/Locum.js" type="text/javascript"></script>
</head>
Subscribe to:
Post Comments (Atom)
Open default email app in .NET MAUI
Sample Code: if (Email.Default.IsComposeSupported) { string subject = "Hello!"; string body = "Excellent!"; ...
-
Label tb = new Label (); tb.Name = "LabelID" + iRow; tb.Content = lblName; Grid .SetColumn(tb, iCol); Grid .SetRow(tb,...
-
HttpClient is a .NET class that an app can use to send HTTP requests and receive HTTP responses from a REST web service. The resources that...
-
Grid is a layout panel that consists of rows and columns. Example 1: < Grid > < Grid.RowDefinitions > < Row...
No comments:
Post a Comment