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

radcolorpicker is very slow in loading

3 Answers 58 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Priya
Top achievements
Rank 1
Priya asked on 06 Jan 2009, 04:43 AM
Sir,

I placed a radcolorpicker in grid..but when loading the page the colorpickers appear outside the grid and when i click inside the grid row,,then only the colorpicker of tht row is appearing inside tht row

thanks in advance

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 09 Jan 2009, 09:12 AM
Hello Priya,

I prepared a sample demo based on the provided information in order to reproduce the described problem but unfortunately to no avail. I tested the demo both under IE7 and FF3 because you did not provide information about the used browser and the test was performed with the 2008.3 1125 version of RadControls as noted. I also did not know your exact configuration and I tested both with ShowIcon set to true and false for the RadColorPicker but in all the described cases there was not either a bad performance or layout problems.

This being said, I need to examine your exact code and for your convenience I attached my test demo to the thread - it is fully working, you should just modify it in order to replicate the issue. Once you succeed, please open a new support ticket and send me the modified demo along with detailed reproduction steps and information about the browser. It will be also helpful to provide more information about the way you tested the performance with the pickers and without them and what are the results of your tests.

Best wishes,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Priya
Top achievements
Rank 1
answered on 09 Jan 2009, 09:30 AM
Thanks alot for ur reply

The problem I mentioned will come only when I set the Scrolling property of grid to TRUE
ie
 <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True"   > 
                <Selecting AllowRowSelect="True"  /> 
                <Scrolling AllowScroll="true" UseStaticHeaders="True" SaveScrollPosition="false"></Scrolling> 
            </ClientSettings> 
when i removed the scrolling,everythg is wrkg fine
Thanks
0
Svetlina Anati
Telerik team
answered on 12 Jan 2009, 12:49 PM
Hi Priya,

I added the mentioned settings to the grid and I was able to reproduce a problem. However, I am not completely sure whether it is the same problem you report - on my side after I added the scrolling, one part of the color pickers was rendered in the grid's boundaries and the rest - outside it.

The described problem is due to the fact that the RadColorPicker is absolutely positioned when its ShowIcon property is set to true. To solve the problem I suggest you set the position attribute of the element which generates the scrollbars to relative, e.g:

  <style type="text/css">  
    #RadGrid1_GridData  
    {  
       positionrelative;  
    }  
        </style> 

in the demo project I last sent you.


You can also take a look at this KB article which discusses a similar situation.

For your convenience I attached the modified demo. In case this is not what you mean, please provide detailed explanations and some screenshots.


Greetings,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ColorPicker
Asked by
Priya
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Priya
Top achievements
Rank 1
Share this question
or