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

RadGrid TemplateColumn Error

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Balwant Pratap
Top achievements
Rank 1
Balwant Pratap asked on 19 Nov 2010, 07:58 AM
Hello,
        I am using Telerik control(RadGrid) in sharepoint2007. getting  the Error when i am using GridTemplateColumn

 

        error is <%#Eval("Comments")%> and <%#Bind("Comments")%> is not working in sharepoint2007. 

<
telerik:GridTemplateColumn HeaderText="Comments" DataField="Comments" SortExpression="Comments"

 

 

UniqueName="Comments" AllowFiltering="false">

 

 

<ItemTemplate>

 

<%

#Eval("Comments") %>

 

 

</ItemTemplate>

 

 

<EditItemTemplate>

 

 

<telerik:RadTextBox ID="txtComments" Text='<%#Bind("Comments") %>' Visible="true"

 

 

runat="server" TextMode="MultiLine" Width="97%">

 

 

</telerik:RadTextBox>

 

 

</EditItemTemplate>

 

 

</telerik:GridTemplateColumn>

Any idea about this problem?

 

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 22 Nov 2010, 12:38 PM
Hi Balwant,

Could you paste your complete aspx (.ascx) and code-behind using the CODE FORMATTER tool of the ticket editor, give the exact error message  you are getting and explain in greater detail how you are loading the grid into SP 2007 - using a web part, a user control into an aspx, etc.

Regards,
Tsvetoslav
the Telerik team
Browse the vast support resources we have to jumpstart 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
Balwant Pratap
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or