Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
155 views
Hello,

I want to know if there is any way I can dynamically add a Detail Table between a Rad Grid and another Detail Table.
The structure would be the following:

Before addition:
<RadGrid>
<DetailTable ID="1">
</DetailTable>
</RadGrid>

After addition:
<RadGrid>
<DetailTable ID="2">
<DetailTable ID="1">
</DetailTable>
</DetailTable>
</RadGrid>

The Rad Grid and the detail tables feed from their own objectdatasource.

Thanks in advance.
Eyup
Telerik team
 answered on 23 Nov 2012
5 answers
101 views
hi 

i would keep the list of files after a postback like do the postbacktrigger property but i need it for validation purpose and so the postback to validate is the same than for upload.

i mean i have a single button to save my form and upload the file in server code i validate my form if there is a problem. i need to show again the form with information about the validation if no problem i save everything.

if i use the postbacktriggers property i don't get the upload event and i absolutely need it.

so i'm looking for away to give or keep the list in client side.

hope it was clear enough :-)

thank you 
Plamen
Telerik team
 answered on 23 Nov 2012
1 answer
93 views
Hello all,

I have encountered a problem while using the GroupFooterTemplate in RadGrid. I have implemented a RadGrid using GroupFooterTemplate according the documentation that I have found at your web site. Here is the link to the documentation: 
Group Header and Footer Templates

In the GroupFooterTemplate, I used several <td></td> together with labels to show the footer items. I have to use GroupFooterTemplate because a checkbox must be displayed in one of the footer columns.

The issue occured, when I used Aggregate="Custom" as follows
<telerik:GridBoundColumn UniqueName="OrderNo" DataField="OrderNo" HeaderText="Order No." Aggregate="Custom" />

The error message that I got is as follows:

An entry with the same key already exists.

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.ArgumentException: An entry with the same key already exists.

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: 
[ArgumentException: An entry with the same key already exists.] 
System.Collections.Specialized.ListDictionary.Add(Object key, Object value) +6236829
Telerik.Web.UI.GridBoundColumn.PopulateAggragateInGroupFooter(TableCell cell, Object result) +142
Telerik.Web.UI.GridBoundColumn.ApplyAggregates(TableCell cell, String footerText) +2485
Telerik.Web.UI.GridBoundColumn.InitializeCell(TableCell cell, Int32 columnIndex, GridItem inItem) +637
Telerik.Web.UI.GridGroupFooterItem.Initialize(GridColumn[] columns) +262
Telerik.Web.UI.GridItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) +964
Telerik.Web.UI.GridItemBuilder.CreateGroupFooterItem(GridGroupingContext group) +179
Telerik.Web.UI.GridItemBuilder.HandleGrouping(GridGroupingContext group, GridEnumerableBase enumerable, Boolean& isGroup, Boolean& isGroupFooter) +204
Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) +323
Telerik.Web.UI.GridItemBuilder.CreateGroupSubItems(GridGroupingContext group, GridEnumerableBase enumerable) +783
Telerik.Web.UI.GridItemBuilder.HandleGrouping(GridGroupingContext group, GridEnumerableBase enumerable, Boolean& isGroup, Boolean& isGroupFooter) +81
Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) +323
Telerik.Web.UI.GridTableView.CreateItems(IEnumerator enumerator, GridColumn[] columns, ControlCollection controls) +193
Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +2170
Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +832
System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +66
System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +128
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +33
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +143
Telerik.Web.UI.GridTableView.PerformSelect() +38
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74
Telerik.Web.UI.GridTableView.DataBind() +369
Telerik.Web.UI.RadGrid.DataBind() +173
Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason) +4085
Telerik.Web.UI.RadGrid.OnLoad(EventArgs e) +183
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

If I used Aggregate="Sum" or Aggregate="Count" instead of Aggregate="Custom" , the web application could run without error. Could you please tell me how to use aggregate custom correctly while using the GroupFooterTemplate?

Many thanks in advance!



