Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
92 views
How can i add a background image to a radhtmlchart? 
Shinu
Top achievements
Rank 2
 answered on 19 Dec 2012
1 answer
254 views

Server Error in '/STSA' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error: 

Line 229:		<httpModules>
Line 230:			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 231:			<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
Line 232:		</httpModules>
Line 233:		<identity impersonate="false"/>

Source File: D:\EZChildTrack\Webapp\EZChildTrack2\web.config    Line: 231 


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
Plamen
Telerik team
 answered on 19 Dec 2012
4 answers
617 views
Hello there.
I am using RadUpload and It is working correctly now, but occuring this error when I clicking on UPLOAD button in rad image manager or rad document manager.
What should I do?
To make my issue clearly:

I am going to upload my file to Dir1/Dir2/uploadingimage.gif
I have dir1 directory.
I will create dir2 directory from my C# code behind.
I am selecting uploadingimage.gif and click upload button.
Then I am having this error.

Server Error in '/' Application.

Access to the path 'C:\inetpub\wwwroot\Test2\News\File\images\001\pu001021020\bgr.png' is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\Test2\News\File\images\001\pu001021020\bgr.png' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\Test2\News\File\images\001\pu001021020\bgr.png' is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10546931
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +2580
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +138
   System.IO.FileStream..ctor(String path, FileMode mode) +91
   System.Web.HttpPostedFile.SaveAs(String filename) +151
   Telerik.Web.UI.PostedFile.SaveAs(String fileName, Boolean overwrite) +54
   Telerik.Web.UI.Widgets.FileSystemContentProvider.StoreFile(UploadedFile file, String path, String name, String[] arguments) +120
   Telerik.Web.UI.RadFileExplorer.ProcessUploadedFiles() +959
   Telerik.Web.UI.RadFileExplorer.OnLoad(EventArgs e) +169
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

Vessy
Telerik team
 answered on 19 Dec 2012
1 answer
77 views

I have a radgrid inside one of my tabs which is a Jquery tabs.

The gird has children which I am binding from code behind using OnDetailTableDataBind event.

Now this works perfectly find on normal asp.net page, but on Jquery tabs it doesn't expand/collapse. Have searched google too but didn't find suitable solution.

here is my grid html code and the code behind just binds it to a datatable.

<telerik:RadGrid ID="gvDate" runat="server" ShowGroupPanel="false" PagerStyle-Mode="NextPrev"
                    AutoGenerateColumns="false" PageSize="10" AllowPaging="false" EnableViewState="true"
                    AlternatingItemStyle-BackColor="AliceBlue"
                    OnDetailTableDataBind="RadGrid1_DetailTableDataBind">
                     <clientsettings AllowGroupExpandCollapse="true">
 
                     </clientsettings>
     <MasterTableView ClientDataKeyNames="ID" DataKeyNames="ID" HierarchyLoadMode="ServerBind" GroupLoadMode="Client"
                        HierarchyDefaultExpanded="false">
                        <Columns>
     <telerik:GridBoundColumn HeaderText="ID" DataField="ID" Visible="False" UniqueName="ID" />
      <telerik:GridBoundColumn DataField="Led" HeaderText="Led" />
</Columns>
                        <DetailTables>
                            <telerik:GridTableView>
                                <Columns>
                                    <telerik:GridBoundColumn HeaderText="ID" DataField="ID" Visible="False" UniqueName="ID" />
                                    <telerik:GridBoundColumn DataField="Date" HeaderText="Date" />
</Columns>
                            </telerik:GridTableView>
                        </DetailTables>
                    </MasterTableView>
                </telerik:RadGrid>
Eyup
Telerik team
 answered on 19 Dec 2012
1 answer
17 views
I looked at the custom filter demo at : http://demos.telerik.com/aspnet-ajax/filter/examples/customeditors/defaultcs.aspx?#qsf-demo-source 

I followed everything that is being said in this demo. I copied the code and pasted it in my webform. However, I am getting lots of errors.

Does anybody have a working example (ie. zip file or solution file) of this demo?

Thanks
Milena
Telerik team
 answered on 19 Dec 2012
2 answers
130 views
Hi,

I have a RaddatePicker control and Submit button in my screen . If user chooses date from datepicker, have no issues. If user enters some random characters in dateinput, it shows warning on screen. However, onclick of Submit button, form is being submitted. I want to restrict the form submission. This field is not a required field. So adding required field validator will not help me.
Can anyone please help me in resolving this.

