Hello,
I been trying to use this asyncupload-additional fields but It doesn't work when I set session state to SQL SERVER. keep getting this error:
Microsoft JScript runtime error: Error while uploading, [HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.30514.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer
this is my control:
<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"RadAsyncUpload1"
OnClientFileUploaded
=
"onClientFileUploaded"
MultipleFileSelection
=
"Automatic"
Skin
=
"Office2007"
/>
javascript is same as given in demo.
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowFilteringByColumn
=
"True"
EnableViewState
=
"true"
CssClass
=
"GridViewSforms"
Skin
=
"Web20"
EnableEmbeddedSkins
=
"False"
Height
=
"510px"
Width
=
"941px"
ShowStatusBar
=
"True"
AlternatingItemStyle-BackColor
=
"#ededed"
ClientSettings-EnableRowHoverStyle
=
"true"
AllowPaging
=
"True"
AllowSorting
=
"True"
CellSpacing
=
"0"
GridLines
=
"None"
AutoGenerateColumns
=
"False"
ShowGroupPanel
=
"False"
EnableLinqExpressions
=
"False"
>
<
ClientSettings
AllowColumnsReorder
=
"True"
ReorderColumnsOnClient
=
"True"
AllowDragToGroup
=
"True"
EnableRowHoverStyle
=
"True"
>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
/>
</
ClientSettings
>
<
AlternatingItemStyle
BackColor
=
"#EDEDED"
/>
<
MasterTableView
CommandItemDisplay
=
"Top"
>
<
telerik:GridBoundColumn
DataField
=
"CustomerProgramDescription"
Groupable
=
"true"
HeaderText
=
"Program"
UniqueName
=
"CustomerProgramDescription"
>
<
FilterTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBoxCustomerProgramDescription"
runat
=
"server"
AppendDataBoundItems
=
"true"
DataTextField
=
"CustomerProgramDescription"
DataValueField
=
"CustomerProgramDescription"
OnClientSelectedIndexChanged
=
"CustomerProgramDescriptionIndexChanged"
OnDataBound
=
"RadComboBoxAllFilters_OnDataBound"
SelectedValue='<%# TryCast(Container,GridItem).OwnerTableView.GetColumn("CustomerProgramDescription").CurrentFilterValue %>'
Width="100px">
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"All"
/>
</
Items
>
</
telerik:RadComboBox
>
<
telerik:RadScriptBlock
ID
=
"RadScriptBlockProgram"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function CustomerProgramDescriptionIndexChanged(sender, args) {
var tableView = $find("<%# TryCast(Container,GridItem).OwnerTableView.ClientID %>");
tableView.filter("CustomerProgramDescription", args.get_item().get_value(), "EqualTo");
}
</
script
>
</
telerik:RadScriptBlock
>
</
FilterTemplate
>
<
ItemStyle
Wrap
=
"False"
/>
<
HeaderStyle
Wrap
=
"false"
/>
</
telerik:GridBoundColumn
>
Protected Sub RadGrid1_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound
If TypeOf e.Item Is Telerik.Web.UI.GridFilteringItem Then
'Populate Filters by binding the combo to datasource
Dim filteringItem As Telerik.Web.UI.GridFilteringItem = CType(e.Item, Telerik.Web.UI.GridFilteringItem)
Dim myRadComboBox As Telerik.Web.UI.RadComboBox = DirectCast(filteringItem.FindControl("RadComboBoxCustomerProgramDescription"), Telerik.Web.UI.RadComboBox)
myRadComboBox.DataSource = myDataSet
myRadComboBox.DataTextField = "CustomerProgramDescription"
myRadComboBox.DataValueField = "CustomerProgramDescription"
myRadComboBox.ClearSelection()
myRadComboBox.DataBind()
End If
I have a RadSearchBox within a RadGrid EditFormTemplate within a RadPanelBar. When dropping down the SearchContext, it flashes quickly and disappears without allowing it to be viewed or selected. ive tried setting the CollapseAnimation-Duration to a large number and that allows a user to see and select it, but then it has to wait to time out before being used. Below is my code snippet.
<telerik:RadPanelBar ID="RadPanelBar4" runat="server" Width="100%">
<Items>
<telerik:RadPanelItem runat="server" Text="Clauses" PreventCollapse="false">
<Items>
<telerik:RadPanelItem runat="server">
<ItemTemplate>
<telerik:RadGrid ID="rgClauses" runat="server" DataSourceID="sdsClauses"
AllowFiltering="True" AllowPaging="True" AllowSorting="True" ShowGroupPanel="False" Width="100%"
RenderMode="Auto" AutoGenerateColumns="False" ShowFooter="False" CellSpacing="-1" PageSize="5"
AllowAutomaticInserts="True" AllowAutomaticDeletes="True" AllowAutomaticUpdates="false"
GridLines="Both" GroupPanelPosition="Top" >
<GroupingSettings CaseSensitive="false" />
<ClientSettings AllowDragToGroup="True" AllowKeyboardNavigation="true" EnablePostBackOnRowClick="true">
<Resizing AllowColumnResize="True" ResizeGridOnColumnResize="True"></Resizing>
<Scrolling AllowScroll="false" UseStaticHeaders="True" />
</ClientSettings>
<MasterTableView GroupLoadMode="server" Width="100%" EnableViewState="true" ShowGroupFooter="True" GroupsDefaultExpanded="True"
DataKeyNames="ContractEngagementID,StandardizedClausesProvisionsID" ShowHeader="true" AllowAutomaticUpdates="false" CommandItemSettings-ShowAddNewRecordButton="true" CommandItemDisplay="Top">
<Columns>
<telerik:GridEditCommandColumn ButtonType="ImageButton" Reorderable="False" Resizable="False" UniqueName="insert">
<HeaderStyle HorizontalAlign="Center" Width="54px" Wrap="False"/>
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</telerik:GridEditCommandColumn>
<telerik:GridBoundColumn DataField="ContractEngagementID" DataType="System.Int32" FilterControlAltText="Filter ContractEngagementID column" HeaderText="ContractEngagementID" ReadOnly="True" SortExpression="ContractEngagementID" UniqueName="ContractEngagementID" Visible="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="StandardizedClausesProvisionsID" FilterControlAltText="Filter StandardizedClausesProvisionsID column" HeaderText="ID" SortExpression="StandardizedClausesProvisionsID" UniqueName="StandardizedClausesProvisionsID" ReadOnly="true" Visible="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="StandardizedClausesProvisions" FilterControlAltText="Filter StandardizedClausesProvisions column" HeaderText="Provision" SortExpression="StandardizedClausesProvisions" UniqueName="StandardizedClausesProvisions" ReadOnly="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="StandardizedClausesProvisionsType" FilterControlAltText="Filter StandardizedClausesProvisionsType column" HeaderText="Type" SortExpression="StandardizedClausesProvisionsType" UniqueName="StandardizedClausesProvisionsType" ReadOnly="true">
</telerik:GridBoundColumn>
<telerik:GridButtonColumn ConfirmText="Delete this entry?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" UniqueName="delete">
<FooterStyle Wrap="False" />
<HeaderStyle HorizontalAlign="Center" Width="25px" Wrap="False" />
<ItemStyle Wrap="False" />
</telerik:GridButtonColumn>
</Columns>
<EditFormSettings EditFormType="Template">
<FormTemplate>
<table id="Table2" width="100%" border="0" >
<tr>
<td>
<telerik:RadSearchBox ID="RadSearchBox1" runat="server" Width="500" DropDownSettings-Height="200px" IsCaseSensitive="false" RegisterWithScriptManager="true"
DataSourceID="sdsAvailableClauses"
DataTextField="StandardizedClausesProvisionsReference" DataValueField="StandardizedClausesProvisionsID" DataContextKeyField="StandardizedClausesProvisionsTypeID">
<SearchContext DataSourceID="sdsAvailableTypes" DataTextField="StandardizedClausesProvisionsType" DataKeyField="StandardizedClausesProvisionsTypeID">
</SearchContext>
</telerik:RadSearchBox>
</td>
</tr>
</table>
</FormTemplate>
</EditFormSettings>
</MasterTableView>
<PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
</telerik:RadGrid>
<asp:SqlDataSource ID="sdsClauses" ConnectionString="<%$ ConnectionStrings:ContractsConnectionString %>"
ProviderName="<%$ ConnectionStrings:ContractsConnectionString.ProviderName %>" runat="server"
SelectCommand="SELECT * FROM [Contracts].[dbo].[vwContractEngagementClauses] WHERE ([ContractEngagementID] = @ContractEngagementID)"
InsertCommand="usp_AddContractEngagementClause" InsertCommandType="StoredProcedure"
DeleteCommand="usp_DeleteContractEngagementClause" DeleteCommandType="StoredProcedure">
<SelectParameters>
<asp:ControlParameter ControlID="rtvContractEngagement" Name="ContractEngagementID" PropertyName="SelectedValue" Type="Int32" />
</SelectParameters>
<InsertParameters>
<asp:ControlParameter ControlID="rtvContractEngagement" Name="ContractEngagementID" PropertyName="SelectedValue" Type="Int32" />
<asp:ControlParameter ControlID="rgClauses" Name="StandardizedClausesProvisionsID" PropertyName="SelectedValue" Type="Int32" />
</InsertParameters>
<DeleteParameters>
<asp:ControlParameter ControlID="rgClauses" Name="ContractEngagementID" PropertyName="SelectedValue" Type="Int32" />
<asp:ControlParameter ControlID="rgClauses" Name="StandardizedClausesProvisionsID" PropertyName="SelectedValue" Type="Int32" />
</DeleteParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sdsAvailableClauses" ConnectionString="<%$ ConnectionStrings:ContractsConnectionString %>"
ProviderName="<%$ ConnectionStrings:ContractsConnectionString.ProviderName %>" runat="server"
SelectCommand="SELECT * FROM [Contracts].[dbo].[vwAvailableContractEngagementClauses] WHERE ([ContractEngagementID] = @ContractEngagementID) " >
<SelectParameters>
<asp:ControlParameter ControlID="rtvContractEngagement" Name="ContractEngagementID" PropertyName="SelectedValue" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sdsAvailableTypes" ConnectionString="<%$ ConnectionStrings:ContractsConnectionString %>"
ProviderName="<%$ ConnectionStrings:ContractsConnectionString.ProviderName %>" runat="server"
SelectCommand="SELECT * FROM [Contracts].[dbo].[StandardizedClausesProvisionsType] WHERE ([Enabled] = 1) " >
</asp:SqlDataSource>
</ItemTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelBar>
Hello,
I have a radasync control with the expiration of 5 seconds (for testing). My local version has the temporary location set to ~/temp/ and it works perfectly. On my remote server, It is set up as a website and the temporary location is set to /temp/. The files get places there successfully, however, they do not get deleted and there is no way for me to check any kind of logs associated with this server. I have checked the permissions and it has all the proper permissions set. What could be causing this? Any help would be greatly appreciated!
Hi,
I have a ribbon bar that has a ribbon bar template item. Inside the template is a RadToolBar. When I load my page in Chrome, I get a client error. I don't receive the same error when using Internet Explorer. If I take the radtoolbar out, the error no longer occurs. The error is causing my page to stop loading. I have attached a simple example below. If you run this page in Chrome you will see the error via the F12 developer console. It says "Value must not be null for Controls and Behaviors". Any help with this would be greatly appreciated.
Thank you!
Richard
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebTestApplication.Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
runat
=
"server"
></
asp:ScriptManager
>
<
telerik:RadRibbonBar
ID
=
"TestRibbonBar"
runat
=
"server"
EnableAjaxSkinRendering
=
"true"
Visible
=
"True"
Skin
=
"Windows7"
Width
=
"100%"
Height
=
"100px"
CssClass
=
"RadToolBarHeight"
>
<
telerik:RibbonBarTab
ID
=
"rbtTest"
Width
=
"250px"
>
<
telerik:RibbonBarGroup
ID
=
"rbgSearch"
Text
=
"Search Tests"
Value
=
"TestSearch"
BorderStyle
=
"None"
CssClass
=
"TestSearchBar"
>
<
Items
>
<
telerik:RibbonBarTemplateItem
ID
=
"rbtItem"
BorderStyle
=
"None"
CssClass
=
"TestSearchBar"
>
<
Template
>
<
telerik:RadToolBar
ID
=
"tlbSearch"
runat
=
"server"
CausesValidation
=
"False"
AutoPostBack
=
"True"
CssClass
=
"TestSearchBar"
Skin
=
"Windows7"
BorderStyle
=
"None"
>
<
Items
>
<
telerik:RadToolBarButton
CommandName
=
"SearchBy"
CommandArgument
=
"none"
runat
=
"server"
Text
=
""
CausesValidation
=
"false"
CssClass
=
"TestSearchBar_SearchByBtn"
>
<
ItemTemplate
>
</
ItemTemplate
>
</
telerik:RadToolBarButton
>
</
Items
>
</
telerik:RadToolBar
>
</
Template
>
</
telerik:RibbonBarTemplateItem
>
</
Items
>
</
telerik:RibbonBarGroup
>
</
telerik:RibbonBarTab
>
</
telerik:RadRibbonBar
>
</
form
>
</
body
>
</
html
>
Hi,
I am using the ClientExportManager to export to Pdf the HTML content of a Div .
The pdf is generated correctly but the special characters (é,è,€) have been replace ( by Ø,Ł,‹).
I have tried to to set a different fonts but i get the same result every time.
The characters are correctly displayed on the page but are changed on the pdf.
Is there any way to force a set of characters ?
How can I fix this problem ?
Thanks for your time .
protected
void
OnItemCreated(
object
sender, GridItemEventArgs e)
{
GridFilteringItem item = e.Item
as
GridFilteringItem;
if
(item !=
null
)
{
RadComboBox planIdCombo = (RadComboBox)item.FindControl(
"planIdFilterComboBox"
);
RadComboBox pbpIdCombo = (RadComboBox)item.FindControl(
"pbpIdFilterComboBox"
);
planIdCombo.DataSource = SNPConfigView.Select(t => t.PlanID).Distinct().OrderBy(t => t);
planIdCombo.DataBind();
planIdCombo.SelectedValue = e.Item.OwnerTableView.GetColumn(
"PlanId"
).CurrentFilterValue;
pbpIdCombo.DataSource = SNPConfigView.Where(t => t.PlanID == planIdCombo.SelectedValue ||
string
.IsNullOrEmpty(planIdCombo.SelectedValue)).Select(t => t.PBPID).Distinct().OrderBy(t => t);
pbpIdCombo.DataBind();
pbpIdCombo.SelectedValue = e.Item.OwnerTableView.GetColumn(
"PbpId"
).CurrentFilterValue;
}
}
<
telerik:GridBoundColumn
DataField
=
"PlanId"
HeaderText
=
"Plan ID"
UniqueName
=
"PlanId"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"EqualTo"
ShowFilterIcon
=
"false"
FilterControlWidth
=
"70px"
>
<
ItemStyle
CssClass
=
"center"
></
ItemStyle
>
<
FilterTemplate
>
<
telerik:RadComboBox
ID
=
"planIdFilterComboBox"
Width
=
"60"
AppendDataBoundItems
=
"True"
OnItemDataBound
=
"OnPlanIdFilterComboItemDataBound"
SelectedValue='<%# Container.OwnerTableView.GetColumn("PlanId").CurrentFilterValue %>' runat="server" OnClientSelectedIndexChanged="PlanIdFilterComboIndexChanged">
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"All"
Value
=
""
/>
</
Items
>
</
telerik:RadComboBox
>
<
telerik:RadScriptBlock
ID
=
"planIdFilteringScripBlock"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function PlanIdFilterComboIndexChanged(sender, args) {
var tableView = $find("<%# Container.OwnerTableView.ClientID %>");
tableView.filter("PlanId", args.get_item().get_value(), "EqualTo");
}
</
script
>
</
telerik:RadScriptBlock
>
</
FilterTemplate
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"PBPID"
HeaderText
=
"PBP"
UniqueName
=
"PBPID"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"Contains"
ShowFilterIcon
=
"false"
FilterControlWidth
=
"40px"
>
<
HeaderStyle
Width
=
"70px"
></
HeaderStyle
>
<
ItemStyle
CssClass
=
"center"
></
ItemStyle
>
<
FilterTemplate
>
<
telerik:RadComboBox
ID
=
"pbpIdFilterComboBox"
Width
=
"60"
EnableViewState
=
"False"
OnItemDataBound
=
"OnPbpIdFilterComboItemDataBound"
SelectedValue='<%# Container.OwnerTableView.GetColumn("PBPID").CurrentFilterValue %>' runat="server" OnClientSelectedIndexChanged="PbpIdFilterComboIndexChanged">
</
telerik:RadComboBox
>
<
telerik:RadScriptBlock
ID
=
"pbpIdFilteringScripBlock"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function PbpIdFilterComboIndexChanged(sender, args) {
var tableView = $find("<%# Container.OwnerTableView.ClientID %>");
tableView.filter("PBPID", args.get_item().get_value(), "EqualTo");
}
</
script
>
</
telerik:RadScriptBlock
>
</
FilterTemplate
>
</
telerik:GridBoundColumn
>
Hello guys,I have a problem with a text color in radEditor. Setting an html to radEditor content on code behind, on UI a part of the text appears in color green despite the fact that no green color is reffered in style, there is only "color:inherit" for a span.
It is easy to reproduce. Here is the test case for you :
<telerik:RadEditor ID="txtNotes" runat="server" EditModes="Design" Width="900px" BorderWidth="1"
Height="420px" ContentAreaMode="Div"
NewLineMode="Br" EnableTrackChanges="false" StripFormattingOnPaste="NoneSupressCleanMessage">
<ExportSettings OpenInNewWindow="true">
</ExportSettings>
</telerik:RadEditor>
I attached a pict with the resulting UI . Bellow you have the html code. The only modification we are doing is that we are extracting the body content from html and set it to radEditor like this :txtNotes.Content = bodyText from file ;
HTML CODE FOR RADEDITOR:
?<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <STYLE type=text/css> P, UL, OL, DL, DIR, MENU, PRE { margin: 0 auto;}</STYLE> <META name=GENERATOR content="MSHTML 8.00.6001.19298"></HEAD> <BODY leftMargin=1 rightMargin=1 topMargin=1><strong><em>02/25-<span style="color: inherit; line-height: 1;">Any new developments on this I-Lead? There has got to be a
way we can secure this business with all that activity in Sunnyvale and the
relationships we have.</span></em></strong>
<p class="MsoNormal"><strong><em></em></strong></p>
<p class="MsoNormal"><strong><em>Let’s work together to make this happen at the right rate
and stay pattern!!!</em></strong></p></BODY></HTML>