hello,
we are using q3 2009 version with the hotfix.
the last item in the menu has sub items but somehow the user gets this error while mouseovering the item and waiting for the subitems to appear.
if i move the last item to another location in the menu,the error does not appear.
if the last item in the menu does not have sub items,the error does not appear.
regards
Hi,
I use the following code to retrieve data from RadGrid's cells:
| Dim i as integer = 1 |
| Dim CellValue as New String |
| CellValue = RadGrid1.MasterTableView.Items(i).Item("ColumnUniqueName").Text |
It works well as long as the column type is GridBoundColumn. But, when convert the column to GridTemplateColumn the above code returns blank value.
How can I retrieve data from a RadGrid when the RadGrid's column is a GridTemplateColumn?
Thanks,
Al
| <telerik:RadGrid ShowGroupPanel="true" AllowPaging="true" PageSize="10" AutoGenerateColumns="false" Width="700" ID="RadGrid1" runat="server"> |
| <MasterTableView TableLayout="Fixed" > |
| <ItemTemplate> |
| <%# Eval("Subject") %> |
| <%# Eval("PostDate")%> |
| <%# Eval("Body")%> |
| <%# Eval("TotalViews")%> |
| </ItemTemplate> |
| </MasterTableView> |
| </telerik:RadGrid> |
Protected Sub rgListingWithImages_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rgListingWithImages.ItemCommand
'1. Check which alpha character was selected and then rebind the data to the grid
'2. Redirect to another page when SalesID, Email, Notes or PwdReset is selected
Dim value As String = Nothing
Select Case e.CommandName
Case ("DeleteRow")
Dim myItem As GridDataItem = DirectCast(e.Item, GridDataItem)
Dim CustID As TableCell = myItem("CustomerID")
Dim OrdID As TableCell = myItem("OrderID")
Dim ListNo As TableCell = myItem("BusinessListingNumber")
'Delete specific listing row with slides WS = with slides
Dim BusList As New BusinessListingsPlanAndPricing
BusList.DeleteOneRowInBusinessListings(CustID.Text, OrdID.Text,
CInt(ListNo.Text), "WS")
'Display listings
LoadListingsGridWithSlides()
'Price
CalculateBusinessCostAndDisplay()
LoadSlidesGrid()
Exit Select
Case ("Select")
Exit Select
End Select
End Sub
| switch (args.get_commandName()) { |
| case 'Sort': // this is to replicate 'allownaturalsorting=false' |
| if (sender.get_masterTableView().get_sortExpressions().toString() == '' && args.get_commandArgument() != '') { |
| var exp = new Telerik.Web.UI.GridSortExpression(); |
| exp.set_sortOrder(Telerik.Web.UI.GridSortOrder.Ascending); |
| exp.set_fieldName(args.get_commandArgument()); |
| var id1 = String.format("{0}__{1}__SortAsc", sender.get_masterTableView().get_id(), args.get_commandArgument()); |
| var id2 = String.format("{0}__{1}__SortDesc", sender.get_masterTableView().get_id(), args.get_commandArgument()); |
| if ($get(id1)) { $get(id1).style.display = ""; } |
| if ($get(id2)) { $get(id2).style.display = "none"; } |
| sender.get_masterTableView().get_sortExpressions().add(exp); |
| } |
| break; |
| } |
| bindSearchData(sender); |