
I have a client that would like to see a drop shadow with the raddock pieces. Nothing fancy, just an offset black line on the top and right edges of the panel (like a shadow). I can do this with divs and offsets, however I can't figure out how to do it with a RadDock item. The divs don't follow the dock. Here's the effect I'm looking for:
The CSS:
| <style> |
| body { |
| margin: 0px; |
| padding: 20px; |
| font-family: verdana; |
| font-size: 12px; |
| background-color: #FFFFFF; |
| } |
| #shadow-container { |
| position: relative; |
| left: 3px; |
| top: 3px; |
| margin-right: 3px; |
| margin-bottom: 3px; |
| } |
| #shadow-container .shadow2, |
| #shadow-container .shadow3, |
| #shadow-container .container { |
| position: relative; |
| left: -3px; |
| bottombottom: -3px; |
| } |
| #shadow-container .shadow1 { |
| /*background: #F1F0F1;*/ |
| background-color: #808080; |
| } |
| #shadow-container .shadow2 { |
| background: #DBDADB; |
| } |
| #shadow-container .shadow3 { |
| background: #B8B6B8; |
| } |
| #shadow-container .container { |
| background: #ffffff; |
| border: 1px solid #848284; |
| padding: 10px; |
| } |
| </style> |
The HTML:
| <div id="shadow-container"> |
| <div class="shadow1"> |
| <div class="container"> |
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. |
| </div> |
| </div> |
| </div> |
joe


GridControl.GetCellByColumnUniqueName(selectedRow, thefirstTextBoxColumnName).innerHTML
GridControl.GetCellByColumnUniqueName(selectedRow, thesecondTextBoxColumnName).innerHTML
GridControl.GetCellByColumnUniqueName(selectedRow, thethirdTextBoxColumnName).innerHTML
Firstly, are there any ways of extracting only values from innerHTML strings without having to create a complex string manipulation to get only values?
Secondly, how do I assign a value to the first textbox?
If I do
GridControl.GetCellByColumnUniqueName(selectedRow, thefirstTextBoxColumnName).innerHTML = 1 + 2;
the column becomes label rather than staying in input textbox.
Thanks in advance,
Toby
OnClientNodeExpanded event.
<
script language="javascript" type="text/javascript">
function ApplyCSS(sender, eventArgs)
{
////var treeView = $find("<%=tvCategories.ClientID%>");
//var selectedNode = treeView.get_selectedNode();
var node =eventArgs.get_node();
alert(node.get_nodes().get_count());
if(node.get_nodes().get_count()>0)
{
for(var i = 0; i < node.get_nodes().get_count(); i++){
//WHAT SHOULD BE THE CODE HERE?
i tried but gives error.
node.get_nodes().getNode(i).style.cursor = 'hand'; ;
}
}
}
regards,
Parimal