Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
110 views
Hi,

I have a RadTabStrip and RadMultiPage.  When I click a tab, the scroll position of the RadPageView contents is retained, so if I was at the bottom of the page on one tab, I stay there on the next tab.
How can I reset the PageView scroll position back to the top of the page when I change tabs?

Thanks.
Craig Wallace
Top achievements
Rank 1
 answered on 13 Oct 2010
1 answer
123 views
Hi,

We have encountered some issues when using your RadGrid control.

One of the problems is that the width of the column headings is being increased by one pixel.

During our testing we found that this is mostly noticeable in webkit based browsers i.e. Chrome 6 and Safari 5. In Chrome this issue occurs after sorting any column in the grid as can be seen more clearly in the attached screenshot.

Another issue is that the centered columns headings are being shifted to the left when the sort icon is displayed i.e. "ShowSortIcon" is set to "true". We wish to disable this functionality, such that the headings remain fixed.

Thank you for your time.
Pavlina
Telerik team
 answered on 13 Oct 2010
1 answer
138 views
Hi,

We are using the RadEditor for Sharepoint, version 5.7.3.0.
The customer wants to be able to center a table horizontally. Changing the alignment in the table properties adds a align="center" attribute to the table tag. Unfortunately, it seems that Firefox doesn't take the align attribute into account.

I've found a workaround which is to add a style="margin-left:auto;margin-right:auto" to the table.
I want to use this workaround in a way that is as user-friendly as possible. The best would be to have it used when the user selects the alignment.

For now, I've created a CSS class which can be applied through the "CSS Class" drop down list under the "Layout" section :
.halign {margin-right:auto;margin-left:auto;}
It works unless I also need a complete table layout (as described here). If I select different classes in the "CSS Class" and "CSS Class layout" drop down lists, the last selected is applied. It would be nice if both were applied (like <table class="halign table_layout" ...>).

I hope you can help.

Kind regards,
Xavier Stévenne.
Stanimir
Telerik team
 answered on 13 Oct 2010
2 answers
123 views
Hi guys!
I have a master page which holds RadGrid and a few columns (ClientSelect, Edit, Delete). The rest of the columns are added during Page_Init inside content page during runtime. It all worked fine, untill I needed to create a self-hierarchy structure. When I set SelfHierarchySettings on master page, it works, but other pages that don't need it become unusable. If I set those settings in code-behind, there are no child rows rendered.
We had an idea to use <%= %> on Master page to set KeyName and ParentKeyName but it results in a compilation error (like this

<

 

SelfHierarchySettings KeyName="<%=KeyName%>" ParentKeyName="<%=ParentKeyName%>" />

So far I found only samples when grid is either defined on aspx, or completely created programmatically. If you could provide a sample similar to my case, I'd be very thankful.

 

Andy
Top achievements
Rank 1
 answered on 13 Oct 2010
1 answer
66 views

Hi.

We've implemented a custom FileBrowserContentProvider to display directories and files from our services.  In order to increase performance and customer appeal, we allow paging and hide directories in the grid and only show files.  I've implemented a suggestion from other forums and removed the DirectoryItem objects from the grid in the OnExplorerPopulated event.  This worked great.

My problem arises when the number of DirectoryItems exceeds the number of items in the page.  ie: 30 DirectoryItems in the list, PageSize is set to 25.  The grid will display there are "No records to display".
Is there a way to intercept the event that is loading the items into the grid, and just not include the directories in the list in the first place?

Fiko
Telerik team
 answered on 13 Oct 2010
2 answers
112 views
Hello,

We are having some problems installing/configurating RadEditor for MOSS 2007. What we've done so far:

- Extend site with ASP.NET 3.5
- Deployed RadControls
- Installed RadEditor using Teleriks' .wsp file
- Deployed RadEditor solution
- Incorporate RadEditor in the PageLayouts (replacing richhtmlfield for radhtmlfield)

Everything seems to work (no errors), but when we view the RadEditor something seems to be wrong with the layout as seen in the attached screenshot.

What can this be?

Regards,

Torben Sonnemans
Torben
Top achievements
Rank 1
 answered on 13 Oct 2010
3 answers
97 views
Hi,

I am binding my grid to a sorted view which is sorted on column A in Ascending order like this:
DataTable1.DefaultVew.Sort  = "A ASC";
RadGrid1.Datasource = DataTable1.DefaultView.ToTable();

The grid should look like this as the sorting is done by col A:
A (datetime)    B(string)     C(string)
10 AM                  xxx                Meeting
11 AM                  xxy                Call
2 PM                    xyx                Project
3 PM                    zxx                Appointment

Somehow after I bind the grid the sorting is changing to be sorted in Ascending order by col C.The grid is being rendered as:
A (datetime)    B(string)     C(string)
3 PM                    zxx                Appointment
11 AM                  xxy                Call
10 AM                  xxx                Meeting
2 PM                    xyx                Project

I have allowsorting set to false for the grid.
Could you tell me what's wrong here.
Dimo
Telerik team
 answered on 13 Oct 2010
6 answers
95 views
I need to do something that seems like it shouldn't be that difficult, but I can't seem to figure out how to do it effectively, but I am fairly new to these controls.

The scenario is that I have a custom control that basically wraps the file explorer with image preview demo and paging is enabled for the grid. I want to be be able to move the page to the selected item (single select only). Right now, the item that is selected when the control first comes up is set using the InitialPath property of the file explorer, but it always opens on page 1. If I scroll through the pages, when I get to the page with the selected item, it is selected and the image preview happens. Great, but I want to do that programmatically.

I have tried a number of different approaches, but they have not yielded anything. Can someone give me some tips or a pointer to some code that could be adapted to do this? I have looked in the demos, forum and code library, but didn't find anything that really addressed this.

Thanks in advance.
Fiko
Telerik team
 answered on 13 Oct 2010
1 answer
101 views
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
      If Not Page.IsPostBack Then
 
  ap.ResponseScripts.Add("radalert('Thank you for your registration.')")
 
 
  End If
 
  End Sub

Is it possible to call radalert using the code above in page_load?
The page has JS error.
If not, what is the correct way?

Thanks.
Shinu
Top achievements
Rank 2
 answered on 13 Oct 2010
2 answers
117 views

Hello,

Can you copy and paste values from 1 cell to another cell using the grid?

Any help appreciated.  Thanks in advance

Daniel
Telerik team
 answered on 12 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?