Question : grid password issue

I am using telerik radgrid and on this I want to display the password onTextMode = password.. I have added this to code but while displaying not showing textmode as password, but it does show on when I am adding new record.. I want to see this column in Textmode password all the time.. how can I do that?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
<radG:GridTemplateColumn HeaderText="loginPassword" SortExpression="loginPassword" UniqueName="TemplateColumn"
                        EditFormColumnIndex="1">
                        <ItemTemplate>
                            <asp:Label runat="server" ID="lblloginPassword" Text='<%# Eval("loginPassword") %>'></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox runat="server" ID="txtlogin"  TextMode="Password"></asp:TextBox>
                               
                        </EditItemTemplate>
                    </radG:GridTemplateColumn>

Answer : grid password issue

Sorry.. This one should work. I tested...
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
<radG:GridTemplateColumn HeaderText="loginPassword" SortExpression="loginPassword" UniqueName="TemplateColumn"
                        EditFormColumnIndex="1">
                        <ItemTemplate>
                            <asp:Label runat="server" ID="lblloginPassword" Text=Text='<%# new string(char.Parse("*"),Eval("loginPassword").ToString().Length) %>'></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox runat="server" ID="txtlogin"  TextMode="Password"></asp:TextBox>
                               
                        </EditItemTemplate>
                    </radG:GridTemplateColumn>
Random Solutions  
 
programming4us programming4us