Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
315 views

i received the error about Telerik dialog require http handlers in web.config.

i have added the following to my web config

previously i was developing as a asp.net web application and i did not have this issue.

after integrating the ascx file which contain the Editor control into Sharepoint 2013 as a custom web part, i encounter this issue

01.<system.web>
02.    <httpHandlers>
03.      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
04.      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
05.      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
06.    </httpHandlers>
07.</system.web>
08.  <system.webServer>
09.<handlers>
10.<remove name="Telerik_Web_UI_WebResource_axd" />
11.      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
12.      <remove name="Telerik_Web_UI_DialogHandler_aspx" />
13.      <remove name="Telerik_RadUploadProgressHandler_ashx" />
14.<remove name="ChartImage_axd" />
15.      <!-- This is the primary handler used to fetch most of the needed resources -->
16.      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
17.      <!-- Only needed for RadSpell and RadEditor's spell checking -->
18.      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
19.      <!-- Only needed for controls that have complex dialogs like RadEditor, RadImageEditor -->
20.      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
21.      <!-- Only needed if RadAsyncUpload, RadProgressArea/RadProgressManager or the obsolete RadUpload are used -->
22.      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
23.      <!-- Only needed if the obsolete RadChart control is used -->
24.      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
25.</handlers>
26.  </system.webServer>

Vessy
Telerik team
 answered on 21 Jul 2016
5 answers
316 views
Hi,

In a scheduler
I want to scroll dynamically to an appointment which is the starting one in week and day view. Please help me.


Thanks.
Veselin Tsvetanov
Telerik team
 answered on 21 Jul 2016
2 answers
119 views

I am using the GridAttachmentColumn with batch editing. The files are upload fine and I'm using the following code to get the uploaded files. 

Directcast(grdTemplates.MasterTableView.GetBatchEditorContainer("RequestAttachments").Controls(0), RadAsyncUpload).UploadedFiles

However, I cannot tell which file each file belongs to which row. I thought using the AttachmentKeyFields would work, but that doesn't seem to be the answer. Any help would be much appreciated. 

 

Sam
Top achievements
Rank 1
 answered on 21 Jul 2016
1 answer
349 views

Hi all...

 

I need to run a couple of discrete stored proc when I do my update from a grid.  I need to check if the combobox selection indicates a change to one field and if so execute etc.

I can't for the life of me figure out how to get that value, I tried an selectedindexchanged event and that doesn't seem to work either. I'd be very grateful for a nudge in the right direction as I'm veryyyyyyyyyy rusty :(

 

Here's what I tried most recently:

protected void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e)
{

if (e.CommandName == "Update")
{


GridEditableItem item = (GridEditableItem)e.Item;
RadComboBox combo =(RadComboBox)item.FindControl("updateComboBox");
var status = (string)item.GetDataKeyValue("status");
if (combo.SelectedItem.Text!= status)
{

 // Do my update...
}

Viktor Tachev
Telerik team
 answered on 21 Jul 2016
1 answer
391 views
Is it possible to add a button control to the list box item?  I was able to add images to each item, but i want to make these images to button icons. 
Ivan Danchev
Telerik team
 answered on 21 Jul 2016
1 answer
120 views

I have a RadScheduler where I want to show details in a ToolTip from a context menu "Details...".

I got it all working, e.g. context menu is selectable, the code is called, data is being loaded and a tooltip is showing up, 

BUT:

The tooltip always load the same tooltip for one appointment no matter on which appointment I select the context menu. It seems like it doesn't promote the AppointmentId or it doesn't see which appointment was right-clicked. 

Any hints?

I have this code in 'AppointmentContextMenuItemClicked()  where I call .Show() on the RadToolTipManager:

01.protected void RadSchedulerPlanning_AppointmentContextMenuItemClicked(object sender, AppointmentContextMenuItemClickedEventArgs e)
02.        {
03.            AppointmentContextMenuItemClickedEventArgs args = e;
04.          
05.            if (e.MenuItem.Value == "CommandDetails")
06.            {
07.                string id = e.Appointment.ID.ToString();
08. 
09.                foreach (string domElementID in e.Appointment.DomElements)
10.                {
11.                    RadToolTipManager1.TargetControls.Add(domElementID, id, true);
12.                }
13. 
14.                RadToolTipManager1.Show();
15.            }
16.        }

Marin Bratanov
Telerik team
 answered on 21 Jul 2016
1 answer
93 views

radnotification does not work on the pages with telerik.reportviewer.

Does it required some additional coding

Thank you for your reply

Marin Bratanov
Telerik team
 answered on 21 Jul 2016
1 answer
292 views

I'm trying to automatically open an appropriate page on a popup modal. My page design is I've got a RADGRID with an edit button for each column. Each row has a unique ID (lets say row 1 is 1, row 2 is 2 and etc.). Each cell has a unique ID number as well. Currently, I've got a popup modal that appears when you click edit on a row in the radgrid. The modal displays all the editable cellsfor that unique row. You then have to click through a cell name/id to fire the "edit" command to code behind that opens up a new page in the modal specific for that cell name/id. The edit button takes in hidden row details of the modal. How can I click on a cell (not a row) and open up the appropriate modal page to edit that cell without having to select the cell on the modal?

 

If this is too confusing or more information is needed I will explain it a bit better.

Marin Bratanov
Telerik team
 answered on 21 Jul 2016
1 answer
118 views
Is there a way to programmatically set the editor to an unordered list and keep it in that mode, so the user can only enter bullets?
Ianko
Telerik team
 answered on 21 Jul 2016
8 answers
540 views
Context: I'm using as RadSearchBox and calling a web service using:

<WebServiceSettings Path="~/Service.asmx"  Method="GetSearchBoxResults" ></WebServiceSettings>

Just to be clear, my code works.

However, on the odd occasion, especially if there is a delay in the response from the server, and the user tries navigating the page away before the response has been received, the error message "The server method 'xxx' failed" appears several times, which is irritating to users.

Is there a straight forward way to suppress this message?

 


Plamen
Telerik team
 answered on 21 Jul 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?