This is a migrated thread and some comments may be shown as answers.

RadGrid " " error after installing Telerik 2011 Q2

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Silver
Top achievements
Rank 1
Silver asked on 13 Sep 2011, 10:40 AM
hi, could someone please help me
i have following codes on my project (doesn't have any problems with Telerik 2011 Q1)
but since i installed Telerik 2011 Q2 my radgrid kept displaying "test " instead of "test"
where did the " " came from? i didn't change even a single word there

ASPX

<telerik:RadGrid ID="grdUser" runat="server" AutoGenerateColumns="False"
    GridLines="None" AllowSorting="True" CellSpacing="0" Width="700px">
    <ClientSettings>
        <Selecting AllowRowSelect="True" />
        <ClientEvents OnRowMouseOver="RowMouseOver" />
    </ClientSettings>
    <MasterTableView EditMode="PopUp" AllowAutomaticInserts="True"
        CommandItemDisplay="Top" DataKeyNames="UserID">
        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
        <Columns>
            <telerik:GridBoundColumn DataField="UserID" HeaderText="ID User"
                UniqueName="UserID" FilterControlAltText="Filter UserID column"
                ForceExtractValue="Always">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="UserName"
                FilterControlAltText="Filter UserName column" HeaderText="Nama User"
                UniqueName="UserName" ForceExtractValue="Always">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Password" HeaderText="Password"
                UniqueName="Password" FilterControlAltText="Filter Password column"
                ForceExtractValue="Always" Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridDropDownColumn DataField="AuthorityID"
                FilterControlAltText="Filter AuthorityID column" HeaderText="Otoritas"
                UniqueName="AuthorityID" ForceExtractValue="Always">
            </telerik:GridDropDownColumn>
            <telerik:GridEditCommandColumn ButtonType="ImageButton"
                FilterControlAltText="Filter EditCommandColumn column">
                <ItemStyle Width="12px" />
            </telerik:GridEditCommandColumn>
            <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete"
                ConfirmDialogType="RadWindow" ConfirmText="Hapus Data?"
                FilterControlAltText="Filter Delete column" UniqueName="Delete">
                <ItemStyle Width="12px" />
            </telerik:GridButtonColumn>
        </Columns>
        <EditFormSettings>
            <EditColumn UniqueName="EditCommandColumn1">
            </EditColumn>
            <FormTemplate>
                <br />
            </FormTemplate>
        </EditFormSettings>
    </MasterTableView>
    <FilterMenu EnableImageSprites="False"></FilterMenu>
    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
</telerik:RadGrid>

VB

Protected Sub grdUser_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles grdUser.ItemDataBound
    If TypeOf e.Item Is GridDataItem AndAlso Not e.Item.IsInEditMode Then
        Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
        Dim litrlContrl As Literal = DirectCast(item("AuthorityID").Controls(0), Literal)
        litrlContrl.Text = "test"
    End If
End Sub

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 16 Sep 2011, 08:20 AM
Hi Silver,

Indeed, there was such an issue with the Q2 2011 release. However it is already fixed. I suggest that you wait download Q2 2011 SP1 and use it instead.

Best wishes,
Iana Tsolova
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
Tags
Grid
Asked by
Silver
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or