RadDatePicker Not working properly

5 posts, 0 answers
  1. Jaren
    Jaren avatar
    1 posts
    Member since:
    Aug 2011

    Posted 03 Aug 2011 Link to this post

    I have just downloaded the trial version of Rad Controls for ASP.NET AJAX. When I create a new rad control project in VS2010 I can add controls and they work properly. When I add rad controls to an exsisting project they no longer work. I have changed the web.config file of my exsisting project to match that of the rad control project that works, with the exception of the membership profile and connection strings for my databases. When I run the project that works with the date picker I get the calender image button that is supposed to be there, but when I run the project that doesn't work, instead of the button, I get text that says "Open the Pop Up Calender". Not sure if that info is helpful but may help with wny it isn't working. Any help on where to look to get things working is greatly appreciated.

    Thanks
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 09 Aug 2011 Link to this post

    Hello Jaren,

    If you inspect the broken image with a developer toolbar (or in the page HTML source), you may find out what the problem is - e.g. a missing image file in the new applictaion or an incorrect link to the image (e.g. an absolute URL or a wrong relative one).
    Also please let me know if you are using Ajax to show the control on the page. If yes please set the EnableAjaxSkinRendering property of this control to true in the PageLoad event on the server side.



    Best wishes,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 09 Aug 2011 Link to this post

    Hello Jaren,

    If you inspect the broken image with a developer toolbar (or in the page HTML source), you may find out what the problem is - e.g. a missing image file in the new applictaion or an incorrect link to the image (e.g. an absolute URL or a wrong relative one).
    Also please let me know if you are using Ajax to show the control on the page. If yes please set the EnableAjaxSkinRendering property of this control to true in the PageLoad event on the server side.



    Best wishes,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  4. Suresh Mariaraj
    Suresh Mariaraj avatar
    3 posts
    Member since:
    Nov 2007

    Posted 11 Sep 2011 Link to this post

    Hi,
          Is this Problem solved, Because i am having a similar issue.

    I have 3 RadDatePicker in my page. In which only the first one works.

    For example...

     

    RadDatePicker1,

     

    RadDatePicker2,

     

    RadDatePicker3 Here Pop-Up works only in RadDatePicker1.

    If i rearrange the controls like
    RadDatePicker2,
    RadDatePicker1,
    RadDatePicker3 then Pop-Up works only in RadDatePicker2.

    Is it a bug. If so any work around available...

    Eg Code..(Using Master Page)

     

    <

     

     

    asp:Content ID="Content2" ContentPlaceHolderID="ContentSubModule" Runat="Server">

     

     

     

     

        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

     

     

     

     

            <script language="javascript" type="text/javascript">
            </script>
        </telerik:RadCodeBlock>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" ClientIDMode="Static">

     

     

     

            <ContentTemplate>

     

     

     

     

                <div style="width: inherit" align="center">

     

                    <table class="InputTable" cellpadding="0" cellspacing="0" width="100%" >
                        <tr>
                            <td>
                                Date1
                            </td>
                            <td>
                                <telerik:RadDatePicker ID="RadDatePicker1" runat="server" Width="125px"

     

     

     

                                ClientIDMode="Static" AutoPostBack="true" >

     

     

     

     

                            </td>
                        </tr>
                        <tr>
                            <td>
                                Date2
                            </td>
                            <td>
                                <telerik:RadDatePicker ID="RadDatePicker2" runat="server" Width="125px"

     

     

     

                                ClientIDMode="Static" AutoPostBack="true" >

     

     

     

     

                            </td>
                        </tr>

     

     

     

                        <tr>
                            <td>
                                Date3
                            </td>
                            <td>
                                <telerik:RadDatePicker ID="RadDatePicker3" runat="server" Width="125px"

     

     

     

                                ClientIDMode="Static" AutoPostBack="true" >

     

     

     

     

                            </td>
                        </tr>

                    </table> 

     

     

     

     

     

     

     

                </div>

            </ContentTemplate>

     

     

            
        </asp:UpdatePanel>

     

     

     

     

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Modal="true">

     

     

     

     

        <Windows>

     

     

     

     

            <telerik:RadWindow ID="RWindowPopUp" runat="server" Modal="True"

     

     

     

     

            EnableEmbeddedSkins="false" Height="325px" Width="550px" ReloadOnShow="false">

     

     

     

     

            </telerik:RadWindow>

     

     

     

     

        </Windows>

     

     

     

     

    </telerik:RadWindowManager>

     

     

     

     

    </asp:Content>

     

     

     

     


     

  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 14 Sep 2011 Link to this post

    Hello Suresh,

    Thank you for contacting us.

    We are familiar with this issue (there are several threads about this in the forums), however this behavior is expected. Microsoft recommends using ClientIDMode=Static only for static control. RadControls on the other hand are controls with complex hierarchies of child controls and templates so setting their ClientID mode to static will break their functionality. Please set the ClientIDMode for the RadDatePickers to "Auto" and verify of this works for you.

    Regards,

    Maria Ilieva
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
Back to Top