Hello,
when I resize the raddock to fit it's contents (usually the radDock's width is increaed; the radDock contains a radGrid), the title bar doesn't resize properly.
The width changes correctly, but the "drag zone" doesn't get wider.
For example if the radDock's width is increased from 100px to 200px, the left half of the title can be used to drag the radDock (the curser changes to the move icon when hovering) but when I hover the right part of the title it doesn't work.
After dragging the radDock a bit using the left half of the title, the right part also works correctly.
What can I do about this issue?
The resizing is done client side using the set_width property of the rad dock. The function is called by using:
I also tried using the OnClientInitialize event, but when using that the whole title has no "drag zone" after resizing. Also the title text is missing. But when the RadDock is opened a second time everything works.
Thanks!
Edit: I just checked something and the problem in OnClientInitialize is the same as in the load event handler. I just set the width to 0 before. It seems that when the radDock is opened and I set the width as described above, the value is not used until the radDock is opened the next time.
when I resize the raddock to fit it's contents (usually the radDock's width is increaed; the radDock contains a radGrid), the title bar doesn't resize properly.
The width changes correctly, but the "drag zone" doesn't get wider.
For example if the radDock's width is increased from 100px to 200px, the left half of the title can be used to drag the radDock (the curser changes to the move icon when hovering) but when I hover the right part of the title it doesn't work.
After dragging the radDock a bit using the left half of the title, the right part also works correctly.
What can I do about this issue?
The resizing is done client side using the set_width property of the rad dock. The function is called by using:
Sys.Application.add_load(initializeRadDockResources);
I also tried using the OnClientInitialize event, but when using that the whole title has no "drag zone" after resizing. Also the title text is missing. But when the RadDock is opened a second time everything works.
Thanks!
Edit: I just checked something and the problem in OnClientInitialize is the same as in the load event handler. I just set the width to 0 before. It seems that when the radDock is opened and I set the width as described above, the value is not used until the radDock is opened the next time.