Some tips often used in ASP.NET

zhaozj2021-02-16  46

Mike Cat (Mikecat)

From: Old cat の Ide

Here you provide some solutions that are often easier to use. I put some effects in a library file.

Warning window

///

/// server-side ALERT dialog /// /// Tip information, example: "Can not be empty!" // / Page class public void alert (string str_message, point page) {page.register, page page {page.registerage, page page {page.registerage, Page Page {page.registerage > ");

Reduced this warning window to get a control

///

/// server side pops out the Alert dialog, and enables the control to focus //// Get the focus control ID value, such as: txt_name /// Tip information, example: "Please enter your name!" /// Page class public void Alert string str_Ctl_Name, string str_Message, Page page) {page.RegisterStartupScript ( "", "