Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
2.2K+ views
Hii to Telerik Team. I am Facing a Problem.I have One System, In that my application is running on IIS.In IIs Under Default
web site i have two Links Test and Test1, On both same application is running.
Test Application is running fine but Test1 is not. I am getting error
[HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.]
   System.Web.Util.UrlPath.ReduceVirtualPath(String path) +823
   System.Web.Util.UrlPath.Reduce(String path) +104
   System.Web.HttpResponse.ApplyAppPathModifier(String virtualPath) +232
   Telerik.Web.UI.RadGrid.InitializeGridTableViewData(GridTableView tableView) +5091
   Telerik.Web.UI.RadGrid.InitializeGridTableViewsRecursive(GridTableView tableView) +33
   Telerik.Web.UI.RadGrid.DescribeProperties(IScriptDescriptor descriptor) +2135
   Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control) +171
   Telerik.Web.UI.RadCompositeDataBoundControl.GetScriptDescriptors() +9
   System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl) +146
   Telerik.Web.UI.RadCompositeDataBoundControl.RegisterScriptDescriptors() +82
   Telerik.Web.UI.RadCompositeDataBoundControl.RenderContents(HtmlTextWriter writer) +50
   Telerik.Web.UI.GridBaseDataList.Render(HtmlTextWriter writer) +112
   Telerik.Web.UI.RadGrid.Render(HtmlTextWriter writer) +162
   Telerik.Web.UI.RadAjaxPanel.RenderChildren(HtmlTextWriter writer) +201
   System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +13
   Telerik.Web.UI.RadAjaxPanel.RenderContents(HtmlTextWriter writer) +31
   System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42
   Telerik.Web.UI.RadAjaxPanel.Render(HtmlTextWriter writer) +38
   Telerik.Web.UI.ControlRenderer.Render(HtmlTextWriter writer) +148
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) +294
   System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) +56
   Telerik.Web.UI.OurUpdatePanel.Render(HtmlTextWriter writer) +194
   Telerik.Web.UI.PreControlToAjaxify.Render(HtmlTextWriter writer) +193
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
   ASP.default_aspx.__RenderfrmFuse(HtmlTextWriter __w, Control parameterContainer) in g:\GIS\GTLERP2011\Default.aspx:95
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +256
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +324
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +73
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   GPS.GPSWeb._Default.Render(HtmlTextWriter writer) +67
   Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +647
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   GPS.GPSWeb._Default.Render(HtmlTextWriter writer) +67
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4428


Pls Help me as I am not getting that from where the error is coming.
same application is running fine on Test on same system but not Test1.


Solved



Marvin
Top achievements
Rank 1
 answered on 06 Mar 2017
3 answers
679 views

I see that the height and width of RadEditor can be set in the host ASPX file, but these dimensions apply to the entire control (toolbar and other chrome).  I need to set the height and width of the content editing area (i.e. the area that the user edits content in. My use case is that some of my customers need to build HTML that will be placed in a region with a defined height and width on an HTML page (I don't know if it's a DIV or an IFrame or something else, I'm looking into that). I need the RadEditor to provide WYSIWYG for how the HTML content will flow/fit in that region of specified size.

1) Is there a way to set the width and height of RadEditor's content area?

2) Is there a way to prevent the RadEditor control from being resized?

Thanks in advance!

Rumen
Telerik team
 answered on 06 Mar 2017
1 answer
84 views

Hello,

I'm trying to access a radcombobox control that is on the parent page from the radwindow using javascript. Any guidance on how to do this would be greatly appreciated.

Thanks,

Johnathan

Vessy
Telerik team
 answered on 06 Mar 2017
0 answers
88 views

Hi Team,

I have a web page and has a programatically created Radgrid (Created in Page init , as it required Template column) working perfectly.

Now I wanted to add one or two  programatically created Radgrid(can be more) depends on few inputs from other modules.

Is it possible ? if yes how we can create event handlers dynamically ?

 

Please provide your thoughts.

Regards

Ramesh.

Ramesh
Top achievements
Rank 1
 asked on 06 Mar 2017
0 answers
111 views

Created a new base Telerik project, which contained markup for RadScriptManager.

Added a function in the code to use RadScriptManager.RegisterStartupScript... but it doesn't exist.

Am I missing step in the project setup or configuration, or has this been deprecated?  

Thanks...

 

 

Jim
Top achievements
Rank 1
 asked on 03 Mar 2017
5 answers
369 views
Hi, I am trying to have a "today" button in datepicker (and maybe in radcalnder as well)
how would I archive this (at moment, to go to today, need to select month-today) 
IT-Fjárvakur
Top achievements
Rank 1
 answered on 03 Mar 2017
8 answers
318 views
Hi Everyone,

