Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
141 views
We would like to use the RadFileExplorer in a classic asp.net web application and connect it to a Sharepoint server and its libraries.

Is this possible with the ASP.NET RAD controls? If so, is there a page somewhere to see an example (from what I understand from the MOSS pages this should be just a couple of lines, right?).

Thank you
Fiko
Telerik team
 answered on 04 Feb 2010
1 answer
179 views
I expand a node with the expandMode = TreeNodeExpandMode.WebService and it expands just fine, but the expandedImageURL doesn't change.

If I build out the tree as to not need the webserice, the expandedimageurl works properly.  Am I doing something wrong or is this a bug?


RadTreeNode childNode = new RadTreeNode();
childNode.Text ="TITLE";
childNode.ImageUrl = "/images/theme1/closedfolder.gif";
childNode.ExpandedImageUrl = "/images/theme1/openfolder.gif";
childNode.ExpandMode = TreeNodeExpandMode.WebService;


Veronica
Telerik team
 answered on 04 Feb 2010
3 answers
191 views
May I know how do I manipulate the ClientDataKeyNames from code behind?
I tried to search the documentation but can't seem to find any issue about this.

Thanks.
Rosen
Telerik team
 answered on 04 Feb 2010
4 answers
202 views
I need to know if my grid is in edit/insert mode from the client side. Can one of you guys tell me how I should approach this?

Thanks in advance!
Tonino
Top achievements
Rank 1
 answered on 04 Feb 2010
1 answer
156 views

I am looking into Telerik Grid so I can move from the Infragistics as it has a stranglehold on the application I am working with. Because of that I am preparing the base set of things/standards that our application was following when using IG to work with RadGrid.

In the IG, I have been using a xml file to generate the columns. So for a simple purpose I have duplicated the base xml to match the Telerik xml. One great thing I noticed is everything I wanted to do is built into the grid and I don't have to do any heavy work when working with the HyperLink Column or Image Column.

Problems I am facing:

In our scenario we bind around 250 to 500 records (about 30 columns) and little more depending on the location and most of the grids require grouping. As I mentioned all columns are rendered during page load and the data is bound the grid right after that. Once the data is bound grid looks and behaves normally.

1) Once I perform sort, all the column headers (text) disappears and I see only empty header cells. It also changes the whole grid's shape as the columns had specific size the once rendered after sorting the columns widths are shrunk extensively to match the data.

2) The second problem I am facing is grouping. When I drag columns for grouping, it throws me an object reference error.

3) Auto Scrolling - overflow feature is not working propertly when used with W:100%/ H:100%. It crushes the height into just 3px. I am not sure if this has something to do with the DocType?

I some how feel I have to re-init the columns as the data still exists for setting the datafields. If this is so, what exact events I need to use.

Any guidance now and near future is greatly appreciated. 

 

<telerik:RadGrid ID="rgViewer" runat="server" ShowGroupPanel="True"   
AutoGenerateColumns="False" AllowSorting="True" Width="100%" Height="800"   
AllowMultiRowSelection="true"&gt; <BR>&nbsp;&lt;MasterTableView   
GroupLoadMode="Client"&gt; <BR>&nbsp;&lt;Columns /&gt;   
<BR>&nbsp;&lt;/MasterTableView&gt; <BR>&nbsp;&lt;ClientSettings   
AllowDragToGroup="true" AllowColumnsReorder="false"&gt; <BR>&nbsp;&lt;Selecting   
AllowRowSelect="True" /&gt; <BR>&nbsp;&lt;Scrolling AllowScroll="True"   
UseStaticHeaders="True" /&gt; <BR>&nbsp;&lt;/ClientSettings&gt;   
<BR>&lt;/telerik:RadGrid&gt; <BR>&lt;IA:RadGridExtender ID="rgeViewer"   
runat="server" MappingXmlPath="/Viewer.xml" RadGridId="rgViewer" /&gt;  

 

 

 

Thanks,
Shrini Viswanathan

Yavor
Telerik team
 answered on 04 Feb 2010
