Reopen Click Button in content template

3 posts, 0 answers
  1. Hüseyin
    Hüseyin avatar
    2 posts
    Member since:
    Nov 2012

    Posted 05 Mar 2014 Link to this post

    Hi,

    i have a.aspx, in this page has radwindow(without NavigateUrl) with content template and content template has some controls like this.

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Overlay="true">
            <Windows>
                <telerik:RadWindow ID="rwtahsilat" runat="server" VisibleOnPageLoad="false" Height="580px" OnClientClose="OnClientClose"
                            Width="870px" Modal="true" VisibleStatusbar="False" Behaviors="Close" Skin="Metro">
                        <Localization Close="Kapat" Cancel="Vazgeç" No="Hayır" OK="Tamam" Yes="Evet" />
                        <ContentTemplate>
                            Seri No : <asp:Label ID="lbl_terminal_seri_no" runat="server" Text=""></asp:Label>
                            Tarih : <asp:Label ID="lbl_tarih" runat="server" Text=""></asp:Label>
                            Tahsilat Tutar : <telerik:RadNumericTextBox CssClass="tbxa100aa" ID="rnt_tahsilat_tutar"
                                    runat="server" Width="100px"></telerik:RadNumericTextBox> TL
                            <asp:Button ID="bt_tahsilat_isle" runat="server" Text="KAYDET" CssClass="btTuruncu5"  />
                            <asp:Label ID="sonuc" CssClass="sonuc" runat="server"></asp:Label>
                        </ContentTemplate>
                    </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>

    radwindow has not navigate url. when i click button ID=bt_tahsilat_isle, a.aspx is postback then radwindow closing and button process all code then radwindow show again.

    i want to do when i click button ID=bt_tahsilat_isle not close radwindow (like radwindow has navigate url)
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 05 Mar 2014 in reply to Hüseyin Link to this post

    Hi Hüseyin,

    Please try to ajaxify the RadWindow to achieve your scenario as follows and also take a look into this help documentation for further information.

    ASPX:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="bt_tahsilat_isle">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lbl_terminal_seri_no" />
                    <telerik:AjaxUpdatedControl ControlID="lbl_tarih" />
                    <telerik:AjaxUpdatedControl ControlID="rnt_tahsilat_tutar" />
                    <telerik:AjaxUpdatedControl ControlID="sonuc" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Hüseyin
    Hüseyin avatar
    2 posts
    Member since:
    Nov 2012

    Posted 06 Mar 2014 Link to this post

    thanx Princy,
    its ok. its great
Back to Top