Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
533 views
Hello,

It would be nice to be able to display an empty text in a RadTextBox in password mode.

In the sample below, I setup a RadTextBox in Password mode (line 4) with an empty message (line 5).
<telerik:RadTextBox  
    ID="rtbPassword" 
    runat="server" 
    TextMode="Password" 
    EmptyMessage="Please enter your password" 
    Width="200px" 
    /> 
Unfortunately, when the text box is displayed I cannot read the empty message since it is written as a password => I just get a series of black dots.

Does anybody has an idea to fix this?

BR, Laurent
Edward
Top achievements
Rank 1
 answered on 25 Jan 2012
1 answer
94 views
Hi,
I have a RadUpload in a RadGrid.
I lose the  RadUpload value  when the postback  is generated by RadComboBox in RadGrid.
How can don't lose the RadUpload value?

Thanks.


Shinu
Top achievements
Rank 2
 answered on 25 Jan 2012
1 answer
78 views
Dear SIr,

We are new to Telerik. we have license version of telerik. i just want to know that where to install telerik, on developer computer or on application server...

waiting for quick reply.

Thanks
Mukesh Mishra
Princy
Top achievements
Rank 2
 answered on 25 Jan 2012
0 answers
77 views
Hi,
     I am using Rad grid in my web application. I am using collections to bind it to the rad grid. i will pass values to the collection and bind it to Rad Grid for the first time if i click the button which is outside the Rad grid. When i click the button for the second time i will have a new set of records in my collection. I want this one to be added to the Rad Grid. How it can be done? Here the collection will not retain the value and so if i bind the collection to Rad Grid, i will get only the record that i have added at the last. Instead i want two record in the gird. i.e, the record that was previously in the grid and the new one that i have added to the collection during the click of the button for the second time.

One way of doing is using session or view state -- this will affect the performance which am not interested and the other is loop the grid and add it to collection and add the new records to the collection and bind it to the rad grid. Since looping is involved and as the volume of data grows, it will affect performance. Is ther any other way to accomplish this?


with Regards,
S . Surendar


Surendar S
Top achievements
Rank 1
 asked on 25 Jan 2012
3 answers
156 views
I have an ItemCommand for my grid which is "RowClick", which updates a group of labels via ajax when a row is clicked.

On the PreRender event of the grid I am selecting the first row on page load, how can I fire off the "RowClick" ItemCommand?

Thanks,
Craig Mellon
Top achievements
Rank 1
 answered on 25 Jan 2012
1 answer
50 views
HI,

I have another drop down before the field to choose the object. Is is possible.

Please see the attachment for more info.

Thanks
Praveen Tomar
Marin
Telerik team
 answered on 25 Jan 2012
0 answers
81 views
hi,

iinstalled WSS and sharepoint in my system but in services Windows sharepoint services are always stopping if i start service immediately with in 1 min service is stopping


please give me any solution


Thanks
Abu
Top achievements
Rank 1
 asked on 25 Jan 2012
1 answer
61 views
I chose a filename with an underscore in the string, e.g. "Primary_menu"; and in do so, I noticed that the colors and other properties I changed--and incidentally saved--were not actually saved, but rather ignored. I thought I may be doing something wrong or a problem with Visual Style Builder was occurring. Well, it appears that by removing the underscore to: "PrimaryMenu", caused everything to save and update properly.

This is not an issue for me, but I thought I'd ask the Forum if I missed something, the Forum had in fact encountered this, or let others know that this exists and that they simply need to do as I did--remove the underscore to proceed as expected. I hope this helps others out there from losing valuable time running down this nuisance.

-Don
Bozhidar
Telerik team
 answered on 25 Jan 2012
2 answers
88 views
hi,

