Search Control causes ASPX page to Postback twice
Please help,
Joseph Guadagno
Please help,
Joseph Guadagno
I will post some of the code....
SearchBox code
<div id="WLSearchBoxDiv">
<table cellpadding="0" cellspacing="0"><tr id="WLSearchBoxPlaceholder">
<td id="WLSearchBoxPrefixTD"><asp:Label ID="WLSearchBoxPrefix" runat="server" /></td>
<td style="width: 100%; border:solid 2px #4B7B9F;border-right-style: none;"><input id="WLSearchBoxInput" type="text" value="Loading..." disabled="disabled" style="padding:0;background-image: url(http://search.live.com/s/siteowner/searchbox_background.png);background-position: right;background-repeat: no-repeat;height: 16px; width: 100%; border:none 0 Transparent" /></td><td style="border:solid 2px #4B7B9F;"><input id="WLSearchBoxButton" type="image" src="http://search.live.com/s/siteowner/searchbutton_normal.png" align="absBottom" style="padding:0;border-style: none" /></td></tr></table>
<script type="text/javascript" charset="utf-8">
var WLSearchBoxConfiguration=
{
"global":{
"serverDNS":"search.live.com",
"market":"en-US"
},
"appearance":{
"autoHideTopControl":false,
"width":800,
"height":550,
"theme":"Blue"
},
"scopes":[
{
"type":"web",
"caption":"This site",
"searchParam":"site:www.josephguadagno.net"
}
,
{
"type":"web",
"caption":"Search Code Sites",
"searchParam":"macro:guadagno.Code_Search"
}
,
{
"type":"web",
"caption":"Web",
"searchParam":""
}
]
}
</script>
<script type="text/javascript" charset="utf-8" src="http://search.live.com/bootstrap.js?market=en-US&ServId=SearchBox&ServId=SearchBoxWeb&Callback=WLSearchBoxScriptReady"></script>
</div>
/* Windows Live Search Box - START */
#WLSearchBoxDiv
{
display: block;
text-align: right;
padding-left: 5px;
padding-right: 5px;
}
#WLSearchBoxPlaceholder
{
background-color:Aqua;
text-align: right;
width: 100%;
}