Thanks,
Selvaraj.V
Selvaraj
Top achievements
Rank 1
 answered on 19 Dec 2012
2 answers
131 views
Hi

Is it possible to get information on which view (Month, Day, Timeline) is selected in JS on page load? I am aware of the OnClientNavigationCommand property, but I need the selected view on load - not only when it changes.

Thanks!
Esben
Top achievements
Rank 1
 answered on 19 Dec 2012
3 answers
163 views
I have a radtreeview inside the radpanelbar. I have set the expandmode to fullexpandeditem and the height to 100% at all level above the radtreeview. The code is as follows : 

.NavigationPanelItemClass
        {
            overflow: hidden !important;
        }
 <telerik:RadPanelBar ExpandMode="FullExpandedItem" Height="100%" ID="RadPanelBar1"
            runat="server">
            <Items>
                <telerik:RadPanelItem ChildGroupCssClass="NavigationPanelItemClass" Expanded="true"
                    Height="100%" runat="server" Text="Tab 1">
                    <Items>
                        <telerik:RadPanelItem Height="100%" runat="server">
                            <ItemTemplate>
                                <telerik:RadTreeView CssClass="TreeClass" Height="100%" ID="RadTreeView1"
                                    runat="server">
                                    <Nodes>
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                        <telerik:RadTreeNode Text="First" />
                                    </Nodes>
                                </telerik:RadTreeView>
                            </ItemTemplate>
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem runat="server" Text="Tab 2">
                </telerik:RadPanelItem>
            </Items>
            <ExpandAnimation Duration="0" />
            <CollapseAnimation Duration="0" />
        </telerik:RadPanelBar>

I have set the scrollbars to hidden for the panelitem as i want only the radtreeview scrollbars and not the radpanelitem's. Even after this the scrollbars are not getting displayed for the tree. Can you please redirect to some solution for this.
Chandrak
Top achievements
Rank 1
 answered on 19 Dec 2012
3 answers
236 views
Hi everyone,
Need some help here. 
I have two tables; orders and order_detail. Orders table has only 3 columns. The major information is in the detail.
I'm showing the whole information (order + detail) in the same row in a rad grid. I populate the grid with the OnNeedDataSource.
Grid EditMode is PopUp and I'm using an Edit Form Template.

Now, I have two different insert scenarios:
1 - The add new record (on top of the grid), inserts new order with default order detail. Press the button, popup opens, inserts and everything works fine.
2 - I need another insert button, to add a new item (detail) for an order. This would mean, open popup Edit Form Template, with order_id, customer and blocking information, and all of the attributes corresponding to the new item, should be blank.

Question is, how can I call the pop up Edit Form Template from the GridButton Button Column?
My asp structure is:
<telerik: radGrid....
     .....
     <Columns>
           <telerik:GridButtonColumn />
     </Columns>

     <EditFormSettings InsertCaption="Add Order" CaptionFormatString="EditOrder: {0}"
              CaptionDataField="PedidoDetalleId" EditFormType="Template" >
           <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
           <PopUpSettings Width="60%" />
           <FormTemplate>
<table>
</>
           </FormTemplete>
    </EditFormSettings>
</telerik:radGrid>

Thank you so much in advance
Carol

Shinu
Top achievements
Rank 2
 answered on 19 Dec 2012
1 answer
97 views
Hi
i've this code:
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="200px"
        width="112px">
        <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" Culture="it-IT"
        OnClientValidationFailed="OnClientValidationFailed" OnClientFileSelected="fileSelected" OnClientFileUploaded="fileUploaded"
        AllowedFileExtensions="jpeg,jpg,gif,png"
Localization-Remove="Rimuovi" Localization-Select="Cerca" MaxFileSize="5000000">
            <FileFilters>
                <telerik:FileFilter Description="Images(jpeg;jpg;gif;png)"
                Extensions="jpg,jpeg,gif,png" />
            </FileFilters>
            <Localization Cancel="Annulla trasferimento" Select="Cerca" Remove="Rimuovi" />
        </telerik:RadAsyncUpload>

but when i start the page there is this error: Cannot create an object of type 'System.String[]' from its string representation 'jpg,jpeg,gif,png' for the 'Extensions' property. Why?

Thanks





Plamen
Telerik team
 answered on 19 Dec 2012
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?