Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
1.2K+ views
Hi,
I have a header, a footer and a body area. In body area I have a splitter which contains a left pane, a resizable splitbar, and a right pane. The right pane is content area where the data is presenting and the left pane is for navigation. when an user want to edit an object, the object is opened in a radwindow. The problem is that I want to set the position and size of the rad window to fill the content area so that the user doesn't know that the object is opened in a radwindow.

I'm able to set the height and width of the radwindow so it fits the content area from the client side, but i couldn't set the position of the radwindow at the same position.

One last question, how can I remove the titlebar och the statusbar of the radwindow making it transparent so it fits it the scen above?

Rumen
Telerik team
 answered on 30 Aug 2019
2 answers
145 views

I haven't changed this page for years and now I'm suddenly getting this error coupled with 'Cannot read property 'Classic' of undefined': 

The exact errors are attached.

 

Vessy
Telerik team
 answered on 30 Aug 2019
2 answers
1.6K+ views

Is it possible to change the DataField property of the GridBoundColumn based upon a selected value outside of the Grid?

 

thanks

John
Top achievements
Rank 1
 answered on 29 Aug 2019
3 answers
227 views

Hi there,

We are trying to attach a Context Menu to RadNavigation, see sample code below. The context menu only opens for the top level items in the the RADNavigation and not the sub-items. How can we get it working with the sub-items too?

<telerik:RadNavigation ID="RadNavigation1" runat="server" Skin="Bootstrap" MenuButtonPosition="Left" OnClientContextMenu="OnClientContextMenu"
    EnableViewState="false" OnNodeDataBound="RadNavigation1_NodeDataBound" OnClientNodeMouseEnter="OnClientNodeMouseEnter"
    OnClientNodeMouseLeave="OnClientNodeMouseLeave" DataSourceID="SiteMapDataSource1" OnDataBound="RadNavigation1_DataBound">
    <Nodes>
    </Nodes>
</telerik:RadNavigation>
<telerik:RadContextMenu runat="server" ID="ContextMenu2" Skin="Bootstrap" EnableViewState="false"
    OnClientItemClicked="OnClientItemClickedContextMenu">
    <Targets>
       <telerik:ContextMenuControlTarget ControlID="RadNavigation1" />
    </Targets>
    <Items>
        <telerik:RadMenuItem Text="Move ​item up" Value="MoveUp" />
        <telerik:RadMenuItem Text="Move item down" Value="MoveDown" />
    </Items>
</telerik:RadContextMenu>

Peter Milchev
Telerik team
 answered on 29 Aug 2019
6 answers
369 views
I am using a RadGrid and capturing the client click of a row through OnItemCommand. I receive the error:
  • The HTTP verb POST used to access path '/virtual/' is not allowed.

Code (simplified):
protected void Grid_OnItemCommand(object sender, GridCommandEventArgs e)
{
    ...
    Response.Redirect("~/Page.aspx?id=" + id, false);
    ...
}

I think the issue is that the landing page is at the root of the virtual directory. So the postback from the grid is going to /virtual/ and not /virtual/Default.aspx. I think IIS doesn't like the lack of a page.

How do I stop these errors when posting back in a grid to a default document? I can't tell users to type in a fully qualified URL.

Richard
Ram
Top achievements
Rank 1
 answered on 28 Aug 2019
4 answers
253 views

With this RADGrid setup

<telerik:RadGrid ID="RgComparisonGrid" runat="server"
                                        OnInsertCommand="RgComparisonGrid_InsertCommand"
                                        OnUpdateCommand="RgComparisonGrid_UpdateCommand"
                                        OnItemCreated="RgComparisonGrid_ItemCreated"
                                        OnItemInserted="RgComparisonGrid_ItemInserted"
                                        OnItemDataBound="RgComparisonGrid_ItemDataBound"
                                     OnPreRender="RgComparisonGrid_PreRender"
                                        AllowAutomaticInserts="false"
                                        AutoGenerateColumns="false"
                                        OnNeedDataSource="RgComparisonGrid_NeedDataSource"
                                        AllowAutomaticDeletes="false"
                                        AllowAutomaticUpdates="false"
                                        MasterTableView-AllowAutomaticInserts="false">
                                        <MasterTableView AutoGenerateColumns="false" CommandItemDisplay="Top" AllowAutomaticInserts="false"
                                            DataKeyNames="ComparisonId, SubjectId_FK, ResultsId" Font-Size="Medium"
                                            NoMasterRecordsText="No Comparisons Added" CommandItemSettings-AddNewRecordText="Add New Comparison">

