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

[Solved] GridDateTimeColumn Not Displaying Popup

4 Answers 178 Views
Grid
This is a migrated thread and some comments may be shown as answers.
utchi
Top achievements
Rank 1
utchi asked on 10 Mar 2010, 03:09 PM
Hi,

I m having multiple GridDateTimeColumn in a radgrid, but i can able to open pop up for single GridDateTimeColumn datetimepicker only when i selecting the date.

If i selected a date from any one of these GridDateTimeColumn, then i cannot open other GridDateTimeColumn (they not open pop up). But it works only in 'Popup' editmode'

Please find the code snippet i have used below,

private GridDateTimeColumn CreateDateGridColumn(string fieldname)     
        {     
               
    
            GridDateTimeColumn DT = new GridDateTimeColumn();     
            DT.UniqueName = fieldname;     
            DT.HeaderText = "fieldname";     
            DT.PickerType = GridDateTimeColumnPickerType.DatePicker;     
            DT.DataFormatString = "{0:MM/dd/yyyy}";     
            DT.ColumnEditorID = fieldname + "Editor";     
            DT.DataField = fieldname;     
            DT.SortExpression = fieldname;     
            DT.ItemStyle.Width = Unit.Pixel(120);     
            DT.FilterControlWidth = Unit.Pixel(50);     
              
    
            DT.EmptyDataText = " ";     
            return DT;     
        }  

Please give any suggestion.

Thanks in advance.

Regards
Maha




4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 10 Mar 2010, 03:53 PM
Hello Maha,

This sounds like the following known issue in the Q3 2009 release:

http://www.telerik.com/community/forums/aspnet-ajax/calendar/2009-q3-raddatepicker-shared-calendars-do-not-work.aspx

Please upgrade or use the provided workaround.

If the problem is caused by something else, please provide a runnable demo.

Kind regards,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
utchi
Top achievements
Rank 1
answered on 11 Mar 2010, 08:06 AM

Hi,

Thanks for ur help.

its working fine when i added that javascript code in aspx.page, but here i have master and content page in my application.

i have radgrid on content page. Could you please tell me where to that javascript code?..

I have tried by adding it in content page, but doesn't work.

 

Give any suggestion.

 

Regards,

Maha

0
Accepted
Dimo
Telerik team
answered on 11 Mar 2010, 01:15 PM
Hello Maha,

It doesn't matter whether you put the code in the master page, the content page, or an external JS file, but the important thing is that the code should be executed after each postback and AJAX request, after the RadGrid client instance has been initialized. You can use the RadGrid's GridCreated client event to call the custom Javascript code (enclose it in some function first).

Greetings,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
utchi
Top achievements
Rank 1
answered on 16 Mar 2010, 09:43 AM
Hi,

Its working now. Thanks for ur help.

Regards
Maha;)
Tags
Grid
Asked by
utchi
Top achievements
Rank 1
Answers by
Dimo
Telerik team
utchi
Top achievements
Rank 1
Share this question
or