I have a table with a phone number stored as a long/nullable. (I can’t change it…)
All is well except for editing the record with an empty fax number in this case. An error dialog tells me that I don’t have a valid value for int64.
If I input a value of 0 in the radmaskedtextbox the record saves but then I have a 0 for the fax number. I need it to be blank/null if there is no number entered
Thanks for any help!
Bill
<telerik:GridBoundColumn DataField="AgencyMainFax" DataType="System.Int64" HeaderText="Main Fax" DataFormatString="{0:(###) ###-####}" AllowFiltering="false" SortExpression="AgencyMainFax" UniqueName="AgencyMainFax">
</telerik:GridBoundColumn>
The edittemplate:
<telerik:radmaskedtextbox ID="RadMaskedTextBox2" runat="server" Mask="(###) ###-####"
Text='<%# Bind("AgencyMainFax") %>' Width="125px">
</telerik:radmaskedtextbox>
Hi
I want to know whether TreeView support radio button or not.
And one more thing that can we arrange the different treeview's nodes into different rows of a tables
for better perception given below the e.g.
|
|
|
|
|
|
|
|
ARM - Nancy Stewart - NorthEast
|
|
|
|
|
|
TSR - Joe Young - Upper NY South
|
|
|
PHR - Peter Fox - Upper NY East
|
|
|
PHR - Sandra Smith - Upper NY West |
|
|
Intern - Monica Sorawski - Upper NY North |
| |
|
|
|
|
| |
|
| |
|
|
|
|
I am using DNN 4.8.4 and defaulted HtmlEditor to RadEditor in the web.config.
I have a module which load the DnnEditor ("~/Controls/texteditor.ascx"), I am receiving the below mentioned error while loading the module:
A critical error has occurred.
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.
When I switch back the "FckHtmlEditorProvider" as default there wont be any error. In this page I am using the RadAjax too.
I have downloaded the "RadControls_for_ASP.NET_AJAX_2008_2_723_dev.exe" and using it.
Could you please help me in resolving the above mentioned issue?
Thanks in Advance.
Regards,
Dax
function ClientNodeExpanded(sender, eventArgs)
{
var node = eventArgs.get_node();
alert(node); //so far so good. I am getting [object object]
var hdNodeExpandCtrl = node.findControl("hdNodeExpand");
}
<asp
:UpdatePanel ID="RadTreeUpdatePanel" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional">
<ContentTemplate>
<telerik:RadTreeView ID="RadTreeView1" Width="100%" runat="server" ShowLineImages="False"
OnClientNodeExpanded="ClientNodeExpanded" Skin="Web20"OnClientNodeCollapsed="ClientNodeCollapsed" >
<NodeTemplate>
<div id="nodeEle" runat="server">
<input type="hidden" id="hdNodeExpand" value="0" />
</div>
</NodeTemplate>
</telerik:RadTreeView>
</ContentTemplate>
</asp:UpdatePanel>
body
{
font-family: Arial, Helvetica, san-serif; font-size: 11px;
background-color: #383838;
color: #fff;
}
But something wierd happens when using the editor. If I start typing in the editor without changing anything, the text looks just fine. But if I select the text i have entered, hit backspace to delete and type some more, the editor wraps that text in a <span> tag and applies a different background color to that text. Here is the markup the editor creates:
<span style="background-color: #383838">this is a test</span>
Normally this would be fine, but it just so happens that the page I am putting the output of the editor on does not always have the same background color so the text looks highlighted. Is there any way to prevent it from putting a background color unless specifically added via the text background tool?
