Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
164 views

When trying to use the RadGridDesigner with the grid webpart I get a 403 error. When I look at the event viewer application log I see the following error. Not sure how to fix this.

WebHost failed to process a request.
 Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/20975881
 Exception: System.Web.HttpException (0x80004005): There was no channel actively listening at 'https://olinca.olincorp.net/_vti_bin/Telerik.Ajax.SharePoint/gridbindingservice.svc/javascript/js'. This is often caused by an incorrect address URI. Ensure that the address to which the message is sent matches an address on which a service is listening. ---> System.ServiceModel.EndpointNotFoundException: There was no channel actively listening at 'https://olinca.olincorp.net/_vti_bin/Telerik.Ajax.SharePoint/gridbindingservice.svc/javascript/js'. This is often caused by an incorrect address URI. Ensure that the address to which the message is sent matches an address on which a service is listening.
   at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)
 Process Name: w3wp
 Process ID: 19496

Pavlina
Telerik team
 answered on 17 Mar 2016
1 answer
105 views

I have a grid that invokes the edit appointment functionality, but on an appointment that is a series, I'd like show the Edit occurence/series dialog option from server side.

 

  this.radActivity.ShowAdvancedEditForm(apptToEdit, true);             

Hristo Valyavicharski
Telerik team
 answered on 17 Mar 2016
3 answers
223 views
 
<telerik:GridTemplateColumn HeaderText="Quantity" UniqueName="Quantity">
    <ItemTemplate>
        <asp:Label ID="lblQuantity" runat="server"
            Text='<%# DataBinder.Eval(Container.DataItem, "Quantity") %>'>
        </asp:Label>
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadNumericTextBox ID="txtQuantity" runat="server" DataType="System.Decimal"
            Type="Number" NumberFormat-DecimalDigits="4" />
    </EditItemTemplate>
</telerik:GridTemplateColumn>

 

 

I've made a RadGrid with EditMode="Batch" that is bound to a dataset. I need to create some GridTemplateColumns, such as the above. 3 questions...

 

1) In checking out examples online, at times I've seen Eval above as it is...

Text='<%# DataBinder.Eval(Container.DataItem, "Quantity") %>'>

...but other times like this...

Text='<%# Eval("Quantity") %>'>

The latter is cleaner, but wondering if the first is recommended for some reason. Or are they identical?

 

2) Also, at times I've seen in the GridTemplateColumn header the attribute DataField and DataType, such as...

DataField="Quantity"

DataType="System.Double"

... but again, not always. Are they necessary? Or does it depend on the situation?

 

3) Do I need to somehow Bind the field to the EditItemTemplate portion?

 

Thanks for the help!

 

Vasil
Telerik team
 answered on 17 Mar 2016
1 answer
116 views

Like in Total Commander that user can navigate back by clicking in folder name in breadcrumb?

thanks

Vessy
Telerik team
 answered on 17 Mar 2016
7 answers
291 views

Hi,
I am using the radinput manager with the "<Validation IsRequired="True" />" property to force certain textboxs to be required.

This works well displaying a warning symbol on the relevant textbox and a red outline if the box is left empty.

My issue is I also have a combobox with a required field validator, but this doesn’t indicate the input has no value selected in the same style as the other textbox controls giving an inconsistent interface.

Could this functionality be added to the standard combobox (obviously only IsRequired functionality) or full functionality if using a RadCombobox as this effectively contains a textbox.

Maria Ilieva
Telerik team
 answered on 17 Mar 2016
32 answers
461 views

Hi 

 

http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/templates/defaultcs.aspx for this demo is possible for sub menu ? Can you give some example ?

Dhyan
Top achievements
Rank 1
 answered on 17 Mar 2016
7 answers
2.1K+ views
This problem vexxed me for a short while, because the message returned is pretty generic and the stack trace didn't really hep me pinpoint the issue.

I eventually isolated this (I thought) to a RadAjaxPanel control I had declared:

<telerik:RadAjaxPanel ID="radPanel" runat="server" HorizontalAlign="NotSet" 
    LoadingPanelID="radLoadingPanel">
        <asp:DropDownList ID="ddlTierID" runat="server" DataSourceID="BusinessUnitTypesDataSource"
            DataTextField="Name" DataValueField="RowID" TabIndex="7">
        </asp:DropDownList>
</telerik:RadAjaxPanel>

If I replaced this code block with the Microsoft flavor (which is what I'd tried to convert over to Telerik) like this:

<asp:UpdatePanel UpdateMode="Conditional" runat="server">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="ddlUserRole" EventName="SelectedIndexChanged" />
    </Triggers>
    <ContentTemplate>
        <asp:DropDownList ID="ddlTierID" runat="server" DataSourceID="BusinessUnitTypesDataSource"
            DataTextField="Name" DataValueField="RowID" TabIndex="7">
        </asp:DropDownList>
    </ContentTemplate>
</asp:UpdatePanel>

then the page runs fine. However, I didn't understand why the Telerik panel should cause an issue, until I found this article:

http://www.telerik.com/help/aspnet-ajax/troubleshooting.html

At the top of the page containing the panel, I had this seemingly innocuous JavaScript snippet that simply set the focus to the first field on the form:

<script type="text/javascript">
    function pageLoad()
    {
        $get('<%=txtUserName.ClientID %>').focus();
    }
</script>

Based on the Telerik article, above, I wrapped this snippet in a RadCodeBlock and then the RadAjaxPanel code worked fine!

Hope this helps someone else!

Jon
Marin Bratanov
Telerik team
 answered on 17 Mar 2016
2 answers
873 views

Hello Everyone,

Can anyone suggest how to highlight the dropdown options upon mouse over. By default, I see a grey color highlighted when I hover on any of the options in the Dropdownlist. Please refer to the screenshot attached.

I would like to change the default color (grey) and give some brighter color for more visibility. 

Here are the additional details

ASP.NET version - Visual Studio 2013 Version 12.0
OS - Windows 8
exact browser version - IE >= 10
exact version of the Telerik product = 2009.1.527.35
preferred programming language = C#

Thanks in Advance!!

Kumar

 

Kumar
Top achievements
Rank 1
 answered on 17 Mar 2016
5 answers
183 views

Browser - safari version: 9.0.2 (11601.3.9)
Operation System  os version: OS X EI Captain version 10.11.2

I have a combobox, which uses treeview to show the data. 
When I click on combo box I get the following error


Failed to load resource: Could not connect to the server.
_initRightToLeftScriptResource.axd:8396TypeError: null is not an object (evaluating 'c.set_additionalQueryString')
_initRightToLeftScriptResource.axd:8395
initializeScriptResource.axd:8332
endUpdateTelerik.Web.UI.WebResource.axd:2:49050
endCreateComponentsTelerik.Web.UI.WebResource.axd:2:63458
_raiseInitTelerik.Web.UI.WebResource.axd:2:65559
_doInitializeTelerik.Web.UI.WebResource.axd:2:63974
(anonymous function)Telerik.Web.UI.WebResource.axd:2:65784
(anonymous function)Telerik.Web.UI.WebResource.axd:2:50713
pTelerik.Web.UI.WebResource.axd:2:558
_2PassTelerik.Web.UI.WebResource.axd:2:50697
FTelerik.Web.UI.WebResource.axd:2:1539
dTelerik.Web.UI.WebResource.axd:2:1898
cTelerik.Web.UI.WebResource.axd:2:1294
http://server/Ticketing/jquery.min .map Failed to load resource: the server responded with a status of 404 (Not Found)

Dimitar
Telerik team
 answered on 17 Mar 2016
2 answers
355 views

hi

I am applying a background color to all grid using this;

<style type="text/css">
      .RadGridHeaderStyle
        {
            background-color:#5e9cd2 !important;
            background-image:none !important;
            font-weight:bold !important;
            color:white !important;
        }

</script>

The header background color work fine but the font color on some columns don't seems to apply. I realised that it is because the column is sortable and the color won't change to white. How should make the sortable header font color to white? Thanks

Viktor Tachev
Telerik team
 answered on 17 Mar 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?