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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Datalist inside

Thread ID:

Created:

Updated:

Platform:

Replies:

124753 Jun 21,2016 12:24 PM UTC Jun 28,2016 08:31 AM UTC JavaScript 3
loading
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">
                                             <ItemTemplate>
                                                <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"/>
                                            </ItemTemplate>
   </asp:DataList>               

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. 

Regards, 
Dhivyalakshmi. 


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
        Get
            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   
4.0   
14.2400.0.26   
4.5   
14.2450.0.26   
4.5.1   
14.2451.0.26   
  
  
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.   
  
Regards,   
Abinaya S   


CONFIRMATION

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.

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

;