<
radC:ChartSeries DataLabelsColumn="MyColumn" Type="bubble">
</radC:ChartSeries>
|
| var categories = new Categories(); |
| List<Categories> listCategories = categories.GetAllByLanguageId(_languageId); |
| if (listCategories.Count > 0) |
| { |
| RadTreeView1.DataTextField = "Name"; |
| RadTreeView1.DataFieldID = "CategorieId"; |
| RadTreeView1.DataFieldParentID = "CategorieParentId"; |
| RadTreeView1.DataSource = listCategories; |
| RadTreeView1.DataBind(); |
| RadTreeView1.Nodes.Insert(0, MainNode); |
| // bool disabled duplicate function |
| isTreeAlreadyExist = true; |
| } |
| IList<RadTreeNode> allNodes = RadTreeView1.GetAllNodes(); |
| try |
| { |
| for (int i = 0; i < allNodes.Count; i++) |
| { |
| var node = (RadTreeNode) allNodes[i]; |
| if (int.Parse(node.Value) > -2) |
| { |
| int parentId = allNodes.IndexOf(node.ParentNode); |
| int categorieId = 0; |
| if (int.Parse(node.Value) > -1) |
| { |
| categorieId = int.Parse(node.Value); |
| } |
| var categorie = new Categories(categorieId); |
| categorie.Name = node.Text; |
| categorie.CultureId = cultureId; |
| if (parentId > -1) |
| { |
| categorie.CategorieParentId = parentId; |
| } |
| categorie.CategorieId = categorie.AddUpdate(); |
| } |
| } |
| } |
| <asp:TextBox ID="txtName" runat="server" Text="<%# Bind('Name') %>" Width="300px"></asp:TextBox> |
| <asp:RadioButtonList ID="Rblpagetype" runat="server"> |
| <asp:ListItem>Company1</asp:ListItem> |
| <asp:ListItem>Company2</asp:ListItem> |
| <asp:ListItem>Company3</asp:ListItem> |
| </asp:RadioButtonList> |
Why doesnt this work ?
The following script is within an ItemTemplate hence the Container.FindControl..
if (sender.get_id == $find('<%# Container.FindControl("RadComboBox1").ClientID %>').get_id ) {
j = 0;
} else if (sender.get_id == $find('<%# Container.FindControl("RadComboBox2").ClientID %>').get_id) {
j = 1;
} else if (sender.get_id == $find('<%# Container.FindControl("RadComboBox3").ClientID %>').get_id) {
j = 2;
}
From design view adding rad tools, then on the page it wants System.Web.Extensions version 1.6, other controls use version 3.5, the problem is that you can't have both listings in web.config. When that happens the compiler doesn't know which version to use so it fails to build.
This was from the most recent trial download so that may just be the problem, but in any case, how do you deal with this?
|
<
product>
<
controlName>Controls</controlName>
<
radControlName>RadControls</radControlName>
<
firstLetter>C</firstLetter>
<
version>Q2 2008 SP1</version>
<
chmUrl></chmUrl>
<
manualUrl></manualUrl>
<
pdfManualUrl></pdfManualUrl>
</
product>