i am using the 3 level grid i wrote same code for all three as follows
CommandItemDisplay="Bottom"
   <MasterTableView EditMode="InPlace" Name="product" DataKeyNames="PKProductID" CommandItemDisplay="Bottom">
                                            <Columns>
                                                                <telerik:GridBoundColumn DataField="PKProductID" HeaderText="PKProductID" Visible="false" />
                            
                                                 <telerik:GridEditCommandColumn UniqueName="Edit" ButtonType="ImageButton" CancelText="cancel"
                        EditText="edit" InsertText="insert"></telerik:GridEditCommandColumn>
                                                <telerik:GridTemplateColumn HeaderText="Style #">
                        <ItemTemplate>
                           <%#Eval("SourceID")%>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox ID="txtProSourceId" Text='<%# Eval("SourceID") %>' runat="server"></asp:TextBox>
                             <asp:RequiredFieldValidator ID="rfvProductSourceId" ControlToValidate="txtProSourceId" ErrorMessage="Cannot be empty" Text="*"
                                runat="server" Display="Dynamic" ></asp:RequiredFieldValidator>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>
                                                <telerik:GridTemplateColumn HeaderText="Title">
                        <ItemTemplate>
                           <%#Eval("Language1Title")%>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox ID="txtProTitle" Text='<%#Eval("Language1Title") %>' runat="server"></asp:TextBox>
                             <asp:RequiredFieldValidator ID="rfvProductTitle" ControlToValidate="txtProTitle" ErrorMessage="Cannot be empty" Text="*"
                                runat="server" Display="Dynamic" ></asp:RequiredFieldValidator>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>
                    
                                               
                                                <telerik:GridBoundColumn DataField="Language1SubTitle" HeaderText="Sub Title" />
                                                <telerik:GridDropDownColumn HeaderText="Clearance" UniqueName="StyleClearance" DataSourceID="SourceCheck"
                                                    ListTextField="Text" ListValueField="Text" SortExpression="Text" DataField="ClearanceItem" />
                                                <telerik:GridDropDownColumn HeaderText="Active" UniqueName="StyleActive" DataSourceID="SourceCheck"
                                                    ListTextField="Text" ListValueField="Text" SortExpression="Text" DataField="Active" />
                                              
                                                <telerik:GridTemplateColumn HeaderText="Price">
                        <ItemTemplate>
                           <%#Eval("Price")%>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox ID="txtProPrice" Text='<%#Eval("Price") %>' runat="server"></asp:TextBox>
                             <asp:RegularExpressionValidator ID="regprice" runat="server" ControlToValidate="txtProPrice" Display="Dynamic"  ValidationExpression="^([0-9]*)(\.[0-9]{2})?$"></asp:RegularExpressionValidator>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>
                    

                                                <telerik:GridTemplateColumn HeaderText="SalePrice">
                        <ItemTemplate>
                           <%#Eval("SalePrice")%>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox ID="txtProSalePrice" Text='<%#Eval("SalePrice") %>' runat="server"></asp:TextBox>
                             <asp:RegularExpressionValidator ID="regSalePrice" runat="server" Display="Dynamic"  ControlToValidate="txtProSalePrice" ValidationExpression="^([0-9]*)(\.[0-9]{2})?$"></asp:RegularExpressionValidator>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>
                                                
                                                
                                            </Columns>
                                            <DetailTables>
                                                <telerik:GridTableView DataMember="colors" CommandItemDisplay="Bottom"  HierarchyLoadMode="ServerOnDemand"  Name="Colors"
                                                    DataKeyNames="pkproductid"  Width="300px" >
                                                    <Columns>
                                                    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1">
                                                    <HeaderStyle Width="80px" />
                                                    <ItemStyle CssClass="MyImageButton" />
                                                </telerik:GridEditCommandColumn>
                                                        <telerik:GridBoundColumn DataField="PKProductid" HeaderText="PKProductid" Visible="false" />
                                                        <telerik:GridTemplateColumn HeaderText="Title">
                                                        <ItemTemplate>
                                                        <%#Eval("Language1Title")%>
                                                        </ItemTemplate>
                                                        <EditItemTemplate>
                                                        <asp:TextBox ID="txtColorTitle" runat="server" Text='<%#Eval("Language1Title") %>' ReadOnly="true"></asp:TextBox>
                                                        </EditItemTemplate>
                                                        </telerik:GridTemplateColumn>
                                                       
                                                       <telerik:GridTemplateColumn HeaderText="Color Id">
                                                        <ItemTemplate>
                                                        <%#Eval("SourceID")%>
                                                        </ItemTemplate>
                                                        <EditItemTemplate>
                                                        <asp:TextBox ID="txtColorId" runat="server" Text='<%#Eval("SourceID") %>' ReadOnly="true"></asp:TextBox>
                                                        </EditItemTemplate>
                                                        </telerik:GridTemplateColumn>
                                                        <telerik:GridTemplateColumn HeaderText="colors">
                                                        <ItemTemplate>
                                                        <%#Eval("ScaleLanguage1Name") %></ItemTemplate>
                                                        <EditItemTemplate>
                                                        <asp:DropDownList ID="ddlColors" runat="server" DataSourceID="SourceColors" DataValueField="PKGroupScaleItemID" DataTextField="ScaleLanguage1Name"
                                                        OnSelectedIndexChanged="ddltemp_SelectedIndexChanged" SelectedValue='<%#Eval("PKGroupScaleItemID") %>' AutoPostBack="true"></asp:DropDownList>
                                                        </EditItemTemplate>
                                                        </telerik:GridTemplateColumn>
                                                       
                                                        <telerik:GridDropDownColumn HeaderText="Active" UniqueName="ColorActive" DataSourceID="SourceCheck"
                                                            ListTextField="Text" ListValueField="Text" SortExpression="Text" DataField="Active" />
                                                    </Columns>
                                                    <DetailTables>
                                                        <telerik:GridTableView DataMember="Sizes" HierarchyLoadMode="ServerOnDemand" Width="300px" CommandItemDisplay="Bottom"
                                                            Name="sizes" DataKeyNames="pkproductid">
                                                            <Columns>
                                                            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1">
                                                    <HeaderStyle Width="80px" />
                                                    <ItemStyle CssClass="MyImageButton" />
                                                </telerik:GridEditCommandColumn>
                                                                <telerik:GridBoundColumn DataField="PKProductid" HeaderText="PKProductid" Visible="false" />
                                                               <telerik:GridTemplateColumn HeaderText="Title">
                                                        <ItemTemplate>
                                                        <%#Eval("Language1Title")%>
                                                        </ItemTemplate>
                                                        <EditItemTemplate>
                                                        <asp:TextBox ID="txtSizeTitle" runat="server" Text='<%#Eval("Language1Title") %>' ReadOnly="true"></asp:TextBox>
                                                        </EditItemTemplate>
                                                        </telerik:GridTemplateColumn>
                                                                <telerik:GridTemplateColumn HeaderText="Size Id">
                                                        <ItemTemplate>
                                                        <%#Eval("SourceID")%>
                                                        </ItemTemplate>
                                                        <EditItemTemplate>
                                                        <asp:TextBox ID="txtSizeId" runat="server" Text='<%#Eval("SourceID") %>' ReadOnly="true"></asp:TextBox>
                                                        </EditItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                           <%--         <telerik:GridTemplateColumn HeaderText="Sizes">
                                                        <ItemTemplate>
                                                        <%#Eval("ScaleLanguage1Name") %></ItemTemplate>
                                                        <EditItemTemplate>
                                                        <asp:DropDownList ID="ddlSizes" runat="server" DataSourceID="SourceSizes" DataValueField="PKGroupScaleItemID" DataTextField="ScaleLanguage1Name"
                                                        OnSelectedIndexChanged="ddltemp_SelectedIndexChanged" SelectedValue='<%#Eval("PKGroupScaleItemID") %>' AutoPostBack="true"></asp:DropDownList>
                                                        </EditItemTemplate>
                                                        </telerik:GridTemplateColumn>--%>
                                                                <telerik:GridDropDownColumn UniqueName="SizeSourceID" DataSourceID="SourceSizes"
                                                                    HeaderText="Sizes" DataField="pkgroupscaleitemid" SortExpression="ScaleLanguage1Name" ListTextField="ScaleLanguage1Name"
                                                                    ListValueField="pkgroupscaleitemid"  />
                                                                    <telerik:GridTemplateColumn HeaderText="Back Order Days">
                                                                    <ItemTemplate>
                                                                    <%#Eval("BackOrderDays") %>
                                                                    </ItemTemplate>
                                                                    <EditItemTemplate>
                                                                    <asp:TextBox ID="txtbackorderdays" runat="server" Text='<%#Eval("BackOrderDays")%>'></asp:TextBox>
                                                                    <asp:RegularExpressionValidator ID="regValidatordays" runat="server" ControlToValidate="txtbackorderdays" ValidationExpression="\d+" Text="*" ErrorMessage="Enter only numerics" Display="Dynamic" ></asp:RegularExpressionValidator>
                                                                    </EditItemTemplate>
                                                                    </telerik:GridTemplateColumn>
                                                                 <telerik:GridTemplateColumn HeaderText="SKU">
                                                                    <ItemTemplate>
                                                                    <%#Eval("SKU") %>
                                                                    </ItemTemplate>
                                                                    <EditItemTemplate>
                                                                    <asp:TextBox ID="txtsku" runat="server" Text='<%#Eval("SKU")%>'></asp:TextBox>
                                                                    </EditItemTemplate>
                                                                    </telerik:GridTemplateColumn>
                                                               <telerik:GridTemplateColumn HeaderText="QuantityAvailable">
                                                                    <ItemTemplate>
                                                                    <%#Eval("QuantityAvailable") %>
                                                                    </ItemTemplate>
                                                                    <EditItemTemplate>
                                                                    <asp:TextBox ID="txtQuantityAvailable" runat="server" Text='<%#Eval("QuantityAvailable")%>'></asp:TextBox>
                                                                    <asp:RegularExpressionValidator ID="regValidatorqty" runat="server" ControlToValidate="txtQuantityAvailable" ValidationExpression="\d+" Text="*" ErrorMessage="Enter only numerics" Display="Dynamic"></asp:RegularExpressionValidator>
                                                                    </EditItemTemplate>
                                                                    </telerik:GridTemplateColumn>
                                                                 <telerik:GridDropDownColumn HeaderText="Active" UniqueName="SizeActive" DataSourceID="SourceCheck"
                                                                    ListTextField="Text" ListValueField="Text" SortExpression="Text" DataField="Active" />
                                                            </Columns>
                                                        </telerik:GridTableView>
                                                    </DetailTables>
                                                </telerik:GridTableView>
                                            </DetailTables>
add button is appear in the first level and third level in the second level that is missing and one more thing is i didn't get get any image here why?

Thanks & Regards,
M.Koteswara Rao
koteswararao
Top achievements
Rank 1
 answered on 25 Jan 2012
0 answers
111 views
    
Aditya
Top achievements
Rank 1
 asked on 25 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?