1. Coolbudy
    Coolbudy avatar
    24 posts
    Member since:
    Nov 2012

    Posted 13 Jun 2013 Link to this post

    Here is my javacript  that open radwindow
      function RadWindowOpenCourseContinuen(num, cid) {
                    var wnd = $find("<%=modalPopup.ClientID %>");
                    return false;
    Here is button that open radwindow
      <asp:Button ID="btnContinue" runat="server" CssClass="button" TabIndex="37" Text="Click here to continue..."
                                                OnClientClick="RadWindowOpenCourseContinuen(); return false; " />
    Here is my code behind part
      string strhtmlnew = "javascript:RadWindowOpenCourseContinuen('1','" + Session["CID"] + "');";
     btnContinue.Attributes.Add("onclick", strhtmlnew);
    Problem is not passed argument simple open test page
  2. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 14 Jun 2013 Link to this post

    Remove the OnclientClick event in the Button Declation.

    add this code in code behind

     btnContinue.Attributes.Add("onclick", "return RadWindowOpenCourseContinuen(1, " + Session["CID"] + " );");

Back to Top