Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
134 views
We are using most current version of RADEditor.  It uses AJAX 1.0.  Last time, when we tried to install .net framework 3.5 on the development server, we encountered some problems. We saw error message similar to this
'Unable to cast object of type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to type 
'System.Web.Configuration.ScriptingScriptResourceHandlerSection'.   
We had to modify the web configure file to not use .net framework 3.5

Do you have  detailed instruction on how to install .net framework 3.5 in the environment where AJAX 1.0 is installed? Thanks.
Stanimir
Telerik team
 answered on 21 Jan 2010
1 answer
140 views
I would like to add a custom attribute to a RadChart so that I can use it when the user clicks on the series.

Currently I have an exploded pie chart.  I can parse the data that is displayed.  But I would prefer to add an ID to the series and be able to parse the ID when I go to drill down on the click event.

Thanks
Ves
Telerik team
 answered on 21 Jan 2010
2 answers
85 views
Hi, I need help. After making the ordering of the grid I need to get this data from the modified datatable, how can I do??

I am passing the values to sort through the code below:

        GridSortExpression expression = new GridSortExpression ();
        
expression.FieldName = "ds2";
        
this.RgDados.MasterTableView.SortExpressions.AddSortExpression (expression);
        
this.RgDados.MasterTableView.Rebind ();

        
DataTable dt = (DataTable) RgDados.MasterTableView.DataSource;
        
Session [ "Data"] = dt;
Yavor
Telerik team
 answered on 21 Jan 2010
8 answers
344 views
hello,

i have some problems with the editor and dotnetnuke version 5.2
i installed the zippackage Telerik.DNN.Modules_2009_2_826_dev.zip and activated the RADeditor.
this works but i have problems with blank spaces and special characters.
but in the web.config from dnn my language settings look like this:
<globalization culture="de-DE" uiCulture="de" requestEncoding="UTF-8" responseEncoding="UTF-8" fileEncoding="UTF-8" />
here you can see my portal where i hvae the ?? instead of the blank spaces:
http://auct.dnn.at/Home/tabid/40/language/de-DE/Default.aspx

editor settings:
where can i change some editor settings?
i'd like to change the root folders for inserting an image, document, flash, media oder template.

thanks for help

regards

michael
Lini
Telerik team
 answered on 21 Jan 2010
2 answers
90 views
I have a hierarchial grid with 3 levels - Parent, Child, & Grandchild.  When the user clicks the imagebutton on a Child level row, I want all of the Grandchild level rows to go into edit mode.  Here's my code:

Protected Sub dg_ItemCommand(ByVal source As ObjectByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles dg.ItemCommand  
        If e.CommandName = "editChild" Then 
            If Not e.Item.Expanded Then 
                e.Item.Expanded = True 
            End If 
            Dim item As GridDataItem = CType(e.Item, GridDataItem)  
            Dim nestedTableView As GridTableView = CType(item.ChildItem.NestedTableViews(0), GridTableView)  
            For Each grandChild As GridDataItem In nestedTableView.Items  
                grandChild.Edit = True 
            Next 
            nestedTableView.Rebind() 

Upon Rebind(), I receive the following error:

"Specified argument was out of the range of valid values. Parameter name: index"

Before the Rebind, nestedTableView.Items.Count = 4.  After the Rebind, nestedTableView.Items.Count = 0.

If I rebind the grid instead of rebinding the tableview, ( dg.Rebind() ) then I lose all the Child & Grandchild data with no errors.  If I rebind on the event item itself ( item.OwnerTableView.Rebind() ) then I only lose the GrandChild data with no errors.

Needless to say, I'm pretty confused what object to do my rebind on in order to put all of the Grandchild rows into edit mode and retain the data visibly on the screen.  I'm guessing I'm pretty close.

Thanks in advance.

Princy
Top achievements
Rank 2
 answered on 21 Jan 2010
1 answer
152 views
2009.3.1210.35
Requirement:  When GridHyperLinkColumn is clicked, I want the row to be selected.
I have  <Selecting AllowRowSelect="true" /> already but that doesn't select row when the link in HyperLinkColumn is clicked.
I can't add OnClick to GridHyperLinkColumn so I made a GridTemplateColumn and used <asp:hyperlink> instead which I could call a javascript with onClick.    However I do not know how to pass the current row index to the Row_Select function that I got from another post.

ClientEvent OnRowClick="RowClick" doesn't fire when clicked on the hyperlink either.

        <telerik:RadScriptBlock  runat="server"
            <script language="javascript" type="text/javascript"
                function Row_Select(arg) {   
                  var mt = $find("<%# RadGrid1.ClientID %>").get_masterTableView();   
                  var row = mt.get_dataItems()[arg];   
                  mt.selectItem(row.get_element()); 
              } 
 
              function RowClick(sender, eventArgs) { 
                  var mt = $find("<%# RadGrid1.ClientID %>").get_masterTableView(); 
                  var row = mt.get_dataItems()[eventArgs.get_itemIndexHierarchical()]; 
                  mt.selectItem(row.get_element()); 
              } 
            </script> 
        </telerik:RadScriptBlock > 
Shinu
Top achievements
Rank 2
 answered on 21 Jan 2010
2 answers
93 views
Is there a way to lower the width of the filter UI elements?  I have columns that have a short amount of text in them, leaving too much white space in the column. Changing the column widths hides part of the filter UI elements.
Will Strohl
Top achievements
Rank 1
 answered on 21 Jan 2010
1 answer
84 views
hi,

how can i add validation to grid edit forms?

lakmal
Princy
Top achievements
Rank 2
 answered on 21 Jan 2010
3 answers
204 views
in my edit template form I have a textbox. I want to set this textbox to focus upon clicking on Edit on a row in the grid to bring up the edit template form.
please help
thanks in advance
James Reategui
Top achievements
Rank 1
 answered on 20 Jan 2010
1 answer
399 views
I am trying to have a RadGrid span multiple rows for a single record.  The first row would have 5 different columns, each with a different piece of the data.  The second row would contain a different piece of data and would span all 5 columns.  Is this possible and if so is there a resource someone can point me towards to help me get started?

Thanks.
Schlurk
Top achievements
Rank 2
 answered on 20 Jan 2010
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?