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

RadMonthYearPicker inside a RadGrid (TemplateColumn) - seems strange

4 Answers 53 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Lukasz Kalbarczyk
Top achievements
Rank 1
Lukasz Kalbarczyk asked on 03 Oct 2011, 04:54 PM



<telerik:GridTemplateColumn DataField="Okres_Do"
     SortExpression="Okres_Do"
    UniqueName="Okres_Do" HeaderText="Okres do" HeaderStyle-Width="200px">
    <ItemTemplate>
        <%# Eval("Okres_Do", "{0:MM/yyyy}") %>
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadMonthYearPicker ID="OkresDoMonthYearPicker" Runat="server" DbSelectedDate='<%#Bind("Okres_Do") %>' DateInput-Width="120px"  CssClass="OkresMYPicker"></telerik:RadMonthYearPicker>
    </EditItemTemplate>
</telerik:GridTemplateColumn>


I have a RadGrid with this TemplateColumn inside and a MonthYearPicker inside.
But the control seems strange: has any random width, not theDateInput-Width wchich I set up.

Only in IE8.

4 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 06 Oct 2011, 10:14 AM
Hello Lukasz,

I could not reproduce the described issue. I am sending you a simple example, please check it out and let me know what differs in your case. Also could you please verify that you do not have any custom styles which change the DateInput-Width. You could inspect the rendered html and all styles with Firebug (in Firefox) or IE developer tool(into IE).

Looking forward for your reply.

Regards,
Radoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Lukasz Kalbarczyk
Top achievements
Rank 1
answered on 06 Oct 2011, 11:21 AM
It is connected with:
1) AJAX only
2) first postback only
3) IE8 only
4) My MasterPage :( only

The control (textbox: riTextBox riEnabled) gets the width 56px. But WHY?
I should try to find the element in my masterpage which it depends :(
0
Radoslav
Telerik team
answered on 10 Oct 2011, 08:13 AM
Hi Lukasz,

I still could not reproduce the described issue. Could you please send us a small runnable example which demonstrates the described issue. Thus we will be able to gather more details about your scenario, debug the application and investigate the problem.

Looking forward for your reply.

All the best,
Radoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Lukasz Kalbarczyk
Top achievements
Rank 1
answered on 13 Oct 2011, 11:52 AM
I cannot reproduce it fast as a part of my application :/
I'll try to find the control it depends of.
Tags
Calendar
Asked by
Lukasz Kalbarczyk
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Lukasz Kalbarczyk
Top achievements
Rank 1
Share this question
or