Few Issues with below xml:
| <?xml version="1.0" encoding="utf-8"?> |
| <Results> |
| <Products xmlns=""> |
| <DesignDate>06/15/2005</DesignDate> |
| <SoldDate>06/30/2006</SoldDate> |
| <Product_No.>7289</Product_No.> |
| <Customer>Thomas</Customer> |
| <Product_Type>Accessories</Product_Type> |
| <Price_Today>380</Price_Today> |
| </Products> |
| <Products xmlns=""> |
| <DesignDate>12/14/2004</DesignDate> |
| <SoldDate></SoldDate> |
| <Product_No.>3136</Product_No.> |
| <Customer>Karie</Customer> |
| <Product_Type>Electronics</Product_Type> |
| <Price_Today>333</Price_Today> |
| </Products> |
| </Results> |
1) How to bind this xml Using DOM Model to RadGrid from serverside? I don't want to pull xmldatasource and gridview with columns on FRONT end(aspx).
2) How to dynamically bind the nodes DesignDate, SoldDate....as columns to RadGrid with Data? b'coz there can be many columns with different column names and I don't to specify each by saying: HeaderText="DesignDate". I would like to generate this dynamically from serverside.
Would be great if provided with a code to make this working.
| protected void Review_RadToolTipManager_AjaxUpdate(object sender, ToolTipUpdateEventArgs e) |
| { |
| Control ctrl = Page.LoadControl("Quote_Detail.ascx"); |
| e.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl); |
| ((Label)ctrl.FindControl("lblQuoteID")).Text = e.Value; |
| } |
| protected void Review_RadGrid_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| if (e.Item is GridDataItem) |
| { |
| Review_RadToolTipManager.TargetControls.Add(e.Item.ClientID, ((DataRowView)e.Item.DataItem)["QuoteID"].ToString(), true); |
| } |
| } |
RadMenu js scripts automatically set menu items style.width to terrible 600+px in my vertical menu. This behaviour only seen in IE8 and Opera 10; in FF 3.6 links widths are computed correctly (based on parent li element css style as ".RadMenu_Default .rmVertical li { width: 223px;}" in external css file, i guess). Looks like this value - 600+px - is based on the most wide link text. Such links - with lots of text inside - are expected to be shown like normal text ("white-space: normal"), in theirs 223px.
If I just delete link's "style" property in Dragonfly (FireBug analogue for Opera), that menu item gets desired view.
The question is - is there a way to turn off automatic width adjusement for link's? Or some other method to solve the problem.
hanks in advance.
| <telerik:RadListView AllowNaturalSort="true" ID="RadListView1" runat="server" Skin="Windows7" |
| AllowPaging="True" onneeddatasource="RadListView1_NeedDataSource"> |
| protected void RadListView1_NeedDataSource(object sender, RadListViewNeedDataSourceEventArgs e) |
| { |
| getIAListData(); |
| } |