Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Edited Issue: Some characters( e. g &), rendering issue with Ajax Tab Conatiner in ASP.NET [27335]

$
0
0
Hi,<br /> <br />Can any one help me.I had made a user Control say Test.ascx, i had a gridview inside two panels,i had used a Label control inside ItemTemplate Field,there when i pouplate the gridview data from my cs code,now if that label control had some data which had (& symbol e.g A&B),my page display nothing,no data,no error etc.<br /> <br /> I had used this user control inside a page say Test.aspx inside ajax tab container,i don't understand whether its issue with ajax tab container or something else.<br /> <br />here is my code of User Control<br /> <br /><asp:Panel ID="section7" runat="server" SkinID="1"><br /> <asp:Panel ID="Panel2" runat="server" GroupingText="Capital" SkinID="2"><br /> <div style="position: relative;"> <br /> <asp:GridView ID="gv1" runat="server" AutoGenerateColumns="False" OnRowDeleting="gv1_RowDeleting" <br /> OnRowEditing="gv1_RowEditing"> <br /> <Columns> <br /> <asp:TemplateField HeaderText="Item" HeaderStyle-HorizontalAlign="Left"> <br /> <ItemTemplate> <br /> <%--<div id="c_divSubComponent" runat="Server"><%# DataBinder.Eval(Container.DataItem,"SubComponent")%></div>--%> <%--<asp:Label ID="c_lblSubComponent" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"SubComponent")%>'></asp:Label>--%> <br /> <asp:Literal ID="c_ltlSubComponent" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"SubComponent")%>' Mode="Encode"> </asp:Literal><br /> <br /> </ItemTemplate> <br /> <ItemStyle HorizontalAlign="Left" /><br /> </asp:TemplateField> <br /> </Columns><br /> </asp:GridView> <br /> </div> <br /> </asp:Panel><br /> </asp:Panel><br /> <br /> And this is the code for my Page Test.aspx<br /> <br /> <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" SkinID="CustomStyle" ActiveTabIndex="0" ><br /> <ajaxToolkit:TabPanel ID="FirstTab" runat="server" HeaderText="My First Tab"><br /> <ContentTemplate> <br /> <uc4:Test ID="uTest" runat="server" /> <br /> </ContentTemplate> <br /> </ajaxToolkit:TabPanel> <br /> <ajaxToolkit:TabPanel ID="secondTab" runat="server" HeaderText="My Second Tab"> <br /> <ContentTemplate> <br /> Tab-2 <br /> </ContentTemplate> <br /> </ajaxToolkit:TabPanel><br /> </ajaxToolkit:TabContainer><br />

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>