RadCalendar in repeater

1 posts, 0 answers
  1. Mike Causi
    Mike Causi avatar
    37 posts
    Member since:
    Dec 2005

    Posted 07 Jan 2009 Link to this post


    I am trying to access a JavaScript function in a repeater, but I get a runtime error of "The name 'RadDatePicker1' does not exist in the current context".  This normally works when the raddatepicker is outside a repeater.  Are there any links to samples?  Thanks.



    rada:RadScriptBlock ID="RadCodeBlock1" runat="server">



        <script type="text/javascript">



            function ToggleFirstPopup()




    "<%= RadDatePicker1.ClientID %>").showPopup();










    <asp:DataGrid ID="dgDates" runat="server" >








                <rada:raddatepicker id="RadDatePicker1" mindate="2006-2-1" maxdate="2099-1-1"



                    runat="server" skin="WebBlue" width="75">



                    <DatePopupButton Visible="False"></DatePopupButton>



                    <DateInput onclick="ToggleFirstPopup()" >

















Back to Top