We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Datalist inside

Thread ID:





124753 Jun 21,2016 12:24 PM UTC Jun 28,2016 08:31 AM UTC JavaScript 3
Tags: ejGrid
Hrvoje Voda
Asked On June 21, 2016 12:24 PM UTC

I'm using this code to get images..

  <asp:DataList ID ="dlImages" runat ="server" RepeatDirection="Horizontal" RepeatColumns="5">
                                                <asp:Image Width="50" Height ="50" ID="Image1" ImageUrl='<%# Bind("Name", "~/_COMMON/Images/UMA/{0}") %>' runat="server" />
                                                <br />
                                                <asp:HyperLink ID="HyperLink1" Text='<%# Bind("Name") %>' NavigateUrl='<%# Bind("Name", "~/_COMMON/Images/UMA/{0}") %>' runat="server"/>

It works fine, but when i put tab around it, i keep getting an error:
Additional information: Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.

I don't understand what it has to do with tab control?!

Dhivyalakshmi Thirumurugan [Syncfusion]
Replied On June 24, 2016 01:00 PM UTC

Hi Hrvoje, 

Thanks for contacting Syncfusion support. 

The reported issue  “Datalist inside Tab control” is a known issue and it has been fixed and included in 2016 Volume 2 release v14.2.0.26  which is rolled out and now it is available for download under the following link. 

Please let us know if u have any queries. 


Hrvoje Voda
Replied On June 27, 2016 07:33 AM UTC

Now I'm getting an error for Grid control:

error BC30560: 'Grid' is ambiguous in the namespace 'Syncfusion.JavaScript.Web'. ---> System.Web.HttpCompileException (0x80004005): 

I'm using this property in code behind:

 Public Property Grid() As Syncfusion.JavaScript.Web.Grid
            Return grd
        End Get
        Set(ByVal value As Syncfusion.JavaScript.Web.Grid)
            grd = value
        End Set
    End Property

Abinaya Subbiah [Syncfusion]
Replied On June 28, 2016 08:31 AM UTC

Hi Hrvoje, 

The reported issue has occurred due to mismatching of DLL version in sample. Refer the DLL’s which are corresponding to .Net Framework version and check the ‘bin’ folder to know which DLL is referred in sample. Refer to the following table for DLL reference.   
 .Net Frame Work Version   
DLL Reference   
Please follow the below steps:   
1.      Open the Syncfusion Essential Studio and click on Explore sample.   
2.      Click on samples and open web folder, you will get the bin folder inside.   
3.      Check the version of DLL inside the bin folder.   
DLL version should match the frame work version that you have used. And also, please check the webconfig file in your sample.   
All the assemblies referred inside the webconfig file should match your .NET framework.   
Abinaya S   


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon