Hi,
I'm using the RadTreeList and for some reason when clicking on the "+" sign to expand an item it opens a new window and expands the item instead of just expanding the item. Is there anyway to get it to stop opening a new window. I'm pretty sure its not supposed to open up a new window before it expands. Its supposed to expand in place ...
Thanks in advance.
Jon
I'm using the RadTreeList and for some reason when clicking on the "+" sign to expand an item it opens a new window and expands the item instead of just expanding the item. Is there anyway to get it to stop opening a new window. I'm pretty sure its not supposed to open up a new window before it expands. Its supposed to expand in place ...
Thanks in advance.
Jon
4 Answers, 1 is accepted
0
Hi Jon,
This is indeed an odd behavior. The answers to the following questions can help us track down the reason for it:
This is indeed an odd behavior. The answers to the following questions can help us track down the reason for it:
- Can you reproduce it on one of the online demos of our AJAX TreeList control?
- Does this abnormality happen under a certain browser only? Is it possible that this is related to custom browser settings?
- Does the same behavior occur on another machine inside your network?
- Is there some custom code in your implementation which may cause the expand/collapse buttons (rendered as input type=button html elements) to open popup windows?
Let us know what your findings are.
Best regards,
Sebastian
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Jon
Top achievements
Rank 1
answered on 01 Feb 2011, 03:09 PM
The control lies in a modal popup window .. The JavaScript that opens up the window is below. This may enable you to replicate the error ..
The browser is IE 8. The page just holds the TreeList control and thats all ..
jon
The browser is IE 8. The page just holds the TreeList control and thats all ..
jon
<
script
type
=
"text/javascript"
>
function modalWin() {
if (window.showModalDialog) {
window.showModalDialog("PageList.aspx", "name", "dialogWidth:1000px;dialogHeight:500px");
} else {
window.open('PageList.aspx', 'name', 'height=1000,width=500,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes');
}
}
</
script
>
0
Hello Jon,
Veli
the Telerik team
I was able to reproduce this. It is an IE-only behavior, doesn't happen in other browsers. Very strange, really. It is not RadTreeList-specific, if you put a regular <asp:Button> control inside the modal page and try to postback from it you will get the same behavior. It seems IE modal dialogs were not meant to be used as regular browser windows and posting back from these result in a number of weird behavior. Here is an external blog post about one workaround. The article presents one solution I verified to be working:
<
head
runat
=
"server"
>
<
title
></
title
>
<
base
target
=
"_self"
/>
</
head
>
The above <base> tag is added in PageList.aspx. Now postbacks seem to be working OK.
Veli
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Jon
Top achievements
Rank 1
answered on 02 Feb 2011, 02:34 PM
Thanks ! !! !
jon
jon