9 answers
371 views
Hello Telerik Team,

I am just enquiring into how to make a radwindow move as the scroll bar is used on the page behind?

Such that if the user scrolls down the main page the rad window will follow down.  I am sure the old Rad Windows did this, but i cannot find an example in the new Rad Ajax Controls for Rad Window.

Thanks in advance

Ian Ramsay
Developer
Image Red Ltd
Georgi Tunev
Telerik team
 answered on 04 Feb 2010
1 answer
136 views
Hello, I have a grid that is created dynamically at runtime. It is also databound.

Well, we need to be able to add a column to the grid which is filled with hyperlinks that are dynamically generated according to the RowIndex. How would we do this? I just can't figure out how access the Columns in the ItemDataBound and I can't figure out what is the proper way of adding a column that is not in the bound dataset.
Shinu
Top achievements
Rank 2
 answered on 04 Feb 2010
1 answer
120 views
Because I don't know how many columns will be needed at design time, I've delved into programatically creating grid columns and adding them to the grid.  However, I cannot seem to affect the width of the column.  Could someone please help me understand how to set the width of the column?  If I were doing this in the markup I'd set the HeaderStyle and/or ItemStyle but those appear to be readonly properties when I view them in the codebehind.  Help?
Shinu
Top achievements
Rank 2
 answered on 04 Feb 2010
12 answers
501 views
Hi,


My Question is Can we have a HTML Table inside RadTooltip Text.

i.e....  text = "<html><table></table></html>"

the reason behind this is that, i need to bind  4 rows of records from db to this tooltip in the below format.

Name :
Address :
age :
DOB :

....how do i do it line by line... can i use br tag atleast....... please suggest me a better solution


with regards,

Suresh S










Svetlina Anati
Telerik team
 answered on 04 Feb 2010
2 answers
631 views
Hello,

I've been trying to work my head around why i receive the following error:

Exception Details: Telerik.Web.UI.GridGroupByException: Field Location not found in the source table. Please check the expression syntax.

In my code the grid is dynamically bound to an XML datasource, so the column names are not constant and change from report to report, but in my current report the "Location" column is supposed to be grouped so that the group footer will display the sum of another column.

  1. The grid is loaded with data on the NeedDataSource function, where a data table is converted to a dataview and sorted.
  2. After the datasource has been set an event lister is added to the grid to listen for ColumnCreated.
  3. In the ColumnCreated function it listens for the creation of the column that needs to be summed, add the neccessary infomation for the row to sum.
  4. Right after adding the sum information the following code block is used to add the grouping:
GridGroupByExpression ge = new GridGroupByExpression();  
GridGroupByField gf = new GridGroupByField();  
gf.FieldName = "Location";  
ge.SelectFields.Add(gf);  
this.RadGrid1.MasterTableView.GroupByExpressions.Add(ge); 
Which leads to the folowing error:

[GridGroupByException: Field Location not found in the source table. Please check the expression syntax.]
   Telerik.Web.UI.GridDataSetHelper.CreateGroupByTable(DataTable SourceTable, GridTableView view) +376
   Telerik.Web.UI.GridEnumerableFromDataView.PerformTransformation() +2698
   Telerik.Web.UI.GridEnumerableFromDataView.TransformEnumerable() +21
   Telerik.Web.UI.GridTableView.GetEnumerator(Boolean useDataSource, GridEnumerableBase resolvedDataSource, ArrayList dataKeysArray) +105
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +169
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +499
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +57
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +114
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
   Telerik.Web.UI.GridTableView.PerformSelect() +4
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   Telerik.Web.UI.GridTableView.DataBind() +238
   Telerik.Web.UI.RadGrid.DataBind() +80
   Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason) +2122
   Telerik.Web.UI.RadGrid.OnLoad(EventArgs e) +121
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

I know the Location column is present in the data, and I can use the drag up to group feature when the code segment is removed, but I really need it to just do it by itself.
Shinu
Top achievements
Rank 2
 answered on 04 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?