Hello,
I have issue with RadGrid1.MasterTableView.FilterExpression. I have to use parametrized stored procedures in my project. In the RadGrid, there are some numeric columns which I want to have CurrentFilterFunction="Contains". Because of that EnableLinqExpressions has to be set to true.
The result is, that value in the FilterExpression is shown in the Linq syntax instead of SQL syntax:
Linq: "(it[\"SAP_sklad\"].ToString().ToUpper().Contains(\"01\".ToUpper()))"
SQL: "([SAP_sklad] LIKE '%01%')";
Does somebody know, how can I easily convert a FilterExpression value from linq format to standard SQL format ?
I've found this link, where are exactly described all differences between Linq and SQL.
http://www.telerik.com/help/aspnet-ajax/grid-operate-with-filter-expression-manually.html
Please, help me to solve this issue.
Thank you
Best regards
Vasssek
Hi,
Telerik 3Q 2013
New to telerik, have experience with other control suites.
I'm taking a dive into the Pivot Grid and running into some issues.
I would like to utilize a Configuration Panel with a pivot grid. I've set the appropriate properties and the configuration panel is not displaying.
I'm setting the data source at runtime via a DataTable.
I've opened the Demo project and noticed the configuration panel is built via the qsf namespace i.e. Telerik.QueckStart project.
Is there a two separate approaches to implementing the configuration panel?
The columns provided by the DataTable, have to be set to a column or a row? I would like to give the user the ability drag and drop to and row or a column as they slice and dice data.
I'm developing an ASP.NET Web Application in C#.
The user is selecting some listed values from radcombobox. Those values are being saved in Database. When the same user login and select the combo box, already selected values should be visible but shouldn't be get selected. I need to disable the values... Is there any options to do it.
Note : I'm populating the combo-box items from a database table.
function pageLoad() {
proxy.GetScreeningsByZipCode44212(updateGrid);
}
function updateGrid(results) {
alert("<%= rdScreenings.ClientID %>");
var radgrid = $find("<%= rdScreenings.ClientID %>");
alert('got radgrid');
var tableview = $find("<%= rdScreenings.ClientID %>").get_masterTableView();
alert('before datasource');
tableview.set_dataSource(results);
tableview.dataBind();
}
function refreshData() {
proxy.GetScreeningsByZipCode44212(updateGrid);
}
</script>
</telerik:RadScriptBlock>
// snippets of the html & controls
<asp:ScriptManager ID="scriptManager" runat="server">
<Services>
<asp:ServiceReference Path="~/proxy.asmx" />
</Services>
</asp:ScriptManager>
I am using ASPNET AJAX Q1 2009
Imports Microsoft.VisualBasicImports SystemImports System.WebImports System.Web.UIImports System.TextImports System.Web.ConfigurationImports Telerik.Web.UIPartial Class Main Inherits System.Web.UI.Page Public aEditButton(11) As RadButton Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load Dim x As Integer = 0 Do While x < 10 aEditButton(x) = New RadButton aEditButton(x).Text = "Edit" aEditButton(x).ID = "EButton" & x AddHandler aEditButton(x).Click, AddressOf Me.EditText RadMultiPage1.PageViews(0).Controls.Add(New LiteralControl("<table><tr><td style=""width: 45px""></td><td>" & x & "</td><td>")) RadMultiPage1.PageViews(0).Controls.Add(aEditButton(x)) RadMultiPage1.PageViews(0).Controls.Add(New LiteralControl("</td></tr></table>")) x += 1 Loop End Sub Private Sub EditText(ByVal sender As Object, ByVal e As System.EventArgs) Dim buttonId As String Dim x As Integer buttonId = DirectCast(sender, RadButton).ID x = Mid(buttonId & " ", 8, 2) Editor1.Content = x editFindings.Items.Add(New RadComboBoxItem(x, x)) Dim script As String = "function f(){$find(""" + modalPopup.ClientID + """).show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);" ScriptManager.RegisterStartupScript(Page, Page.GetType(), "key", script, True) Label1.Text += "Got Here..." End Sub Protected Sub bReturn_Click(sender As Object, e As EventArgs) Handles bReturn.Click Label1.Text += "Exit Page..." End Sub Protected Sub Timer1_Tick(sender As Object, e As System.EventArgs) Handles Timer1.Tick 'Processing code here ... Label1.Text = "[Auto Stored @ " & Date.Now.ToLocalTime & "]" End Sub Protected Sub editSave_Click(sender As Object, e As EventArgs) Handles editSave.Click Label1.Text += "From Editor:[" & Editor1.Content & "]" End Sub Protected Sub editAdd_Click(sender As Object, e As EventArgs) Handles editAdd.Click Editor1.Content = Editor1.Content & "<br/>" & editFindings.SelectedValue End SubEnd Class<%@ Page Title="" Language="VB" AutoEventWireup="false" CodeFile="!Test1.aspx.vb" Inherits="Main" %><html> <head runat="server"> <title> Test </title> </head><form id="form1" runat="server"> <body id="mainBody" runat="server"> <telerik:RadScriptManager ID="ScriptManager1" runat="server"></telerik:RadScriptManager> <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Office2010Blue" EnableRoundedCorners="true" /> <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" Runat="server"></telerik:RadStyleSheetManager> <asp:Label ID="Label1" runat="server"></asp:Label><br /> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" > <AjaxSettings> <telerik:AjaxSetting AjaxControlID="Timer1"> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <asp:Panel ID="Panel1" runat="server" BorderStyle="Ridge" BorderWidth="3px" Width="95%" HorizontalAlign="Left" DefaultButton="bReturn"> <table style="width:100%"> <tr> <td style="text-align: left"> <telerik:RadButton ID="bReturn" runat="server" Text="Return" Width="180px" Font-Size="16px"></telerik:RadButton> </td> </tr> </table> <telerik:RadMultiPage ID="RadMultiPage1" runat="server" Width="100%" SelectedIndex="0"> <telerik:RadPageView ID="PageView1" runat="server"></telerik:RadPageView> <telerik:RadPageView ID="PageView2" runat="server" Width="100%"></telerik:RadPageView> </telerik:RadMultiPage> </asp:Panel> <asp:Panel ID="Panel2" runat="server"> <asp:Timer ID="Timer1" runat="server" Interval="120000" OnTick="Timer1_Tick"/> <telerik:RadWindow ID="modalPopup" runat="server" Width="725px" Height="360px" Modal="true" > <ContentTemplate> <div> <table style="width:725px"> <tr> <td> <asp:Label ID="editL1" runat="server" Text="Use this editor to formulate your response to this category"></asp:Label> </td> <td style="text-align:right"> <telerik:RadButton ID="editSave" Text="Save" AutoPostBack="false" CausesValidation="false" runat="server" /> </td> </tr> </table> <telerik:RadEditor Width="725px" Height="300px" EditModes="Design" ID="Editor1" runat="server"></telerik:RadEditor><br /> <asp:Label ID="edit2" runat="server" Text="Choose Item to add to Findings Above"></asp:Label><br /> <telerik:RadComboBox ID="editFindings" Width="420px" runat="server"></telerik:RadComboBox> <telerik:RadButton ID="editAdd" Text="Add" AutoPostBack="false" CausesValidation="false" runat="server" /> </div> </ContentTemplate> </telerik:RadWindow> </asp:Panel> </body></form></html>I set the OverwriteExistingFiles attribute to false, but files are being overwritten any way?
Version:2010.2.817.20
Here is my code:
<
telerik:RadAsyncUpload runat="server" ID="AsyncUpload" Skin="Office2007" OverwriteExistingFiles="false" MultipleFileSelection="Automatic" Width="250" OnFileUploaded="RadAsyncUpload1_FileUploaded">
</
telerik:RadAsyncUpload>