DropDownList overlapping WebDialogWindow

//

// / Register javascript to hide select elements. Select elements overlap window in IE6

//


protected 
void  RegisterJavaScript() 
{

// Creates function that displays select elements

if  ( ! Page.ClientScript.IsClientScriptBlockRegistered( " ShowSelect " )) 
{

string scrp 
=   " " ;Page.ClientScript.RegisterStartupScript( this .GetType(),  " ShowSelect " , scrp); 
}

// Creates function that hides select elements

if  ( ! Page.ClientScript.IsClientScriptBlockRegistered( " HideSelect " )) 
{

string scrp 
=   " " ;

Page.ClientScript.RegisterStartupScript(
this .GetType(),  " HideSelect " , scrp); 
}

 



 

In the WebDialogWindow attributed I added the javascript functions to the ClientEvents tag.

< ClientEvents Initialize = " hideSelect "  WindowStateChanged = " showSelect "   / >

转载于:https://www.cnblogs.com/myx/archive/2008/10/06/1305068.html

你可能感兴趣的:(DropDownList overlapping WebDialogWindow)