Wrap text in grid view
to wrap cell text in a gridview declare a style for a TD on top of page since the rendered grid cell will be TD.
<style>
.WrapStyle TD
{
word-break : break-all;
}
</style>
In the grid view set the attribute to RowStyle-CssClass=”WrapStyle”
Show xml in div from javascript with collapsable nodes
http://www.levmuchnik.net/Content/ProgrammingTips/WEB/XMLDisplay/DisplayXMLFileWithJavascript.html
How to place the pop up div in center of screen
var scrolledX, scrolledY;
if (self.pageYoffset) {
scrolledX = self.pageXoffset;
scrolledY = self.pageYoffset;
} else if (document.documentElement && document.documentElement.scrollTop) {
scrolledX = document.documentElement.scrollLeft;
scrolledY = document.documentElement.scrollTop;
} else if (document.body) {
scrolledX = document.body.scrollLeft;
scrolledY = document.body.scrollTop;
}
// Next, determine the coordinates of the center of browser’s window
var centerX, centerY;
if (self.innerHeight) {
centerX = self.innerWidth;
centerY = self.innerHeight;
} else if (document.documentElement && document.documentElement.clientHeight) {
centerX = document.documentElement.clientWidth;
centerY = document.documentElement.clientHeight;
} else if (document.body) {
centerX = document.body.clientWidth;
centerY = document.body.clientHeight;
}
// Xwidth is the width of the div, Yheight is the height of the
// div passed as arguments to the function:
var leftoffset = scrolledX + (centerX – document.getElementById(‘layer1′).offsetWidth) / 2;
var topoffset = scrolledY + (centerY – document.getElementById(‘layer1′).offsetHeight) / 2;
// The initial width and height of the div can be set in the
// style sheet with display:none; divid is passed as an argument to // the function
var o = document.getElementById(‘layer1′);
var r = o.style;
r.position = ‘absolute’;
r.top = topoffset + ‘px’;
r.left = leftoffset + ‘px’;
r.display = “block”;
wrat text in div(not word wrap, wrap text)
include the div in another div like below and apply style like below
<div>
<div id=”content-sidebar”>
BLALALALALLAAL
</div>
</div>
css for div
#content-sidebar {
display: block;
float: right;
width: 270px;
height: 400px;
border: 1px solid red;
}
-
Recent
- Microsoft.BizTalk.ExplorerOM.dll is different from version to version
- Using EXSLT in BizTalk
- For loop in xslt
- Reset Outlook Connection
- Validate incoming message in xml default pipeline
- Biztalk orchestration patterns
- Grouping in xslt
- why do we need to call pipeline from orchestration and how do we do it?
- BizTalk Aggregation Pattern for Large Batches
- Get Uniques values from a list through XSLT
- Virtual PC console not showing up
- Directly querying the BizTalk database for suspended messages
-
Links
-
Archives
- May 2012 (1)
- January 2012 (2)
- November 2011 (1)
- July 2011 (3)
- June 2011 (12)
- May 2011 (1)
- April 2011 (1)
- March 2011 (1)
- November 2010 (1)
- October 2010 (10)
- September 2010 (7)
- July 2010 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS