1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    2
    Vote Rating
    0
    211432 is on a distinguished road

      0  

    Default Display issue with angular brackets(<>) in the data in Grid

    Display issue with angular brackets(<>) in the data in Grid


    Hi,

    I am facing an issue while displaying the data in grid that is retrieved from DB and have angular brackets in it. e.g Test())(><??- it is displayed as Test())(> but if data is Test())(<>??- then it is correctly displayed. However when I double click on the erroneous entry ,it is displayed correctly.

    Can somebody please reply to this if they have faced similar issue.

    Thanks in advance.

  2. #2
    Sencha User
    Join Date
    Jul 2011
    Posts
    5
    Vote Rating
    0
    deepinkumar is on a distinguished road

      0  

    Default Angular brackets in data grid

    Angular brackets in data grid


    I would put that in the <ItemTemplate> of the an asp:templatecolumn for the datagrid...for example:

    <asp:TemplateColumn HeaderText="Name">
    <HeaderStyle HorizontalAlign="Left" CssClass="grid-header" VerticalAlign="Middle"></HeaderStyle>
    <ItemStyle HorizontalAlign="Left" Width="40%" CssClass="grid-item" VerticalAlign="Top"></ItemStyle>
    <ItemTemplate>
    <asp:label id="NameValue" Text='<%# Server.HtmlEncode(Container.DataItem.Name) %>' Runat="server">
    </asp:label>
    </ItemTemplate>
    <FooterStyle BackColor="#EBF1FF"></FooterStyle>
    <FooterTemplate>
    <asp:imagebutton id="btnNamesEdit" runat="server" onmousedown="openNameWindow();" AlternateText="Edit"
    ImageUrl="../images/icon-pencil.gif"></asp:imagebutton>
    </FooterTemplate>
    <EditItemTemplate>
    <asp:dropdownlist ID="edtDDName" EnableViewState="false" Width="200px" CssClass="Standard-text" DataSource='<%# GetValues("LU_DrugNames") %>' DataTextField = 'LongName' DataValueField = 'ID' Runat="server">
    </asp:dropdownlist>
    </EditItemTemplate>
    </asp:TemplateColumn>

    Cegonsoft web 2.0 training

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    2
    Vote Rating
    0
    211432 is on a distinguished road

      0  

    Default


    Thanks for the response.
    But the issue is regarding extjs code used in a jsp.

    So the solution is needed in that respect.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi