My asyncupload control is dynamically added during code runtime inside Page_Init. After my asyncupload validate success, the input is still showing red. opening the console i saw the error as shown in the attached file. Not sure if it is relevant, this code is created as a visual web part(farm solution) for Sharepoint 2016
i added the following to web.config
01.
<
httpHandlers
>
02.
<
add
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
validate
=
"false"
/>
03.
<
add
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
verb
=
"*"
validate
=
"false"
/>
04.
<
add
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
validate
=
"false"
/>
05.
</
httpHandlers
>
06.
07.
08.
<
handlers
>
09.
...
10.
<
add
name
=
"Telerik_Web_UI_DialogHandler_aspx"
verb
=
"*"
preCondition
=
"integratedMode"
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
/>
11.
<
add
name
=
"Telerik_Web_UI_SpellCheckHandler_axd"
verb
=
"*"
preCondition
=
"integratedMode"
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
/>
12.
<
add
name
=
"Telerik_Web_UI_WebResource_axd"
verb
=
"*"
preCondition
=
"integratedMode"
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
/>
13.
</
handlers
>
14.
15.
<
location
path
=
"Telerik.Web.UI.WebResource.axd"
>
16.
<
system.web
>
17.
<
authorization
>
18.
<
allow
users
=
"?"
/>
19.
</
authorization
>
20.
</
system.web
>
21.
</
location
>
22.
<
location
path
=
"ScriptResource.axd"
>
23.
<
system.web
>
24.
<
authorization
>
25.
<
allow
users
=
"?"
/>
26.
</
authorization
>
27.
</
system.web
>
28.
</
location
>
I have a RadGrid with Batch Editting some like https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx .
I need Move Up and Move Down buttons in each row to change order numbers and reorder the rows.
Clicking on Move Up will change the sort order i.e if a row is in position 7, it will be brought to 6 and its cell value in column "order" will become 6.
Clicking on Move Down will change the sort order i.e if a row is in position 7, it will be brought to 8 and its cell value in column "order" will become 8.
How to implement it?
Hi,
I have a site running version 2015.1.225.1 that has worked up until 1st January 2021. Now I am getting several javascript errors related to
Telerik.Web.UI.WebResource.axd
with the following errors:
net::ERR_ABORTED 500
Any suggestion on what it might be?
I have not done any changes to this code for many months (perhaps a year) as we are moving our customers over to a newer version (which means I have little to no knowledge how to find and fix this problem). We still have a few customers left on this site and they are now unable to do their work because of it. All I need it a quick-fix/workaround that might work for the next 2 months.
Hi,
I have 2 gridviews in a page, one hierarchical and one normal gridview.
I am using javascript to update data from one gridview row to the other.
To be able to do that, I need to find the html id of the control in each gridview:
Normal gridview: ctl00_MainContent_ctl_Score_rep_ctl01_ckIsFlag is equivalent to
ctl00_MainContent_ctl_Rubric_GV_ctl00_ctl04_ckIsFlag in the hierarchical gridview.
In the normal gridview the 'ctl01' increment by one for each row. So if I have 3 rows, the ID will be:
'ctl00_MainContent_ctl_Score_rep_ctl01_ckIsFlag
'ctl00_MainContent_ctl_Score_rep_ctl02_ckIsFlag
'ctl00_MainContent_ctl_Score_rep_ctl03_ckIsFlag
I use the index of each row to find which control to update:
"ctl00_MainContent_ctl_Score_rep_ctl" + rowindex +"_ckIsFlag"
However in the hierarchical grid, the first row has ctl04, the second row ctl07 and the third ctl10. I don't really understand how the incrementation works. as the number of records in the detail view is 4 rows, and identical for all.
My question is how do I find out the html id control in the hierarchical gridview (ctl04, ctl07 and ctl10). Please check the attachment for more clarity.
Thank you for your help
I am trying to Export into PDF from RadGrid. My grid is too wide on a screen and when output to PDF happened it is squished. I was trying to apply style before I do Export but it does not make any difference.
private void btnExportToPDF_Click(object sender, EventArgs e)
{
ApplyStylesToPDFExport(giftGrid.MasterTableView);
giftGrid.MasterTableView.ExportToPdf();
}
private void ApplyStylesToPDFExport(GridTableView view)
{
// Get access to the header of the grid
GridItem headerItem = view.GetItems(GridItemType.Header)[0];
// Apply some css style to the header
foreach (TableCell cell in headerItem.Cells)
{
cell.Style["font-family"] = "Verdana";
cell.Style["text-align"] = "center";
cell.Style["vertical-align"] = "middle";
cell.Style["font-size"] = "2px";
}
// Get access to the date of the grid
GridItem[] dataItems = view.GetItems(GridItemType.Item);
// Apply some css style to the data items
foreach (GridItem item in dataItems)
{
foreach (TableCell cell in item.Cells)
{
cell.Style["font-family"] = "Verdana";
cell.Style["text-align"] = "center";
cell.Style["vertical-align"] = "middle";
cell.Style["font-size"] = "2px";
}
}
}
Please explain to me what do I do wrong.
Thanks,
Yuriy
Hello,
Is there a way of disabling cell, sheet or workbook editing with Javascript without having to set every cell to disabled.
hello,
Is there a way to tag a user from my db in radeditor/kendo
i need to display the list of users after clicking @ and filter based on typing.
i need it similar to facebook or devops editors.
thanks
We are using Telerik UI for ASP.NET AJAX in our .Net Application.
Can someone tell me what is the latest version of jQuery being used in the latest version(Jan 2019) of Telerik UI for ASP.NET AJAX?
Hi,
I looked everywhere to get a selected item from a file explorer in C#, but nothing worked.
I need only the name and the extension to update my database, is that possible?