I have a unique situation and I can't find any help on it.  I have a RadGrid that uses a User Web Control(.ascx) to insert and edit the grid items.  I need to used javascript to get the value of two RadTextBox on the User Web Control and sum them together and then update a third RadTextBox with the result value.

Here is my problem:
1) I have to create the javascript on the parent aspx page in order for the User Web Control to see it. If I create it on the .ascx page, it doesn't see it.
2) Since I have to create it on  the parent aspx page where the grid reside, I can't figure a way to access the RadTextBox value on the User Web Control.

Any help would be greatly appreciated.  Is there a way to run the javascript within the User Web Control?

Anthony
Eyup
Telerik team
 answered on 03 Mar 2017
1 answer
120 views

I have run into a problem when sorting a RadGrid. I am using the advanced databinding option in a grid creating in the markup. When I click on a grid header, the sort happens properly for that column, and the arrow indicator appears. If I then click on the indicator to do the opposite sort, the sorting indicator jumps to the next column to the right. This proceeds that way all across the grid.

I found this problem referenced in one older ticket from 2013, but that one simply indicated that the problem was resolved by using advanced databinding. I am already doing that, so what else am I missing?

 

My grid is defined as given here:

 

 <telerik:RadGrid ID="RecalledUPCDisplay" runat="server" Width="700px"  OnNeedDataSource="RadGrid1_NeedDataSource"
                OnSelectedIndexChanged="RadGrid1_SelectedIndexChanged"  OnHTMLExporting="RadGrid1_HtmlExporting" AllowSorting="True"
                 AutoGenerateColumns="False" Height="400px" Skin="Web20" ItemStyle-Height="18"
                        AlternatingItemStyle-Height="20">

                <ClientSettings EnablePostBackOnRowClick="true" >
                     <Scrolling AllowScroll="True" ScrollHeight="300px" UseStaticHeaders="True" />
                     <Selecting AllowRowSelect="True" />

                         
                </ClientSettings>
                
                <MasterTableView EnableViewState="False" HeaderStyle-HorizontalAlign="Center" Font-Names="Arial"  Font-Size="8" UseAllDataFields="true" DataKeyNames="UPC">
                <Columns>

                                     
                                   <telerik:GridBoundColumn DataField="UPC" HeaderText="UPC"
                                          UniqueName="UPC" SortExpression="UPC">
                                          <HeaderStyle HorizontalAlign="Center" Width="20" />
                                          <ItemStyle HorizontalAlign="Center"/>
                                          
                                      </telerik:GridBoundColumn>

                                 <telerik:GridBoundColumn DataField="Description" HeaderText="Description"
                                          UniqueName="Description">
                                          <HeaderStyle HorizontalAlign="Center" Width="60" />
                                          <ItemStyle HorizontalAlign="Center"/>
                                      </telerik:GridBoundColumn>

                                   <telerik:GridBoundColumn DataField="DateEntered" HeaderText="Date Entered"
                                          UniqueName="DateEntered">
                                          <HeaderStyle HorizontalAlign="Center" Width="15" />
                                          <ItemStyle HorizontalAlign="Center"/>
                                      </telerik:GridBoundColumn>

                                 <telerik:GridBoundColumn DataField="Comment" HeaderText="Comment"
                                          UniqueName="Comment">
                                          <HeaderStyle HorizontalAlign="Center" Width="20" />
                                          <ItemStyle HorizontalAlign="Center"/>
                                      </telerik:GridBoundColumn>


              </Columns>


              </MasterTableView>

                    <SortingSettings SortedBackColor="#FFF6D6" EnableSkinSortStyles="True"></SortingSettings>


                 <ExportSettings  IgnorePaging="False" OpenInNewWindow="True" ExportOnlyData="True">

                  <Csv ColumnDelimiter="VerticalBar" EncloseDataWithQuotes="False" />

            </ExportSettings>

    </telerik:RadGrid>

 

 

And the NeedDataSource call:

 

    Protected Sub RadGrid1_NeedDataSource(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs)
        TryCast(sender, RadGrid).DataSource = BLLInterface.GetRecalledUPCs
    End Sub

 

 

 

Eyup
Telerik team
 answered on 03 Mar 2017
2 answers
600 views

Hello! I create radgrid data dynamically, and i don't even know how many columns it contains and column names are unknown.

The values are simple integers. The task is to calculate the summ of cells values of specific row. How can i iterate through columns

client-side javascript ?

Алексей Сергеевич
Top achievements
Rank 1
 answered on 03 Mar 2017
0 answers
67 views

Hi 

I have a scenario where in the EditItemCommand I will have a lookup button that will display a RadWindow with some records in another grid. User will click row which will close the window and the data from one of the columns on the selected row on this grid (grid on the window) will be shown in the parent page's grid template item control (text box for example).

How to achieve this?

 

 

Regards

 

SYA
Top achievements
Rank 1
 asked on 03 Mar 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?