TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Naresh Bada
NA
212
19.1k
i using update panel local its not working properly
Sep 23 2019 3:10 AM
i using update panel local its working fine but in server not working properly.
this is my code:
<asp:UpdatePanel ID="updtaepanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<div style="text-align: center">
<asp:Label ID="lblSmlHdg" runat="server" Text="XBRL" CssClass="mediumred"></asp:Label>
<asp:Label ID="lblSubHdg" CssClass="mediumnavy" runat="server" Text=">Element Mapping To GL" />
<br />
<asp:Label ID="lblHdg" runat="server" CssClass="hdg2" Text="ELEMENT MAPPING TO GL" />
<br />
<asp:Button runat="server" ID="btnBack" CssClass="button" Text="Back" OnClick="btnBack_Click"/>
<asp:GridView ID="XbrlGLGrid" runat="server" Width="50%" AutoGenerateColumns="False" onrowdatabound="XbrlGLGrid_RowDataBound" >
<HeaderStyle CssClass="header" Height="15px" Width="100px" />
<FooterStyle CssClass="smallheader" />
<RowStyle CssClass="smallnavy" />
<Columns>
<asp:BoundField HeaderText="Col.No." DataField="ColNo" ItemStyle-Width="10px" HeaderStyle-Width="10px"/>
<asp:BoundField DataField="ElementName" HeaderText="RBI GL Name" ItemStyle-Horizontal ItemStyle-Width="20px" HeaderStyle-Width="20px" ItemStyle-Wrap="true">
<ItemStyle Width="150%" Horizontal />
</asp:BoundField>
<asp:TemplateField HeaderText="GL Code" ControlStyle-BorderWidth="1px" ItemStyle-Horizontal ItemStyle-Width="100px" HeaderStyle-Width="90px">
<ItemTemplate>
<asp:TextBox ID="txtGLCode" runat="server" CausesValidation="false" CssClass="tooltip" Width="100px" EnableViewState="true"
ToolTip="For Help, Double Click or Press F2" AutoCompleteType="Disabled" AutoPostBack="True"
OnTextChanged="txtGLCode_TextChanged"></asp:TextBox>
</ItemTemplate>
<ControlStyle BorderWidth="1px" BorderColor="Silver" />
</asp:TemplateField>
<asp:BoundField DataField="GlCode" HeaderText="Mapped GL Codes" ItemStyle-Horizontal ItemStyle-Width="200px" HeaderStyle-Width="100px"/>
<asp:BoundField DataField="Amount" HeaderText="Value" ItemStyle-HorizontalAlign="Right" ItemStyle-Width="100px" HeaderStyle-Width="110px" />
<asp:BoundField HeaderText="Enable" DataField="Enable" ItemStyle-CssClass="hiddencol" HeaderStyle-CssClass="hiddencol"/>
</Columns>
</asp:GridView>
</div>
<asp:Button ID="btnHidden" runat="server" style = "display:none" CssClass="button" />
<%-- <asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager> --%>
<Ajax:ModalPopupExtender ID="mp1" runat="server" PopupControlID="Panel1" TargetControlID="btnHidden"
CancelControlID="btnNo" BackgroundCssClass="Background">
</Ajax:ModalPopupExtender>
<asp:Panel ID="Panel1" runat="server" CssClass="Popup" align="center" style = "display:none">
<br />
<asp:Label ID="lblAlert" runat="server"></asp:Label>
<asp:Label ID="lblGlCode_hidden" runat="server" Visible="false"></asp:Label>
<br /><br />
<asp:Button ID="btnYes" runat="server" Text="Yes" OnClick="btnYes_Click" CssClass="button" />
<asp:Button ID="btnNo" runat="server" Text="No" CssClass="button" />
</asp:Panel>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="XbrlGLGrid" EventName="RowCommand" />
<asp:AsyncPostBackTrigger ControlID="btnYes" EventName="click" />
<asp:AsyncPostBackTrigger ControlID="btnNo" EventName="click" />
<%-- <asp:AsyncPostBackTrigger ControlID="txtGLCode" EventName="TextChanged" />--%>
</Triggers>
</asp:UpdatePanel>
Reply
Answers (
3
)
Display list of first matched values from database in textbo
How to validate Email contain Only 200 character