I have a RadGrid using XML file as data source and the field on this XML file is not formatted. We need to format the value in the field as percentage with two decimal digits and I have coded as shown below:
| <telerik:GridBoundColumn DataField="Percentage" HeaderText="Percentage" SortExpression="Percentage" |
| UniqueName="Percentage" DataFormatString="{0:#####.## %}" |
| EditFormHeaderTextFormat="{0:#####.## %}" > |
| </telerik:GridBoundColumn> |
However, no matter what I change on the DataFormatString the value shows without formatting. Can you please help? Thank you.
CheckBoxes="true" TriStateCheckBoxes="true"
CheckChildNodes="true"
If a Node is Checked and then I expand it, the node's image turns to [unchecked] but javascript does return get_checked() = true. Is this a bug?
I have a new record (an HTML ASP.NET form) and and edit records (an ASP.NET FormView).
I use the date picker in both. Whe nI create a new record, the data is saved fine.
When I open the FormView to edit, the proper date is bound and pre-loaded into the RAD date picker.
When I change the data in the edit form and submit, the date does not change. All other fields in the form view update correctly, so I do not think the events are not firing.
Here is the HTML"
<asp:FormView ID="FormView1" runat="server" Caption="Company Details"
CssClass="dataTable" DataKeyNames="Id" DataSourceID="LinqDataSource1"
DefaultMode="Edit" onitemcommand="FormView1_ItemCommand"
onitemupdated="FormView1_ItemUpdated">
<RowStyle CssClass="rowa" />
<EditItemTemplate>
<table cellpadding="0" cellspacing="0" class="style1">
// CLIPPED FOR READABILITY
<tr>
<td>
URL:
</td>
<td>
<asp:TextBox ID="URLTextBox" runat="server" CssClass="textBox"
Text='<%# Bind("URL") %>' Width="200px" />
</td>
</tr>
<tr>
<td>
</td>
<td>
<asp:CheckBox ID="IsActiveCheckBox" runat="server"
Checked='<%# Bind("IsActive") %>' Text="Is Active?" />
<asp:CheckBox ID="IsQIBCheckBox" runat="server" Checked='<%# Bind("IsQIB") %>'
Text="Is QIB?" />
</td>
</tr>
<tr>
<td>
QIB Exp Date:
</td>
<td>
<radCln:RadDatePicker ID="txtQibDate" Runat="server"
Culture="English (United States)" EnableTyping="False"
DbSelectedDate='<%# Bind("QIB_Exp_Date") %>'>
<DateInput Skin="">
</DateInput>
</radCln:RadDatePicker>
</td>
</tr>
</table>
<asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True"
CommandName="Update" CssClass="linkButton" Text="Update" />
<asp:LinkButton ID="UpdateCancelButton" runat="server"
CausesValidation="False" CommandName="Cancel" CssClass="linkButton"
Text="Cancel" />
</EditItemTemplate>
Thanks.