Hi,
There seem to be a bug with RadCloudUpload when uploading files containing accents even when removing the accents using SetKeyName . You can reproduce the problem using the online demo:
http://demos.telerik.com/aspnet-ajax/cloud-upload/examples/overview/defaultcs.aspx
Try to upload a file named testé.txt and it will simply spin forever... with the Azure Provider it will give a 400 bad request error.
This bug occurs even when using a custom keyname (ie: renaming testé.txt to test.txt)
It looks like it's posting an empty keyname in the form-data / metadata
------WebKitFormBoundary27qdoJuKD1bZGORUContent-Disposition: form-data; name="rcuConfigurationData" o7YTRi9y7g5a87elRnSedOyIfTEV6yRP4qSiSAbpKNqJACur2dz8NDNMqtQYwyZm+gslxpwauOF6zoZHoyrVz4z+x6D3YzCZt0GJWxCPX96H/e9o635zvsgBjRPk0kV0cj+OKg==
------WebKitFormBoundary27qdoJuKD1bZGORUContent-Disposition: form-data; name="file"; filename="blob"Content-Type: application/octet-strea------WebKitFormBoundary27qdoJuKD1bZGORUContent-Disposition: form-data; name="rcuPostData" {"KeyName":"","OriginalName":"testé.txt","UploadId":"","IsSingleUpload":true,"IsLastChunk":true,"ChunkNumber":1,"PartEtags":[]}------WebKitFormBoundary27qdoJuKD1bZGORU--
Exception thrown for upload operation for file with keyName: test.txt
Telerik.Web.UI.CloudUploadProviderException
at Telerik.Web.UI.AzureProvider.UploadFileOnSigleRequest(String keyName, NameValueCollection metaData, Stream fileStream)
at Telerik.Web.UI.AzureProvider.UploadFile(String keyName, NameValueCollection metaData, Stream fileStream)
at Telerik.Web.UI.CloudUpload.BaseWorker.PerformSingleRequestUpload()
at Telerik.Web.UI.CloudUpload.BaseWorker.Process()
at Telerik.Web.UI.CloudUploadHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Telerik.Web.UI
The remote server returned an error: (400) Bad Request.
Microsoft.WindowsAzure.Storage.StorageException
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.SetMetadata(AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
at Telerik.Web.UI.AzureProvider.UploadFileOnSigleRequest(String keyName, NameValueCollection metaData, Stream fileStream)
Microsoft.WindowsAzure.Storage
The remote server returned an error: (400) Bad Request.
System.Net.WebException
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
I am using Telerik 2015.1.401.45
Please let me know if a hotfix or workaround is possible.
Thanks,
Kim
I currently have a RadGrid with an EditForm section where I am defining the layout of edit mode. The mode is being set to PopUp, so the editing is done in the pop-up windows.
However, the pop-up will move back to it's original position on a postback, since it contains dependent dropdowns and requires database queries. As I understand from other posts, this behavior can't really be fixed. Either way - I would like to lock the position of the edit pop-up to prevent movement and other behaviors as is done in a RadWindow with the "Behaviors" tag. Is this possible to do with the edit pop-up in a radgrid? I do not see an option that would allow this in the EditForm PopUpSettings tag.
Thanks,
James
Hi,
I find that text on tab in sliding zone is not displayed correctly in latest Firefox 43.0.1.
You can see it also in your demo Splitter Demo only 'Deco' is visible instead of 'Decorate Pages' as it is in other browsers.
Please let me know if there is any workaround for this issue.
Thank you,
Petr
Hello,
I have a combobox which have the proprety disabled=true
I open firebug, select the combobox and delete the property disabled=disabled
Now I can select other values from the combobox using the keybord arrows (up and down). Values that I am not supposed to have access to.
Is there a fix or something that I need to do ?
I have a bunch of different docks containing a listviews on a page. See example below. We are using custom docklayout storage -see below. My question is why is LoadStateFromStorage called before a paging event and then SaveStateToStorage is called after it. So whenever a user pages, there are 3 calls to the database.
Public Class DockLayoutStorage
Implements IStateStorageProvider
Public Function LoadStateFromStorage(key As String) As String Implements IStateStorageProvider.LoadStateFromStorage
Dim params As List(Of SqlParameter)
params = New List(Of SqlParameter)
params.Add(New SqlParameter("@User_Id", key))
Return OGC.Toolkit.Misc.DataAccess.ExecuteScalar("GetDockState", params, "csxxxx").ToString
End Function
Public Sub SaveStateToStorage(key As String, serializedState As String) Implements IStateStorageProvider.SaveStateToStorage
Dim params As List(Of SqlParameter)
params = New List(Of SqlParameter)
params.Add(New SqlParameter("@User_Id", key))
params.Add(New SqlParameter("@Dock_State", serializedState))
OGC.Toolkit.Misc.DataAccess.ExecuteQuery("InsUpdDockStates", params, "csxxx")
End Sub
<telerik:RadDock runat="server" ID="dockNotifications" Title="Notifications" Style="margin-bottom: 5px; margin-top: 5px" DefaultCommands="ExpandCollapse" EnableAnimation="true"
AutoPostBack="true" DockMode="Docked" CommandsAutoPostBack="true" EnableRoundedCorners="true">
<ContentTemplate>
<telerik:RadAjaxPanel ID="upNotifications" runat="server" LoadingPanelID="uprgNotifications">
<asp:ListView runat="server" ID="lvNotifications" DataSourceID="odsNotifications">
<LayoutTemplate>
<asp:PlaceHolder runat="server" ID="itemPlaceHolder"></asp:PlaceHolder>
<telerik:RadDataPager ID="dpNotifications" runat="server" PagedControlID="lvNotifications" PageSize="5" Skin="Default" OnCommand="dp_Command">
<Fields>
<telerik:RadDataPagerButtonField FieldType="FirstPrev"></telerik:RadDataPagerButtonField>
<telerik:RadDataPagerButtonField FieldType="Numeric"></telerik:RadDataPagerButtonField>
<telerik:RadDataPagerButtonField FieldType="NextLast"></telerik:RadDataPagerButtonField>
<telerik:RadDataPagerPageSizeField PageSizeText="Page size: " PageSizes="5,10,20,50" HorizontalPosition="RightFloat" PageSizeControlType="RadDropDownList"></telerik:RadDataPagerPageSizeField>
</Fields>
</telerik:RadDataPager>
</LayoutTemplate>
<ItemTemplate>
<fieldset class="dock">
<legend style="font-weight: bold"><%#Eval("Notification_Header")%></legend>
<asp:Literal runat="server" ID="litNotificationText"></asp:Literal>
</fieldset>
</ItemTemplate>
<EmptyDataTemplate>
<div class="center" style="margin-top: 5px">No notifications available.</div>
</EmptyDataTemplate>
</asp:ListView>
<asp:ObjectDataSource ID="odsNotifications" runat="server" TypeName="xxx.DataAccess" SelectMethod="GetDataTable">
<SelectParameters>
<asp:Parameter Name="sProc" DefaultValue="xxxGetNotifications" />
<asp:Parameter Name="params" />
<asp:Parameter Name="connStr" DefaultValue="csxxx />
</SelectParameters>
</asp:ObjectDataSource>
</telerik:RadAjaxPanel>
<telerik:RadAjaxLoadingPanel ID="uprgNotifications" runat="server" Skin="Default" MinDisplayTime="0"></telerik:RadAjaxLoadingPanel>
</ContentTemplate>
</telerik:RadDock>
Hello
I have a simple Grid With many Columns and I Add "Export to Excel" to it. I can Export Easily
but I want better Excel File.I mean I want add some Other Information to Excel File Which are not in Grid For Example 'Creation DateTime','The name of someone who Exported' and ... .and I want to format them .for example Bold or Italic .
I dont want use "caption" because it is simple.
Is another way to achive this Goal?
<form id="form1" runat="server"> |
<div> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
</telerik:RadAjaxManager> |
<br /> |
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:gulfcoastConnectionString %>" |
SelectCommand="SELECT [QID], [Question] FROM [mttestquestions]"></asp:SqlDataSource> |
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:gulfcoastConnectionString %>" |
SelectCommand="SELECT [Choice], [Selectvalue], [QID] FROM [mttestChoices] WHERE ([QID] = @QID)"> |
<SelectParameters> |
<asp:ControlParameter ControlID="RadGrid1" Name="QID" PropertyName="DataSource" /> |
</SelectParameters> |
</asp:SqlDataSource> |
</div> |
<br /> |
<br /> |
<br /> |
<br /> |
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" |
GridLines="None" Skin="Sunset"> |
<MasterTableView DataSourceID="SqlDataSource1"> |
<EditItemTemplate> |
|
</EditItemTemplate> |
<RowIndicatorColumn> |
<HeaderStyle Width="20px" /> |
</RowIndicatorColumn> |
<ExpandCollapseColumn> |
<HeaderStyle Width="20px" /> |
</ExpandCollapseColumn> |
<Columns> |
<telerik:GridBoundColumn DataField="QID" DataType="System.Int32" HeaderText="QID" |
SortExpression="QID" UniqueName="QID"> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Question" HeaderText="Question" SortExpression="Question" |
UniqueName="Question"> |
</telerik:GridBoundColumn> |
</Columns> |
<ItemTemplate> |
<asp:Label ID="LABELQID" runat="server" Text='<%# Eval("QID") %>' AssociatedControlID="RadioButtonList1"></asp:Label> |
<asp:Label ID="Label2" runat="server" Text=". "></asp:Label> |
<asp:Label ID="Label3" runat="server" Text='<%# Eval("Question") %>'></asp:Label><br /> |
<asp:RadioButtonList ID="RadioButtonList1" runat="server" DataSourceID="SqlDataSource2" |
DataTextField="Choice" DataValueField="Selectvalue"> |
</asp:RadioButtonList> |
</ItemTemplate> |
</MasterTableView> |
<FilterMenu EnableTheming="True" Skin="Sunset"> |
<CollapseAnimation Duration="200" Type="OutQuint" /> |
</FilterMenu> |
</telerik:RadGrid> |
</form> |
</body> |
Hello,
I'm having some trouble with my filter template on a GridDatetimeColumn. It's happenig only when I try the Between or NotBetween function.
The thing is:
I can normally call the method filter() from the table view client object.
I have all parameters like this example:
1.
// columnUnique = 'dateColumn'
2.
// value = '01/12/2015 31/12/2015'
3.
// cont = 11 (Between function from the Telerik.Web.UI.GridFilterFunction.Between)
4.
5.
tableView.filter(columnUnique, value, cond,
true
);
When this method is called, it's not fired to the server.
If I change the function to something like EqualsTo (in this case, the 31/12/2015 part is omitted and only the first part is used), the same method works fine.
In the grid setup, I set all date columns to EnableRangeFiltering = true;
I also tried the grid without my filter template to check the built-in funtion. That way, the command was fired on the server and the value was just like the example. ('01/12/2015 31/12/2015')
I need to use the template because of some requirements and the date column's is the only one that's giving more trouble.
Thanks for the help