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

control disappearing

2 Answers 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
CsHARPMan
Top achievements
Rank 1
CsHARPMan asked on 20 Nov 2008, 02:27 AM
Hi,

I'm using latest version of RadGrid with a customized column with a drop down filter, just like the Google-Like filtering example.

Currently, I have the grid to get data from web service and it works really good and fast.  However, if the client OnCommand event gets fired and I bind the grid again (all client side),  my customized filter dropdown would disappear.  Note, there's no post back on the dropdown.  However, if I do make the dropdown to postback, my client side pageLoad() function gets called but it wouldn't be able to find the rad grid control.

Please help!!

Thanks,

Vic

2 Answers, 1 is accepted

Sort by
0
CsHARPMan
Top achievements
Rank 1
answered on 20 Nov 2008, 03:59 AM
I inspected the html code after a rowCommand databound, it looks like my drop down is still there.  However, it was added a css style "display:none;" Is this a bug? Or it was intended to hide all other controls besides the defualt textbox and filter icon?


Here's my temporary solution using jQuery. 
$('select').css('display', '');

 

 

0
Sebastian
Telerik team
answered on 24 Nov 2008, 01:05 PM
Hello Victor,

Unfortunately I was not able to determine the exact reason for the issue you are currently facing in my local tests. To progress in our investigation, can you please provide a live url where this erroneous behavior can be observed or prepare a working subset of your project and send it enclosed to a formal support ticket? Thus we will be able to advance in our research and will do everything possible to provide up-to-the-point answer/solution for your case.

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
CsHARPMan
Top achievements
Rank 1
Answers by
CsHARPMan
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or