Search this insane blog:

Wednesday, July 30, 2008

execute javascript on page

private void SetFocus(Control ctrl)
{
// Define the JavaScript function for the specified control.
string focusScript = "";
// Add the JavaScript code to the page.
Page.RegisterStartupScript("FocusScript", focusScript);

No comments:

Post a Comment