Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I use kendo windows in my project. But problem is that asp:Button control which inside kendo window click event not firing.
And also I use LinkButton that time event firing is ok but that time it return textbox value.

Here is my HTML

ASP.NET
<div class="modal-body">
                            <div class="row">
                                <div class="col-md-7">
                                    <div class="input-group">
                                        <asp:TextBox runat="server" ID="txtUpgradePrice" CssClass="form-control" ClientIDMode="Static"></asp:TextBox>
                                        <span class="input-group-addon"></span>
                                        <asp:Button Text="SendITTTT" CssClass="btn btn-danger" ID="btnSendNewPrice" runat="server" OnClick="btnSendNewPrice_Click" />
                                        <asp:LinkButton Text="Send it" CssClass="btn btn-danger" ClientIDMode="Static" ID="btnSendPrice" OnClick="btnSendNewPrice_Click" runat="server" />

                                    </div>
                                    <br />
                                   
                            </div>
                        </div>



javascript

C#
var myWindow3 = $("#myModalNew").kendoWindow({
                modal: true,
                width: "800px",
                draggable: false,
                visible: false,
                resizable: false,
            }).data("kendoWindow");

            $("#openBtn").on("click", function () {
                myWindow3.center();
                myWindow3.open();
            });

            $("#newModelClose").on("click", function () {
                myWindow3.close();
            });
Posted
Comments
Neetin_1809 24-Sep-14 8:56am    
try to use the HTML Button .
ammoti 24-Sep-14 16:23pm    
but I need run some code behind code do you have any suggest?
Neetin_1809 25-Sep-14 6:20am    
U Need To Make Use Of WebService/WCF Service

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900