Greetings,
Y. Lueg
Radoslav
Telerik team
 answered on 23 Nov 2012
1 answer
79 views
 Hello 

I am using radgrid ,I am using radgrid scrolling option but horizontal scrolling get vanished after I grouped the radgrid at run time.grouped field is selected from dropdownlist.
Please suggest me the proper solution for this

Thanks,
Amit
Pavlina
Telerik team
 answered on 23 Nov 2012
1 answer
121 views
I have two web projects. One project use telerik version 2009 and one use telerik 2012. Can I install two telerik version in my PC?
Danail Vasilev
Telerik team
 answered on 23 Nov 2012
5 answers
167 views
We were having the MOSS 2007 site with telerik controls. This was using the version Assembly="Telerik.Web.UI, Version=2008.2.826.20 with System.Web.Extensions, Version=1.0.61025.0.

We migrated the site to Sharepoint 2010 SP1. All the controls loaded fine initially. But the menu's are having a problem we get the Script Error 

Webpage error details


User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 8 Nov 2012 08:31:56 UTC


Message: 'document.body' is null or not an object
Line: 34
Char: 1
Code: 0
URI: http://www.site/ScriptResource.axd?d=22xm3UpNiA3PVP5Fa22svSzau2bD7INcsbLJvG-DL25_x6mPg0NaOWNuqpigIPkFs5CsNME3wl1NZEyl04lZcMIX56pDA99iX5cTOpvjjcIMyGjcAFnRRtVsqgkNVVM1pJqBD449C119swXnsFpuRg5VH7RyyruJ6mOItztJE4-rSch50&t=ffffffffd7b48b01


Message: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: baseType
Line: 1718
Char: 71
Code: 0
URI: http://www.site/ScriptResource.axd?d=AthIancKOQtKRflKS6vyzFAb1YaBR3aO-Ny77_wrdxKP7j3EVVvz3zX79WQeGlgLDk64tsQyQoI5-SzwF2-VhpiOdgiKx7q3rwMuxIr2PiLCDWan4grQfoZD-ylaO7pwldv2JPWG8jFSsMpxuHWNjANFnv3G5jkigyntw6JG79KgupF30&t=ffffffffb868b5f4




Message: Sys.ArgumentException: Value is not a class.
Parameter name: baseType
Line: 1719
Char: 40
Code: 0
URI: http://www.site/ScriptResource.axd?d=AthIancKOQtKRflKS6vyzFAb1YaBR3aO-Ny77_wrdxKP7j3EVVvz3zX79WQeGlgLDk64tsQyQoI5-SzwF2-VhpiOdgiKx7q3rwMuxIr2PiLCDWan4grQfoZD-ylaO7pwldv2JPWG8jFSsMpxuHWNjANFnv3G5jkigyntw6JG79KgupF30&t=ffffffffb868b5f4

Message: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: baseType
Line: 1718
Char: 71
Code: 0
URI: http://www.site/ScriptResource.axd?d=AthIancKOQtKRflKS6vyzFAb1YaBR3aO-Ny77_wrdxKP7j3EVVvz3zX79WQeGlgLDk64tsQyQoI5-SzwF2-VhpiOdgiKx7q3rwMuxIr2PiLCDWan4grQfoZD-ylaO7pwldv2JPWG8jFSsMpxuHWNjANFnv3G5jkigyntw6JG79KgupF30&t=ffffffffb868b5f4




Message: Sys.ArgumentException: Value is not a class.
Parameter name: baseType
Line: 1719
Char: 40
Code: 0
URI: http://www.site/ScriptResource.axd?d=AthIancKOQtKRflKS6vyzFAb1YaBR3aO-Ny77_wrdxKP7j3EVVvz3zX79WQeGlgLDk64tsQyQoI5-SzwF2-VhpiOdgiKx7q3rwMuxIr2PiLCDWan4grQfoZD-ylaO7pwldv2JPWG8jFSsMpxuHWNjANFnv3G5jkigyntw6JG79KgupF30&t=ffffffffb868b5f4

