[CLOSED] DataRepeater responsive and itemtemplate

Closed
0
0

Does the datarepeater support responsive profiles and how can I set the itemtemplate size when in other responsive profile?

  • You must to post comments
0
0

Thanks.

If the issue is:

drCatalog.ItemTemplate.ClientSize = new Size(300, 300);

You should use:

drCatalog.ItemSize = new Size(300, 300);

 

 

  • eyal Katz
    The issue that the responsive profile is not working and when I try to check it in mobile mode it’s still showing the datarepeater in default mode
  • Luca (ITG)
    I don’t understand what is not working. Do you mean the event frmCatalog_ResponsiveProfileChanged is not fired? Or that this.Width is not <= 450 as you check in the code? How do you check? Just using Chrome dev tools without rereshing? It all works for me but you need to use either a real mobile or use devtools and refresh. You should also add a ClientProfiles.json and change the threshold values since some mobiles are wider than the values in the built-in file.
  • You must to post comments
0
0

Attached

Attachment
  • You must to post comments
0
0

Yes it does. The responsive properties are cloned together with the other clonable properties. You can always override the cloning process using the ItemCloning or ItemCloned events.

  • eyal Katz
    The reason I asked is becuse it does not seem to work and the itemtemplate changes it’s height according to the last profile I changed it
  • Luca (ITG)
    Send a small test case.
  • You must to post comments
Showing 3 results