Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Changing the language?

$
0
0

Hi Dimitar,

That helps perfectly!!!!Thanks a lot.

And I have one more question-

Still about the color dialog,the target is to hide the icon of the color dialog,it succeeded for this case:

  private void pRadGridView_CellEditorInitialized(object sender, GridViewCellEventArgs e)
        {
            GridColorPickerEditor editor = e.ActiveEditor as GridColorPickerEditor;
            if (editor != null)
            {
                GridColorPickerElement element = editor.EditorElement as GridColorPickerElement;
                RadColorDialog dialog = element.ColorDialog;
                RadColorDialogForm dialogForm = dialog.ColorDialogForm as RadColorDialogForm;               
                dialogForm.ShowIcon = false;
                dialogForm.ShowInTaskbar = false;

            }

    }

while it failed for this case:

 private void pRadGridView_FilterPopupInitialized(object sender, FilterPopupInitializedEventArgs e)
        {
            GridColorPickerEditor editor = e.FilterPopup as GridColorPickerEditor;
            if (editor != null)
            {
                GridColorPickerElement element = editor.EditorElement as GridColorPickerElement;
                RadColorDialog dialog = element.ColorDialog;
                RadColorDialogForm dialogForm = dialog.ColorDialogForm as RadColorDialogForm;
                dialogForm.ShowIcon = false;
                dialogForm.ShowInTaskbar = false;

            }

    }

Is there a way to hide the icon by an easier way?

 

Best Regards,

Peter

 


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>