I am not able to add a new record I am getting this error message:

Unhandled exception at line 1, column 123034 in http://localhost:52028/bundles/MsAjaxJs?v=c42ygB2U07n37m_Sfa8ZbLGVu4Rr2gsBo7MvUEnJeZ81

0x800a139e - JavaScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

 

Anyone have a suggestions as to why?

Perry
Top achievements
Rank 1
 answered on 28 Aug 2019
6 answers
246 views
Hi,
Perhaps I don't understand this control but the code below produces two buttons one below the other but I'd expect the buttons to be next to each other?

<telerik:RadPageLayout ID="RadPageLayout1" runat="server" >
    <Rows>
        <telerik:LayoutRow ID="LayoutRow2" runat="server" AccessKey="" HiddenLg="False" HiddenMd="False" HiddenSm="False" HiddenXl="False" HiddenXs="False" HtmlTag="Div" RowType="Row" ToolTip="" WrapperHtmlTag="None">
            <Columns>
                <telerik:LayoutColumn ID="LayoutColumn3" runat="server" AccessKey="" HiddenLg="False" HiddenMd="False" HiddenSm="False" HiddenXl="False" HiddenXs="False" HtmlTag="Div" Offset="-1" OffsetLg="-1" OffsetMd="-1" OffsetSm="-1" OffsetXl="-1" OffsetXs="-1" Pull="-1" PullLg="-1" PullMd="-1" PullSm="-1" PullXl="-1" PullXs="-1" Push="-1" PushLg="-1" PushMd="-1" PushSm="-1" PushXl="-1" PushXs="-1" Span="12" SpanLg="0" SpanMd="0" SpanSm="0" SpanXl="0" SpanXs="0" ToolTip="">
                    <telerik:RadButton ID="RadButton2" runat="server" Text="RadButton"></telerik:RadButton>   
                </telerik:LayoutColumn>
                <telerik:LayoutColumn ID="LayoutColumn4" runat="server" AccessKey="" HiddenLg="False" HiddenMd="False" HiddenSm="False" HiddenXl="False" HiddenXs="False" HtmlTag="Div" Offset="-1" OffsetLg="-1" OffsetMd="-1" OffsetSm="-1" OffsetXl="-1" OffsetXs="-1" Pull="-1" PullLg="-1" PullMd="-1" PullSm="-1" PullXl="-1" PullXs="-1" Push="-1" PushLg="-1" PushMd="-1" PushSm="-1" PushXl="-1" PushXs="-1" Span="12" SpanLg="0" SpanMd="0" SpanSm="0" SpanXl="0" SpanXs="0" ToolTip="">
                    <telerik:RadButton ID="RadButton1" runat="server" Text="RadButton"></telerik:RadButton>   
                </telerik:LayoutColumn>
            </Columns>
        </telerik:LayoutRow>
    </Rows>
</telerik:RadPageLayout>

Peter Milchev
Telerik team
 answered on 28 Aug 2019
2 answers
313 views

I'm using the RadComboBox to display a list of reports to a user. The reports have and ID and Name which are bound as such DataTextField="Text" DataValueField="ID".

 

The ID of the report is not useful to the end user so we don't want to display the Report ID in the text. However, our site admins and client services people who know the Reports best by ID wish to be able to type the Report ID to filter it this way. 

 

Is it possible to provide such custom filtering? 

 

 

Peter Milchev
Telerik team
 answered on 28 Aug 2019
1 answer
112 views

Hi there,

I am trying to set up a new skin for Telerik UI for ASP AJAX. I’ve been able to set up the skin without too much issue, but a lot of the CSS changes I am making – especially to do with images – seem to be overridden by a file called WebResource.axd. This appears to be a server side caching file. However, I am unable to find out how to clear or refresh this cache.

Can anybody please help and point me in the direction of some way of solving this?

Thanks very much!

G

Attila Antal
Telerik team
 answered on 27 Aug 2019
1 answer
208 views

I have used the below method in javascript of asp.net application but not working:

var chart = $find("<%=RadChart1.ClientID%>"); chart.resetZoom();

 

I have a dynamically generated radhtmlchart for which I need resetzoom. the zoomout option is not userfriendly for large data. can anyone give the correct code in c# or javascript or jquery to resetzoom in radhtmlchart. mine is a asp.net c# application.

https://docs.telerik.com/devtools/aspnet-ajax/controls/chart/client-side/client-side-api

 

 

Vessy
Telerik team
 answered on 27 Aug 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?