Message: Sys.ArgumentException: Value is not a class.
Parameter name: baseType
Line: 1719
Char: 40
Code: 0
URI: http://www.site/ScriptResource.axd?d=AthIancKOQtKRflKS6vyzFAb1YaBR3aO-Ny77_wrdxKP7j3EVVvz3zX79WQeGlgLDk64tsQyQoI5-SzwF2-VhpiOdgiKx7q3rwMuxIr2PiLCDWan4grQfoZD-ylaO7pwldv2JPWG8jFSsMpxuHWNjANFnv3G5jkigyntw6JG79KgupF30&t=ffffffffb868b5f4




Message: Sys.ArgumentException:  does not derive from Sys.Component.
Parameter name: type
Line: 2707
Char: 9
Code: 0
URI: http://www.site/ScriptResource.axd?d=AthIancKOQtKRflKS6vyzFAb1YaBR3aO-Ny77_wrdxKP7j3EVVvz3zX79WQeGlgLDk64tsQyQoI5-SzwF2-VhpiOdgiKx7q3rwMuxIr2PiLCDWan4grQfoZD-ylaO7pwldv2JPWG8jFSsMpxuHWNjANFnv3G5jkigyntw6JG79KgupF30&t=ffffffffb868b5f4

In one of the thread i came to know embedded scripts failed to load. To fix this to upgrade to October 2011 Cummulative Update. We did try this. But the error persists.

Can somebody let me know how to fix this?





Kalina
Telerik team
 answered on 23 Nov 2012
2 answers
109 views
Hi,
When I attempt to delete the exception appointment of a recurrent series, I get the following exception:

System.InvalidOperationException: Cannot locate the parent of appointment with ID = '135'. Ensure that the parent appointment with ID = '36' exists and is loaded.
   at Telerik.Web.UI.Scheduling.AppointmentController.DeleteAppointment(Appointment appointmentToDelete, Boolean deleteSeries)
   at Telerik.Web.UI.RadScheduler.DeleteAppointment(Appointment appointmentToDelete)
   at Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at Telerik.Web.UI.Scheduling.AppointmentController.DeleteAppointment(Appointment appointmentToDelete, Boolean deleteSeries)
   at Telerik.Web.UI.RadScheduler.DeleteAppointment(Appointment appointmentToDelete)
   at Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I'm binding the scheduler to the list of objects I get from the DB in page load event. Deleting series or a single appointment works fine. Resizing, moving, editing appointments (including exception appointments) also work fine.

Could you point me to the correct direction to resolve this issue?

Cheers
Umit
Top achievements
Rank 1
 answered on 23 Nov 2012
3 answers
131 views
Hi,
How to allow only C and D letters to be written int the third column of the radGridView. And prevent the user to type any other letters or characters??

Thankfully Yours.
Princy
Top achievements
Rank 2
 answered on 23 Nov 2012
4 answers
197 views
Hi,

I want GridClientSelectColumn value like "true or false" in custom button click event.Hi wrote this code it's not working how to find this 

 please how to find the value in button click event 
 for (int i = 0; RadGrid2.Items.Count > i; i++) 
        { 
            CheckBox chk =(CheckBox)RadGrid2.Items[i].FindControl("ClientSelectColumn"as CheckBox; 
            if (chk != null
            { 
                if (chk.Checked == true
                { 
                    TextBox1.Text = "shanker"
                } 
            } 
        } 

Rohan
Top achievements
Rank 1
 answered on 23 Nov 2012
3 answers
174 views
I have a (RadChart) pie chart and for some reason even though the 1 (and only) series item is showing 100% I get this unwanted line that makes it appear as though there is a another miniscule series item (segment) - can anyone tell me how to get rid of this line if at all possible - 100% should show as just a complete circle with no other pie segments.  Please refer to attached file.
Yavor
Telerik team
 answered on 23 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?