Sunday, June 19, 2011

HighSlidePopUp Using codeBehind Values

(When values are available in code behind eg. in viewstate etc.)
-------------------------------
<link href="../highslide/highslide.css" rel="stylesheet" type="text/css" />
<script src="../highslide/highslide-with-html.js" type="text/javascript"></script>
---------------------------
<script type="text/javascript">
hs.graphicsDir = '../highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'draggable-header';
</script>
-------------------------

<a href='viewZipCode.aspx?s=<%=Convert.ToString(ViewState["state"]) %>&c=<%=Convert.ToString(ViewState["county"]) %>'

onclick="return hs.htmlExpand(this, { objectType: 'iframe' } )">

<img id="imgviewZip" src="../images/view.png" border="0" />

</a>
-----------------------------------------------------------------------

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More