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

Fluid Control sizing issues

3 Answers 44 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 07 Mar 2011, 06:27 AM
(I'm not to sure if this is the correct forum for this but it seemed the most relevant)


I'm using a FluidControl in a Tile, and I'm noticing some strange behavior when my CONTENT changes size.
Specifically, if the CONTENT resizes (e.g. a textbox that stretches when you keep typing in it), it will stretch the FluidControl.
This will prevent the control from returning to smaller content


Is this something that the FluidControl can fix, or should I be managing my content to prevent this?

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 09 Mar 2011, 02:45 PM
Hi Alex,

This is a very strange issue that we are unable to reproduce in our environment. Could you please check out the attached project and let us know if we are missing something? Basically when you type text in the textbox, the textbox and the rectangle below it resize but this doesn't change the state of the fluid content control(or the tleviewitemstate). You can also modify the project and send it back to us. This will be highly appreciated and this way we could provide a better advice. Thank you for your cooperation.

All the best,
Petar Mladenov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Alex
Top achievements
Rank 1
answered on 10 Mar 2011, 02:54 AM
Hi Petar,

I've tried to reproduce the issue in the given app, but I can not seem to. Further more, I tried to reproduce the scenario in a simpler tileview in my app that is having the issue, and it does not reproduce the issue either.

There are some issues with my full tileview (that is having the content problem) that I will need to resolve before I can upload it back thou. For now I think it is just best to ignore this issue, and I'll revisit it later.



Just incase anyone else is curious thou, this issue was caused when using Automatics content switching, with the thresholds set in code behind. The content it self is a listbox (with a custom style to make it stretch horizontal content). And the listbox's item is just rows of textbox + button, on a horizontal stack pannel.
(The small content is similar to the medium content, except with out the buttons, and the medium and the large content ARE the same thing, i.e. they are set to the same instance of a usercontrol). Also it was on an older q1 2010 version
0
Petar Mladenov
Telerik team
answered on 10 Mar 2011, 09:16 AM
Hello Alex,

I've noticed that you are using the RadControls version from Q1 2010. Could you please check it with newer version ( at least Q3 2010) and let us know if the problem is reproducible again ?

Best wishes,
Petar Mladenov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
TileView
Asked by
Alex
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Alex
Top achievements
Rank 1
Share this question
or