Solve the refresh problem caused by ASP.NET server controls

xiaoxiao2021-03-06  39

Using system;

Namespace Test {///

/// Scripthelper's summary description. /// /// /// Provides some methods of generating page scripts /// public class scripthelper {

///

/// Get the script of the client to view the control /// /// /// script code Public scripthelper () {}

Public Static String GetViewControlScript (String ControlName) {

// Create a client function Viewobj string script = "/ n"; script = "