RadMonthYearPicker inside a RadGrid (TemplateColumn) - seems strange

5 posts, 0 answers
  1. Lukasz Kalbarczyk
    Lukasz Kalbarczyk avatar
    24 posts
    Member since:
    Feb 2010

    Posted 03 Oct 2011 Link to this post




    <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.
  2. Radoslav
    Admin
    Radoslav avatar
    1566 posts

    Posted 06 Oct 2011 Link to this post

    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
  3. Lukasz Kalbarczyk
    Lukasz Kalbarczyk avatar
    24 posts
    Member since:
    Feb 2010

    Posted 06 Oct 2011 Link to this post

    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 :(
  4. Radoslav
    Admin
    Radoslav avatar
    1566 posts

    Posted 10 Oct 2011 Link to this post

    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
  5. Lukasz Kalbarczyk
    Lukasz Kalbarczyk avatar
    24 posts
    Member since:
    Feb 2010

    Posted 13 Oct 2011 Link to this post

    I cannot reproduce it fast as a part of my application :/
    I'll try to find the control it depends of.
Back to Top