Why Allway Reload, Never Proccess to Code Behind When Using Telerik Control in Default.aspx

2 posts, 0 answers
  1. Misbakhul
    Misbakhul avatar
    7 posts
    Member since:
    May 2013

    Posted 21 Jul 2013 Link to this post

    Hi Team and Dear all,

    I have ready to creat web applications using Control Telerik.

    When I not use Telerik Control in Page Login after published in IIS.
    I call my web in URL ,: http://localhost:8080/
    event button click is Fine and Work call code behind Process..

    but, when I using Control Telerik,like RadScriptmanager and others...
    when I click button Login,that not work...
    When I call URL this "http://localhost:8080/" it's no work, but when I add specific page like " http://localhost:8080/default.aspx" ,it;'s work..

    in IE,Firefox and GoogleChome it's not Work....

    this, my code, my be i was wrong something or anything else...
    please help me..
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="eRTE.Default" %>
    <!DOCTYPE html>
    <head runat="server">
        <link href="~/Content/Site.css" rel="stylesheet" />
        <form id="form1" runat="server">
        <asp:ScriptManager runat="server" ID="ScriptManager1"></asp:ScriptManager>
            <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
            <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Metro">
        <div style="height: 175px">
            <div style="height: 150px">
                <table style="width: 100%">
                        <td align="center" colspan="3">
                            <img alt="logo" src="Images/logosystem.png" />
                        <td style="width: 40%"></td>
                            <table style="width: 100%">
                                        <span style="font-size: 13px;color: #666;">USERNAME</span>
                                    </td><td><span style="font-size: 13px;color: #666;">PASSWORD</span>
                                             <telerik:RadTextBox runat="server" ID="tbusername" AutoCompleteType="Disabled"></telerik:RadTextBox>
                                             <telerik:RadTextBox runat="server" ID="tbpass" TextMode="Password" AutoCompleteType="Disabled"></telerik:RadTextBox>
                                        <asp:Button Text="Login" ID="btnLogin" runat="server" CssClass="buttonsubmit" Width="75px" OnClick="btnLogin_Click"/>                                </td><td></td></tr>
                        <td style="width: 35%"></td>
                        <td style="width: 40%"> </td>
                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbusername" CssClass="field-validation-error" ErrorMessage="The user name field is required." /><br />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbpass" CssClass="field-validation-error" ErrorMessage="The password field is required." />
                        <td style="width: 35%"> </td>
            <div style="height: 250px"></div>
            <div style="text-align: center; color: #333;font-size: 12px;" >
    Copyright ©  <%: DateTime.Now.Year.ToString() %>· All rights reserved.

    and this code behind

    using System;
    using System.Collections.Generic;
    using System.Configuration;
    using System.Globalization;
    using System.Linq;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    namespace eRTE
        public partial class Default : System.Web.UI.Page
            protected void Page_Load(object sender, EventArgs e)
                Form.DefaultButton = btnLogin.ClientID;
                Form.DefaultFocus = tbusername.UniqueID;
                if (!IsPostBack && (Request.Cookies["__LOGINCOOKIE__"] == null || Request.Cookies["__LOGINCOOKIE__"].Value == ""))
                    Response.Cookies.Add(new HttpCookie("ASP.NET_SessionId", ""));
            private void AddRedirCookie(string userdata)
            protected void btnLogin_Click(object sender, EventArgs e)
               //this my code process event login,
              // when I using control telerik, can't  proses to this event...why..???

    trims a lot,

    best reagrds,

  2. BabaYa
    BabaYa avatar
    16 posts
    Member since:
    Dec 2011

    Posted 24 Jul 2013 Link to this post


    maibe you hits breaking change in NET 40:



Back to Top