Hi, I'm having an issue where the edit form is transparent in lightweight mode so it looks very odd all you can see is text, I'm using lightweight mode as I have the year view in use and that requires lightweight mode, in classic rendermode I can see the edit form it's just when I change to lightweight for some reason it turn transparent does anyone know why?
Thanks
I am attempting to populate 2 grids with simple server-side databinding to Data tables using the OnSelectedIndexChange event from another grid. I am able to verify that the data is bound to the grids. However, the grids will not display any data. No error messages are thrown.
Thank you in advance for any help provided.
Grid Markup:
<%-- ** This is the main Grid to pouplate "GridDiag" and "GridServices" OnSelectedIndexChange event. --%>
<telerik:RadGrid ID="GridClaims" runat="server" AutoGenerateColumns="false" Width="100%" CssClass="Gridheight3" AllowPaging="false" ShowGroupPanel="false" OnSelectedIndexChanged="GridClaims_SelectedIndexChanged">
<ClientSettings Scrolling-AllowScroll="true" Resizing-AllowColumnResize="true" Selecting-AllowRowSelect="true" EnablePostBackOnRowClick="true">
</ClientSettings>
<MasterTableView Name="Claims" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="9pt" ItemStyle-Font-Size="9pt" HeaderStyle-Width="200px">
<Columns>
<telerik:GridBoundColumn DataField="UM_Row_ID" UniqueName="UM_Row_ID" DataType="System.Int32" Visible="false"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Claim_Number" UniqueName="Claim_Number" DataType="System.String" HeaderText="Claim ID" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="First_DOS" UniqueName="First_DOS" DataType="System.DateTime" DataFormatString="{0:d}" HeaderText="Start Date" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Last_DOS" UniqueName="Last_DOS" DataType="System.DateTime" DataFormatString="{0:d}" HeaderText="End Date" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Form_Type" UniqueName="Form_Type" DataType="System.String" HeaderText="Form" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Claim_Status" UniqueName="Claim_Status" DataType="System.String" HeaderText="Status" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Clean_Date" UniqueName="Clean_Date" DataType="System.DateTime" DataFormatString="{0:d}" HeaderText="Clean Date" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Primary_Diag_Code" UniqueName="Primary_Diag_Code" DataType="System.String" HeaderText="Primary Diag" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Diag_Description" UniqueName="Diag_Description" DataType="System.String" HeaderText="Description" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Pay_to_Provider" UniqueName="Pay_to_Provider" DataType="System.String" HeaderText="Pay To" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Practitioner" UniqueName="Practitioner" DataType="System.String" HeaderText="Practitioner" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Total_Amount_Billed" UniqueName="Total_Amount_Billed" DataType="System.String" HeaderText="Total Billed" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Total_Amount_Paid" UniqueName="Total_Amount_Paid" DataType="System.String" HeaderText="Total Paid" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Payment_Date" UniqueName="Payment_Date" DataType="System.DateTime" DataFormatString="{0:d}" HeaderText="Date Paid" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Approve_Deny_Date" UniqueName="Approve_Deny_Date" DataType="System.DateTime" DataFormatString="{0:d}" HeaderText="Status Date" ItemStyle-Font-Size="9pt"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
<telerik:RadGrid ID="GridServices" runat="server" AutoGenerateColumns="false" Width="100%" CssClass="Gridheight4" AllowPaging="false" ShowGroupPanel="false">
<ClientSettings Scrolling-AllowScroll="true">
<Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="false" AllowColumnResize="True"></Resizing>
</ClientSettings>
<MasterTableView Name="Services" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="9pt" HeaderStyle-Width="200px" ItemStyle-Font-Size="9pt">
<Columns>
<telerik:GridBoundColumn DataField="UM_Row_ID" UniqueName="UM_Row_ID" DataType="System.Int32" Visible="false"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Claim_Number" UniqueName="Claim_Number" DataType="System.String" Visible="false"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Claim_Line" UniqueName="Claim_Line" DataType="System.Int32" HeaderText="Line #" HeaderStyle-Width="70px"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Service_Code" UniqueName="Service_Code" DataType="System.String" HeaderText="Svc Code"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Code_Description" UniqueName="Code_Description" DataType="System.String" HeaderText="Description"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Status" UniqueName="Status" DataType="System.String" HeaderText="Status"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="First_DOS" UniqueName="First_DOS" DataType="System.DateTime" DataFormatString="{0:d}" HeaderText="FDOS"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Last_DOS" UniqueName="Last_DOS" DataType="System.DateTime" DataFormatString="{0:d}" HeaderText="LDOS"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="POS_Code" UniqueName="POS_Code" DataType="System.String" HeaderText="POS" HeaderStyle-Width="70px"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Copay" UniqueName="Copay" DataType="System.String" HeaderText="Copay"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Amount_Billed" UniqueName="Amount_Billed" DataType="System.String" HeaderText="Charges"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Amount_Paid" UniqueName="Amount_Paid" DataType="System.String" HeaderText="Paid"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
<telerik:RadGrid ID="GridDiag" runat="server" AutoGenerateColumns="false" Width="100%" CssClass="Gridheight4" AllowPaging="false" ShowGroupPanel="false">
<ClientSettings Scrolling-AllowScroll="true">
<Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="false" AllowColumnResize="True"></Resizing>
</ClientSettings>
<MasterTableView Name="Diags" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="9pt" HeaderStyle-Width="200px" ItemStyle-Font-Size="9pt">
<Columns>
<telerik:GridBoundColumn DataField="UM_Row_ID" UniqueName="UM_Row_ID" DataType="System.Int32" Visible="false"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Claim_Number" UniqueName="Claim_Number" DataType="System.String" Visible="false"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Diag_Number" UniqueName="Diag_Number" DataType="System.Int32" HeaderText="Sequence" HeaderStyle-Width="75px"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Diag_Code" UniqueName="Diag_Code" DataType="System.String" HeaderText="Code"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Description" UniqueName="Description" DataType="System.String" HeaderText="Description"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Type" UniqueName="Type" DataType="System.String" HeaderText="Type"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
VB.NET:
Protected Sub GridClaims_SelectedIndexChanged(sender As Object, e As EventArgs) Handles GridClaims.SelectedIndexChanged
Dim items As GridDataItem() = GridClaims.MasterTableView.GetSelectedItems()
Dim ClaimID As String = items(0).Cells.Item(3).Text
If ClaimID.Length > 9 Then
FillDiagGrid(ClaimID)
FillServiceGrid(ClaimID)
End If
End Sub
Protected Sub FillClaimsGrid()
'Binds the Claims Header Grid This works and displays fine
If strSource = "UM" Then
If dt_UM_Claims.Rows.Count > 0 Then
GridClaims.DataSource = Nothing
GridClaims.MasterTableView.DataSource = Nothing
GridClaims.MasterTableView.DataSource = dt_UM_Claims.DefaultView
GridClaims.DataSource = dt_UM_Claims.DefaultView
GridClaims.MasterTableView.DataBind()
GridClaims.DataBind()
End If
End sub
Protected Sub FillDiagGrid(ByVal strClaimID As String)
'Data is binding but does not display
Dim vwDiag As DataView = dt_UM_Claim_Diagnosis.DefaultView
Dim strRecord As String = txtRecordID.Text
Dim strFilter As String = "Claim_Number = '" & strClaimID & "'"
vwDiag.RowFilter = strFilter
vwDiag.RowStateFilter = DataViewRowState.CurrentRows
GridDiag.DataSource = Nothing
GridDiag.MasterTableView.DataSource = Nothing
GridDiag.MasterTableView.DataSource = vwDiag.Table.DefaultView
GridDiag.MasterTableView.DataBind()
GridDiag.DataSource = vwDiag.Table.DefaultView
GridDiag.DataBind()
End Sub
Protected Sub FillServiceGrid(ByVal strClaimID As String)
'Data is binding but does not display
Dim tblView As DataView = dt_UM_Claim_Services.DefaultView
Dim strFilter As String = "Claim_Number = '" & strClaimID & "'"
tblView.RowFilter = strFilter
tblView.RowStateFilter = DataViewRowState.CurrentRows
GridServices.DataSource = Nothing
GridServices.MasterTableView.DataSource = Nothing
GridServices.MasterTableView.DataSource = tblView.Table.DefaultView
GridServices.MasterTableView.DataBind()
GridServices.DataSource = tblView.Table.DefaultView
GridServices.DataBind()
End Sub
We are using Telerik.Web.UI (version - 2012.2.607.40) in Asp.net application (.Net framework 4.6).
The application sometimes throws an exception and upon an investigation of IIS logs, we find that it is related to some Telerik issue.
please see attached log for details.
---------------------------------------
ExceptionHi Scenario is like when I have made a grouping in my kendo grid and after that if try to search the Id(int) of the grid it throws an error also my grid is server side . getting the error when I am trying to return the list from the controller also it works fine for other columns that are of type string . only the error is coming if we try to search after grouping .
return isGrouping ? Json(lstofToolAction.ToDataSourceResult(request), JsonRequestBehavior.AllowGet) : Json(new { Data = lstofToolAction, Total = total }, JsonRequestBehavior.AllowGet);
Error :
Provided expression should have string type\r\nParameter name: stringExpression filter.
Hello!
I wanted to know if there was a design where the hours of each day can be put under the header, horizontally, instead of vertically and on the sides.
This interests me because I am working on a project within my company and that format is the one I need, because I will be adding tasks for multiple people at once therefore tasks can be parallel as shown in the attached screenshot.
Thank you!
Hello there!
I've got a DAT file that I am trying to display its content in a RadTextBox.
I've done that, however the problem is the formatting. I will be sharing screenshots of how I want it to be formatted and how it is actually formatting it. I've spent a few hours looking with no results therefore I hope a way exits to do this.
The image DatFile.png contains a screenshot of how my file looks like, with vertical and horizontal scrollbars to keep the text formatted in a readable way and only wrapping the text when the line is finished. If the line is too long, an horizontal scroll allows you to navigate and see the rest of the line without actually wrapping it to a new line and making it very hard to read.
The image code.png contains a screenshot of how it is being formatted in my RadTextBox.
The code below is the code of the RadTextBox on my aspx page
<telerik:RadTextBox ID="RadTextBox1" Runat="server" ReadOnly="True" TextMode="MultiLine" Resize="Both" Text='<%# Eval("FichierGrtn") %>' Width="1750px" Height="800px">
</telerik:RadTextBox>
After inserting the code above, I have just realized that the text box you guys used to insert the colored code is exactly the same thing I want for my text box to behave. I have included a screenshot for that as well under the name of "forums.png".
Please check all the attached screenshots in order to have a better idea regarding the problem I'm facing.
Thank you!
Hello!
I was trying to use the RadScheduler, therefore I went and checked out its demos and tried to download each one of them to test it and to make it work for me to better understand how that control works.
However, the problem is that none of the demos worked, each one of them either missed a file (xml) or a database (I recreated the used databases but I still had other errors)
Finally I tried this demo https://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultvb.aspx?show-source=true and still got errors after putting the needed xml file in the App_Code directory.
My final error was the following: "SchedulerWebService" is not declared.
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
' Resets the example data on each page load.
Session.Remove(SchedulerWebService.ProviderSessionKey)
End If
End Sub
Protected Sub RadScheduler1_Load(sender As Object, e As EventArgs)
'this code clears the sessionkey for demo related purposes
Session.Remove(SchedulerWebService.ProviderSessionKey)
End Sub
Can you please provide me with a working code that I can test to be able to see how this scheduler works and then use it in my project? This is urgent.
Thank you!
I'm having issues with attempting to use client-side databinding on a Grid (Version 2022 R2) to a simple JSON formatted string as described in the documentation. The issue I'm having is that the MasterTableView is not exposed to the client and is always null.
Thanks for any help.
Grid Markup:
<telerik:RadGrid ID="GridDiag" runat="server" AutoGenerateColumns="false" Width="100%" Height="95%" AllowPaging="false" ShowGroupPanel="false" EnableViewState="false">
<ClientSettings Scrolling-AllowScroll="true">
<Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="false" AllowColumnResize="True"></Resizing>
</ClientSettings>
<MasterTableView Name="Diags" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="9pt" HeaderStyle-Width="200px" ItemStyle-Font-Size="9pt" Visible="true">
<Columns>
<telerik:GridBoundColumn DataField="UM_Row_ID" UniqueName="UM_Row_ID" DataType="System.Int32" Visible="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Claim_Number" UniqueName="Claim_Number" DataType="System.String" Visible="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Diag_Number" UniqueName="Diag_Number" DataType="System.Int32" HeaderText="Sequence">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Diag_Code" UniqueName="Diag_Code" DataType="System.String"HeaderText="Code">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Description" UniqueName="Description" DataType="System.String" HeaderText="Description">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Type" UniqueName="Type" DataType="System.String" HeaderText="Type">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
JS:
function GetdiagGrid(recordid, claimid) {
var source = document.getElementById("<%=hdnSource.ClientID%>").value;
PageMethods.GetClaimDiagnosis(source, recordid, claimid, onSucsess, onFailure);
function onSucsess(response) {
var dxGrid = $find("<%=GridDiag.ClientID%>");
var masterView = dxGrid.get_masterTableView();
//masterView returns null value code errors on next line..
masterView.set_dataSource(response);
masterView.dataBind();
}
How to attach doc/xlsx/pdf file from host located under virtual directory root to that virtual directory, following by storing its path to MSSQL db
having loading grid and its controls dynamically. experiencing lots of access issues have to use Sys. authentication w/o identity impersonation. cannot retrieve file path of posted file