Before (this is to align the table itself, NOT the text inside)
<table align=right>
<tr>
<td>asdf
</td>
</tr>
</table>
After editing with 2008.3 1125, it aligns the text inside right and the table itself is not aligned to the right.
<table style="text-align: right">
<tbody>
<tr>
<td>asdf</td>
</tr>
</tbody>
</table>
Is this issue fixed in mid January release (2008.3 1314) ?
I see this item in the Release History of 2008.3 1314:
Please let me know.
Thanks, Lakshman

| <MasterTableView> |
| <detailtables> |
| <Gridtableview> |
| <columns> |
| <gridboundcolumn></gridboundcolumn> |
| <gridboundcolumn></gridboundcolumn> |
| <gridboundcolumn></gridboundcolumn> |
| How to insert more columns here, using the code behind? |
| <columns> |
| <gridtableview> |
| </detailtables> |
| <columns>......</columns> |
| <MastertableView> |
| GridBoundColumn boundColumn; |
| boundColumn = new GridBoundColumn(); |
| RadGrid1.MasterTableView.Columns.Add(boundColumn); |
| boundColumn.DataField = "valor"; |
| boundColumn.HeaderText = "Valor"; |
| boundColumn.UniqueName = "valor"; |
| boundColumn.DataFormatString = "{0:R$###,###.##}"; |
Hello,
I have one problem regarding changing the Index of the Dropdownlist.
I have one Asp:Dropdownlist. And on the change of the Index of the dropdownlist, I am using Rad - Loading Panel. And according the field selected from the dropdownlist, my other controls like Textbox, Radiobutton & Date Pickers are being visible and Invisible.
But the prolem is the loading panel is seen along with the control which is already seen right now.
My requirement is when I change the value in the dropdownlist, the loading panel only should be visible and after the loading panel disappers, the controls should appear. How can I do this.
| [DefaultProperty("Text")] | |
| [ToolboxData("<{0}:KnowledgeBaseTree runat=server></{0}:KnowledgeBaseTree>")] | |
| public class KnowledgeBaseTree : WebControl, ICallbackEventHandler | |
| { | |
| // ... snip ... | |
| protected override void CreateChildControls() | |
| { | |
| // ... snip ... | |
| Controls.Add(BuildContentTreeView(baseUrl,session)); | |
| } | |
| private RadTreeView BuildContentTreeView(string baseUrl, ISession session) | |
| { | |
| // ... snip ... | |
| RadTreeView radTreeView = new RadTreeView(); | |
| radTreeView.NodeExpand += new RadTreeViewEventHandler(radTreeView_NodeExpand); | |
| radTreeView.ID = "kbTreeView"; | |
| IPost[] posts = _cachedBinder.GetRootPosts(null, TimeSpan.Zero); | |
| foreach (IPost post in posts) | |
| { | |
| // ... snip ... | |
| RadTreeNode radTreeNode = new RadTreeNode(post.Title, post.ID.ToString(), postUrl + ".aspx"); | |
| } | |
| return radTreeView; | |
| } | |
| void radTreeView_NodeExpand(object sender, RadTreeNodeEventArgs e) | |
| { | |
| Guid postId = new Guid(e.Node.Value); | |
| // ... snip ... | |
| // get child nodes | |
| IPost[] childPosts = selectedPost.GetChildPosts(null, TimeSpan.Zero); | |
| foreach (IPost childPost in childPosts) | |
| { | |
| string childPostUrl = Path.Combine(basePostUrl, childPost.UrlKey); | |
| RadTreeNode childTreeNode = new RadTreeNode(childPost.Title, childPost.ID.ToString(), childPostUrl + ".aspx"); | |
| childTreeNode.ExpandMode = TreeNodeExpandMode.ServerSideCallBack; | |
| childTreeNode.Nodes.Add(childTreeNode); | |
| } | |
| } | |
| } | |
i would like to develop a hierarchical grid view programmatically. The firstrow(masterTableview) im adding it at design time.
Im doing that using the code below, but its not adding the griddesignview(children for the first row) Does anyone see whats wrong with the code im using here:
Master.ParentlocationID is matched to TableView.LocationID, im also using a dataset as my datasource.
adapter.Fill(dsData);
GridTableView tableSubLocation = new GridTableView(rdgLocation);
rdgLocation.MasterTableView.DetailTables.Add(tableSubLocation);
tableSubLocation.DataSource = dsData;
tableSubLocation.Width =
Unit.Percentage(100);
GridRelationFields relationFields = new GridRelationFields();
tableSubLocation.ParentTableRelation.Add(relationFields);
relationFields.MasterKeyField =
"LocationID";
relationFields.DetailKeyField =
"ParentLocationID";
GridBoundColumn boundColumn;
boundColumn =
new GridBoundColumn();
tableSubLocation.Columns.Add(boundColumn);
boundColumn.DataField =
"LocationID";
boundColumn.HeaderText =
"LocationID";
boundColumn =
new GridBoundColumn();
tableSubLocation.Columns.Add(boundColumn);
boundColumn.DataField =
"Location";
boundColumn.HeaderText =
"Location";