Hi,
I'm getting the following exception multiple time throughout the application in error log. It's very difficult to identify the exact reason for exception occurrence as the application is vast to debug in depth. Also, I'm using Telerik Control as well as Telerik Reporting in multiple place in the application. The version of Telerik.Web.UI which I am currently using is 2023.1.323.45
EXCEPTION URL :
https://adba.roc-p.com:443/Telerik.Web.UI.WebResource.axd?type=rau
EXCEPTION MESSAGE :
System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.IO.Path.GetExtension(String path) at Telerik.Web.UI.AsyncUploadHandler.ProcessUploadedFile() at Telerik.Web.UI.HandlerRouter.ProcessHandler(String handlerKey, HttpContext context) at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
NOTE :
I have already visited multiple forum in which it is mentioned that this issue occurs in the previous version of the Telerik.Web.UI. Please confirm whether the exception mentioned above still exist in the version of Telerik.Web.UI which I am currently using i.e. 2023.1.323.45. And If not then please provide the possible reason that we need to verify on our end.
RadProgressContext progress = RadProgressContext.Current;
progress.SecondaryValue = 1;
progress.SecondaryPercent = 1;
progress.SecondaryTotal = 100;
System.Threading.Thread.Sleep(3000);
progress.SecondaryValue = 50;
progress.SecondaryPercent = 50;
System.Threading.Thread.Sleep(3000);
//testing response
byte[] b = File.ReadAllBytes("c:\\image1.jpg");
Context.Response.ContentType = "image/jpg";
Response.AddHeader("content-disposition", "attachment; filename=image.jpg");
Response.BinaryWrite(b);
Response.End();
I need to import a spreadsheet into a dataset. The spreadsheets have rows and columns of data, but some of the columns are totaled at the bottom. I think this is giving me error when trying to use the DataTableFormatProvider.Export.
So I want to open the file and read the cells row by row. Are there any examples on how to open a spreadsheet and walk through it row by row?
I'd like to use the tab strip as a filter for a RadGrid below it -- meaning, I won't be using a multipage view but rather every tab will have the same content, just the filter for the radgrid will change based on which tab is selected.
I am using a hierarchical tab scenario, so the primary tabs (pid's are null, therefore root) are usernames, and the underlying ones are prior years of tickets they had. This all works perfectly -- top tabs are their names, and when they click on them, the "current year" of tickets as well as any tickets that are still open are shown (even if they're from prior years). If they want to look at past years, they'd just click on the tab that represents that year number. Each click event fires off a re-bind for the RadGrid below.
All works fine, except for this one problem - once a tab is active, if a user clicks that same tab again, I don't get another click event firing. I'd like to use this re-click as a "refresh" event (meaning the datagrid would re-query the underlying datasource to get up to the minute results).
In the attached picture, if a user selects the first tab (ChCurrier), then selects 2022 to look at last year's tickets, there is no way for him to then re-select the current year's tickets by clicking on ChCurrier again - the click event won't fire because it's already active/selected.
I haven't used Telerik for some time and I'm trying to add a RadCheckBox whose datasource is an integer value in a column of a datarow. In the web page I've got this :
<telerik:RadCheckBox ID="chkProrataEnabled" runat="server" text="" TabIndex="7" Value='<%# DataBinder.Eval(Container, "DataItem.Prorata_Enabled") %>' autopostback="false" OnCheckedChanged="chkProrataEnabled_CheckedChanged">
</telerik:RadCheckBox>
but the check box is not being populated so I'm thinking some form of conversion from int to bool is required but not sure how to go about this. I was thinking I could change the DataBinder.Eval to check the integer value and return a true/false bool ?
The thing about the below error is that I have working controls on the page I'm using, it's just this one control that's missing. Why is that? Is my version too old and this isn't available in that version? The Telerik.Web.UI version is 2014.1.416.35, and yes, I know it's old, but it's what I've got.
Help?
|
Server Error in '/MagVLT' Application.
Input value is invalid
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Input value is invalid
Source Error:
Line 434: </td> Line 435: <td> Line 436: <telerik:RadChart ID="rdcTotalBet" runat="server" DataSourceID="SqlDataSource1" DefaultType="Line" Line 437: Skin="Mac"> Line 438: <Series> |
Source File: c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx Line: 436
Stack Trace:
[ArgumentException: Input value is invalid] Telerik.Charting.Styles.MarginsConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +638 System.ComponentModel.TypeConverter.ConvertFromInvariantString(String text) +63 Telerik.Charting.Styles.ChartMargins.Parse(String value, CultureInfo culture) +46 ASP.cemshome_aspx.__BuildControl__control154(StyleExtendedLabel __ctrl) in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:436 ASP.cemshome_aspx.__BuildControl__control153(ChartLegend __ctrl) in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:436 ASP.cemshome_aspx.__BuildControlrdcTotalBet() in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:436 ASP.cemshome_aspx.__BuildControl__control115() in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:429 ASP.cemshome_aspx.__BuildControl__control114(HtmlTableCellCollection __ctrl) in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:428 ASP.cemshome_aspx.__BuildControl__control113() in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:428 ASP.cemshome_aspx.__BuildControl__control112(HtmlTableRowCollection __ctrl) in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:427 ASP.cemshome_aspx.__BuildControltabRevenue() in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:427 ASP.cemshome_aspx.__BuildControl__control3(Control __ctrl) in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:10 System.Web.UI.UpdatePanel.CreateContents() +97 ASP.cemshome_aspx.__BuildControl__control2() in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:10 ASP.cemshome_aspx.__BuildControlContent1(Control __ctrl) in c:\inetpub\wwwroot\MagVLT\CEMSHome.aspx:9 ASP.cemsmaster_master.__BuildControlcphDetail() in c:\inetpub\wwwroot\MagVLT\CEMSMaster.master:238 ASP.cemsmaster_master.__BuildControlform1() in c:\inetpub\wwwroot\MagVLT\CEMSMaster.master:55 ASP.cemsmaster_master.__BuildControlTree(cemsmaster_master __ctrl) in c:\inetpub\wwwroot\MagVLT\CEMSMaster.master:1 ASP.cemsmaster_master.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\magvlt\9729e21d\12fe1d48\App_Web_cemsmaster.master.cdcab7d2.szqdenly.0.cs:0 System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1305 System.Web.UI.Page.get_Master() +69 System.Web.UI.Page.ApplyMasterPage() +18 System.Web.UI.Page.PerformPreInit() +58 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1256 |
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4205
Hi,
HIDE AND_SEEKFABSNAKES AND LADDERS this type of object not a filter
Please help me to search the error ,
the radgrid table disappear after filtering the search,
I tried to find any solution a lot but i did not find a solution for this problem
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1" />
<telerik:AjaxUpdatedControl ControlID="RadGrid2" />
<telerik:AjaxUpdatedControl ControlID="RadGrid3" />
<telerik:AjaxUpdatedControl ControlID="RadGrid4" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadGrid EnableAriaSupport="true" ID="RadGrid1" runat="server" AllowPaging="true" AllowSorting="true" PageSize="20" ShowStatusBar="true"
CellSpacing="0" GridLines="None" ClientSettings-EnablePostBackOnRowClick="false" AllowFilteringByColumn="True">
<MasterTableView AutoGenerateColumns="false" TableLayout="Fixed" DataKeyNames="REQ_ID" >
<HeaderStyle HorizontalAlign="Center" ForeColor="#009900" Font-Names="Arial" Font-Bold="true" Font-Size="Medium" Height="50px"/>
<Columns>
<telerik:GridMaskedColumn DataField="REQ_ID" HeaderText="رقم الطلب" UniqueName="Req_num_r1" Visible="true" AllowFiltering="false">
</telerik:GridMaskedColumn>
<telerik:GridBoundColumn DataField="EMP_NAME" HeaderText="اسم الموظف/ طالب الخدمة" AllowFiltering="true" UniqueName="EMP_NAME_ra" Visible="true" HeaderStyle-Width="15%">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="NAME" HeaderText="الخدمة المقدمة" UniqueName="Problem_Name_r1" Visible="true" ColumnGroupName="GeneralInformation">
<FilterTemplate>
<telerik:RadComboBox RenderMode="Lightweight" ID="Problem_NameCombo1" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("Problem_Name_r1").CurrentFilterValue %>'
runat="server" OnClientSelectedIndexChanged="Problem_NameComboIndexChanged1" AutoPostBack="true">
<Items>
<telerik:RadComboBoxItem Text="All" Value="" />
<telerik:RadComboBoxItem Text="مشكلة في الطباعة" Value="مشكلة في الطباعة" />
<telerik:RadComboBoxItem Text="سكانر" Value="سكانر" />
<telerik:RadComboBoxItem Text="مشكلة في الشبكة" Value="مشكلة في الشبكة" />
<telerik:RadComboBoxItem Text="البريد الحكومي" Value="البريد الحكومي" />
<telerik:RadComboBoxItem Text="الارشيف" Value="الارشيف" />
<telerik:RadComboBoxItem Text="موارد" Value="موارد" />
<telerik:RadComboBoxItem Text="الانترنت" Value="الانترنت" />
<telerik:RadComboBoxItem Text="جهاز الحاسوب" Value="جهاز الحاسوب" />
<telerik:RadComboBoxItem Text="حزمة الاوفيس" Value="حزمة الاوفيس" />
<telerik:RadComboBoxItem Text="موقع الديوان" Value="موقع الديوان" />
</Items>
</telerik:RadComboBox>
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
<script type="text/javascript">
function Problem_NameComboIndexChanged1(sender, args) {
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
tableView.filter("Problem_Name_r1", args.get_item().get_value(), "EqualTo");
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
</telerik:GridBoundColumn>
<telerik:GridDateTimeColumn DataField="CREATE_DATE" ItemStyle-CssClass="sm-visible" HeaderText="وقت انشاء الطلب" DataFormatString="{0:g}" UniqueName="Create_date_r1">
</telerik:GridDateTimeColumn>
<telerik:GridBoundColumn DataField="provider" HeaderText="مقدم الخدمة" UniqueName="provider_r1" HeaderStyle-Width="20%">
</telerik:GridBoundColumn>
<telerik:GridDateTimeColumn DataField="END_DATE" HeaderText="وقت تنفيذ الطلب" DataFormatString="{0:g}" UniqueName="END_DATE_r1" Visible="true">
</telerik:GridDateTimeColumn>
<telerik:GridMaskedColumn DataField="Responsiveness" HeaderText="سرعة الانجاز" UniqueName="Responsiveness_r1" AllowFiltering="false">
</telerik:GridMaskedColumn>
</Columns>
<NestedViewTemplate>
<div class="Table" style="background-color: #a7d1e2">
<div class="TableRow col-12">
<div class="TableCell p-3" style="inline-size: 100%; overflow-wrap: break-word;"><b class="text-danger">تفاصيل المشكلة : </b><%# Eval("DESCRIPTION") %> </div>
<div class="TableCell p-2" style="inline-size: 100%; overflow-wrap: break-word;"><b class="text-danger">ملاحظات مقدم الخدمة : </b><%# Eval("NOTE") %> </div>
<div class="TableCell p-2">
<b class="text-danger">تقييم الخدمة :
<div class="progress-bar" role="progressbar" style="width:100px ;" aria-valuenow='<%# Convert.ToDouble(Eval("FEEDBACK_RATING"))*20 %>' aria-valuemin="0" aria-valuemax="100"><%# Convert.ToDouble(Eval("FEEDBACK_RATING"))*20 %> %</div>
</b>
</div>
</div>
</div>
</NestedViewTemplate>
</MasterTableView>
<ClientSettings>
<DataBinding SelectMethod="GetDataAndCount">
</DataBinding>
</ClientSettings>
</telerik:RadGrid>