or
| /// <summary> |
| /// Get a Rad Tab Layout 1 |
| /// </summary> |
| /// <param name="zone1"></param> |
| /// <param name="zone2"></param> |
| /// <param name="zone3"></param> |
| /// <param name="zone4"></param> |
| /// <param name="zone5"></param> |
| /// <returns>A table with RadDockZones oriented 1 Cell row, then 3 column rows then a single cell row</returns> |
| public static Table GetLayout1(RadDockZone zone1, RadDockZone zone2, RadDockZone zone3, RadDockZone zone4, RadDockZone zone5) |
| { |
| Table table = new Table(); |
| TableRow tr1 = new TableRow(); |
| TableRow tr2 = new TableRow(); |
| TableRow tr3 = new TableRow(); |
| TableCell td1 = new TableCell(); |
| TableCell td2 = new TableCell(); |
| TableCell td3 = new TableCell(); |
| TableCell td4 = new TableCell(); |
| TableCell td5 = new TableCell(); |
| td1.Controls.Add(zone1); |
| td2.Controls.Add(zone2); |
| td3.Controls.Add(zone3); |
| td4.Controls.Add(zone4); |
| td5.Controls.Add(zone5); |
| tr1.Controls.Add(td1); |
| tr2.Controls.Add(td2); |
| tr2.Controls.Add(td3); |
| tr2.Controls.Add(td4); |
| tr3.Controls.Add(td5); |
| table.Controls.Add(tr1); |
| table.Controls.Add(tr2); |
| table.Controls.Add(tr3); |
| table.CellPadding = 0; |
| table.CellSpacing = 0; |
| table.Style["width"] = "100%"; |
| td1.ColumnSpan = 3; |
| td5.ColumnSpan = 3; |
| return table; |
| } |
Hi all,
I created some raddock dynamically, all raddock has two controls, radtoolbar and radeditor, if i change selectedindex in radtoolbar i would like to get radeditor content. How can i make this in client - side?
Thanks
function
OnClientSelectedIndexChanged(sender, eventArgs) {
var index = sender.get_selectedIndex();
var multipage = $find("<%=RadMultiPageParameterValueKind.ClientID %>");
multipage.set_selectedIndex(index);
}
However if the same type of code is called from OnClientLoad event. The $find function returns null.Best regards
Sebastian