Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
i have grid in updatepanel whenever i use edit operation in grid my page title changes.i am using update panel in grid.can anyone tell me why page titlle get changed ever time
thanks in advance
Posted
Comments
Wonde Tadesse 21-May-11 13:09pm    
Please show your update operation code.It is difficult to answer without looking your code.
Christian Graus 21-May-11 13:13pm    
if you told us what it changes from and to, that might help.
waqasahmed786 21-May-11 13:16pm    
<%@ Page Language="C#" MasterPageFile="~/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="Education.aspx.cs" Inherits="HRMS_MAJU.Education" %>
<asp:Content ID="Content2" ContentPlaceHolderID="titleContent" runat="server">Education

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div class="adminmainbareducation" style="width: 673px">
<div class="articleeducation" style="height: 520px; width: 767px;">
<%--
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<contenttemplate>--%>
<div id="myBoxEducation">Education:</div>

<div class="myformdataEducation">

<table>
<tr>
<td align="right"><asp:Label ID="EducationLabel" runat="server" Text="Degree Name :"> </td>
<td style="width: 308px">
<asp:TextBox ID="EducationTextBox" runat="server" Height="24px" Width="153px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="EducationTextBox" ErrorMessage="*">
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ControlToValidate="EducationTextBox" ErrorMessage="Only Char Allow"
ValidationExpression="^[a-zA-Z''-'\s]{1,400}$">
</td>
</tr>
<tr>
<td align="right"><asp:Label ID="InstitueNameLabel" runat="server" Text="Institute Name :"> </td>
<td style="width: 308px">
<asp:TextBox ID="InstituteTextBox" runat="server" Height="24px" Width="153px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="InstituteTextBox" ErrorMessage="*">
</td>
</tr>
<tr>
<td align="right"><asp:Label ID="YearOfPasingLabel" runat="server" Text="Year Of Pasing :"> </td>
<td style="width: 308px">
<asp:TextBox ID="YearTextBox" runat="server" Height="24px" Width="153px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="YearTextBox" ErrorMessage="*">
</td>
</tr>
<tr>
<td align="right"><asp:Label ID="GradeLabel" runat="server" Text="Grade :"> </td>
<td style="width: 308px">
<asp:DropDownList ID="GradeDropDownList" runat="server" Height="24px"
Width="155px" DataSourceID="SqlDataSourceMyGrade" DataTextField="GradeName"
DataValueField="GradeId">





<asp:SqlDataSource ID="SqlDataSourceMyGrade" runat="server"
ConnectionString="<%$ ConnectionStrings:HRMSConnectionString %>"
SelectCommand="SELECT * FROM [Grade] ORDER BY [GradeName]">

<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
ControlToValidate="GradeDropDownList" ErrorMessage="*"
InitialValue="Select Grade">
</td>
</tr>
<tr>
<td align="right" valign="middle" style="height: 137px">
<asp:Label ID="EducationDescLabel" runat="server" Text="Description :"> </td>
<td style="width: 308px; height: 137px;">
<asp:TextBox ID="EducationDescriptionTextBox" runat="server" Height="130
R. Hoffmann 21-May-11 14:16pm    
Looks like the code got truncated. And please edit your original question and add the complete code there instead of pasting it in a comment.
Wonde Tadesse 21-May-11 13:30pm    
where is the ajax functionality?

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