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

[Solved] datepicker inside panelbar cause problems

4 Answers 45 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Grzegorz Żydek
Top achievements
Rank 1
Grzegorz Żydek asked on 13 May 2010, 01:56 PM
Hi,

I think that I've found some bug in datepicker or panelbar.

When I put datepicker inside panelbar, panel bar collapsing when you click on calendar icon.

Here is my code:
    <% Html.Telerik().PanelBar() 
           .Name("PanelBar") 
           .Items(items => { 
               items.Add() 
                    .Expanded((bool)ViewData["showFilter"]) 
                    .Text("Filtry") 
                    .Content(() => {  
                    %> 
                        <% Html.BeginForm(null, null, FormMethod.Get);%> 
                        <input type="hidden" value="true" name="filter" /> 
                        <div class="filter"
                            <ul>                             
                                <li> 
                                    <label for="dataZamOd">Data zamówienia od</label> <%= Html.Telerik().DatePicker().Name("dataZamOd").Value(DateTime.Today.AddMonths(-1)) %> 
                                    do <%= Html.Telerik().DatePicker().Name("dataZamDo").Value(DateTime.Today) %> 
                                </li> 
                            </ul> 
                            <%= Html.ActionLink("Wyczyść filtr", null) %> <input type="submit" value="Zastosuj" /> 
                        </div>                         
                        <% Html.EndForm(); %> 
                    <%  
                    }); 
       }).Render(); 
    %>     
 

Is there a solution for this issue?

Cheers,. Grzesiek


4 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 13 May 2010, 03:42 PM
Hi Grzegorz Żydek,

Unfortunately I could not reproduce the depicted issue. I have attached the test project which I have used to replicate the issue. Could you please review it and let me know if I am missing something ?
The project is attached to this message.

Regards,
Georgi Krustev
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
Grzegorz Żydek
Top achievements
Rank 1
answered on 13 May 2010, 03:53 PM
Hi,

Can you check this issue with .net mvc 1.0

Thanks in advance, Grzesiek
0
Georgi Krustev
Telerik team
answered on 13 May 2010, 04:12 PM
Hello Grzegorz Żydek,

I have attached ASP.NET MVC 1.0 test project, which I used to replicate the issue. Check it and let me know what your findings are.

Note that this version is later then SP1 (2010.1.416). It includes some other fixes related with DatePicker.

Greetings,
Georgi Krustev
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
Grzegorz Żydek
Top achievements
Rank 1
answered on 13 May 2010, 04:27 PM
Everything looks fine with new telerik mvc controls version.

Thank you very much,
Grzesiek
Tags
Date/Time Pickers
Asked by
Grzegorz Żydek
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Grzegorz Żydek
Top achievements
Rank 1
Share this question
or