Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
202 views

When I drag a file node onto a folder node, I want the folder node expanded on the PostBack display.

On drop, the NodeDrop server event fires. I update my database table then set e.DestDragNode.Expanded to true (a breakpoint shows it was true anyhow). BTW, on PageLoad, I do not re-databind if IsPostBack.

I use the NodeDataBind event and this seems to fire even when IsPostBack is true. This fires after the NodeDrop and at this point, the Expanded property is false.

Is the NodeDataBind interfering with this property setting or am I missing something? Do I need client-side support for this? I don't think so since if I breakpoint within the NodeDataBind and manually set a few folder nodes Expanded property to true, they do display expanded when continuing from the breakpoint.

This is the control:

<telerik:radtreeview id="radTree" runat="server"
 allownodeediting="True"
 datafieldid="RowID"
 datafieldparentid="ParentID"
 datasourceid="sqlDataSourceCustomerContent"
 datatextfield="ContentID"
 datavaluefield="RowID"
 enabledraganddrop="True"
 multipleselect="True"
 onclientcontextmenuitemclicking="onClientContextMenuItemClicking"
 onclientdoubleclick="onClientDoubleClick"
 oncontextmenuitemclick="radTree_ContextMenuItemClick"
 onnodedatabound="radTree_NodeDataBound"
 onnodedrop="radTree_NodeDrop"
 onnodeedit="radTree_NodeEdit"
 skin="Outlook">
   [.... context menus ....]
 <CollapseAnimation Type="OutQuint" Duration="100"></CollapseAnimation>
 <ExpandAnimation Type="OutQuart" Duration="100"></ExpandAnimation>
</telerik:radtreeview>

Also, it would be nice if all currently expanded nodes remained expanded.

Can I wrap this in an Ajax panel so the "drop" postback is handled without the page-redisplay?

Thanks,
Gary Davis

Gary Davis
Top achievements
Rank 2
 answered on 04 Aug 2008
4 answers
276 views
I have a main page that is dynamically loading my user control.  The user control is comprised of only Telerik controls.  When the page loads my user control the first time, everything has the correct skin.  Then I click on one of the Telerik controls (e.g., a RadToolbar or RadTabStrip).  When the ajax call returns, the skins rendering on all of the Telerik controls are gone. 

When I compare the before and after HTML returned from the server side, the only difference is the Telerik css link is missing.  E,g,

   <link title='Telerik stylesheet' type='text/css' rel='stylesheet' 
            href='/MyApp/WebResource.axd?d=uJwQdCvUSF
           oaKrPlZUKnF7vKBc4bpis_hMnEMcq4COvgKUytoTBF6
           JxKtFi2B2dES9bW3rVsuCiW5TsPr1_fA
           2&amp;t=633463791520000000'></link>

When I check the href in the browser I can download the CSS file.

When I switch off ajax in my RadAjaxManager, it renders fine every time.

I'm using Telerik.Web.UI.dll version 2008.1.515.20 and ASP.NET 2.0.

So it appears that the server side decided not to inject the <link> for the skins.  What can make this happen? 
Nataraj
Top achievements
Rank 1
 answered on 04 Aug 2008
3 answers
94 views
Hi,  in the latest Telerik release and the latest IE,  Ive noticed that the 3 buttons ( or whichever edit modes you have active ) display a few inches down below where they should be.  If you scroll the browser down and click on one of them then they pop back to where they should be. In Firefox they are ok.

Thoughts?

Thanks
-Keith
Rumen
Telerik team
 answered on 04 Aug 2008
1 answer
141 views

Hi All,
I'm experiencing an issue when trying to load templates into the radEditor Template Manager dialog in SharePoint.  I am working on a sharepoint site that contains a custom aspx page with the RadEditor and a Picture Library containing several HTML template files. 

The url for my custom page is:
http://editorial:3718/graphics/tableeditor.aspx

The url for the template folder within the picture library is:
http://editorial:3718/graphics/Media/Templates

In my rad editor I have the following code in my aspx page that should point to the correct folder in the library:

<telerik:RadEditor ID="tableEditor" Runat="server" Skin="Default2006" EditModes="Design, Preview, HTML" EnableResize="False" Width="800" ToolsFile="tableEditorToolbar.xml" >

<TemplateManager ViewPaths="~/Media/Templates" UploadPaths="~/Media/Templates" DeletePaths="~/Media/Templates" />
<Content/>

</telerik:RadEditor>

This fails to load the appropriate files.  I do not recieve an error message, but the dialog opens with nothing loaded.  I've tried multiple variations of this and the template manager still doesn't load the files.  I have a test program that runs outside of sharepoint and it works fine, so I'm guessing there is some lame sharepoint configuration that needs to go along with the above references.  Any help is appreciated

Thanks,
John P.

George
Telerik team
 answered on 04 Aug 2008
1 answer
98 views
Hello,

I have several user controls with a RadWindowManager in each.
Behaviour is very funky - no call backs from windows, skins are rendering incorrectly. Is there a workaround except putting all windows into one manager on a page itself (or parent control)?

Thank you,
Konstantin
Georgi Tunev
Telerik team
 answered on 04 Aug 2008
2 answers
149 views
On a button click, I want to open up a RadWindow with a PayPal payment page in it. Instead, the RadWindow disappears and the PayPal page opens up in the parent window plus it displays an error that does not occur if you manually try the url within the browser.

Perhaps it is related to redirection by PayPal or maybe that it is SSL. I have seen a few other postings here related to redirects opening in the parent with no solution.

The url is:

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=bill@hotmail.com&item_name=iPod&amount=100.00

The test case is:
<script type="text/javascript">  
function openWin()  
{  
    var url = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=bill@hotmail.com&item_name=iPod&amount=100.00";  
    var oWnd = radopen(url,"RadWindow1");   
}  
</script> 
 
<asp:ScriptManager runat="server" ID="scriptMgr" /> 
<telerik:RadWindowManager ID="WindowManager1" runat="server"></telerik:RadWindowManager> 
<button onclick="openWin(); return false;">open window</button> 
 
 
 

Thanks,
Gary Davis
Gary Davis
Top achievements
Rank 2
 answered on 04 Aug 2008
3 answers
149 views
In the article http://www.telerik.com/help/aspnet-ajax/different-configuration-files-for-different-webs.html you describe how to create a configuration file (like ListConfigFile.xml or ToolsFile.xml) for each web (teamsite) in a MOSS or WSS environment.

Is it also possible to have different configuration files for each Site Collection? My scenario: for one site collection (and all webs or teamsite in it) I would like to have a set of configuration files. As the creation of webs is a dynamic process, I already changed the feature scope to "site" (nice feature!), but now I also need that behaviour for the config files.

I tried to create a config file for the top level site, which works perfectly for that web, but is not 'inherited' by its subwebs. 

Is there a way of creating a set of config files for a specific (entire) site collection (without messing up other site collections)? 

If not: could you please add that to the next release of RadEditor MOSS?
Lini
Telerik team
 answered on 04 Aug 2008
0 answers
130 views
This is a public service announcement.

I've just logged a reproducible problem with a grid in a splitter. If the grid is set up for virtual paging and the data set is large, big scrolling actions can cause some very strange behaviour in FF3.

The chaps at telerik towers have acknowledged the problem and say "Hopefully this issue will be resolved for the future versions of the control...".

If you've got a similar set up in your application and haven't yet upgraded to 2008Q2, you might want to make sure you give it a thorough testing before making any deployment decisions.

I have to say, that my application seems to be exhibiting strange behaviour in IE7 too, in that the application seems to hang, with Task Mangler reporting IE7 running at a steady 50%. The only recovery is the old 3-finger salute.

Of course, your mileage may vary ...

--
Stuart
Dan
Top achievements
Rank 1
 asked on 04 Aug 2008
0 answers
114 views
This is a public service announcement.

I've just logged a reproducible problem with a grid in a splitter. If the grid is set up for virtual paging and the data set is large, big scrolling actions can cause some very strange behaviour in FF3.

The chaps at telerik towers have acknowledged the problem and say "Hopefully this issue will be resolved for the future versions of the control...".

If you've got a similar set up in your application and haven't yet upgraded to 2008Q2, you might want to make sure you give it a thorough testing before making any deployment decisions.

I have to say, that my application seems to be exhibiting strange behaviour in IE7 too, in that the application seems to hang, with Task Mangler reporting IE7 running at a steady 50%. The only recovery is the old 3-finger salute.

Of course, your mileage may vary ...

--
Stuart
Dan
Top achievements
Rank 1
 asked on 04 Aug 2008
2 answers
91 views
Hello,

I'm having a problem with a calendar found in a context menu: when clicking on the calendar title the fast navigation table is shown under the menu item. 

Below you can see my code:

<

form id="form1" runat="server">

<

asp:ScriptManager ID="ScriptManager1" runat="server" />

<

asp:Label runat="server" ID="lblShow" Text="Test bug"></asp:Label>

<

radC:RadContextMenu EnableViewState="false" ClickToOpen="true" ID="RadMenu1" runat="server" Flow="Vertical" style="left: 0px; top: 0px" >

<

Targets>

<radC:ContextMenuControlTarget ControlID="lblShow" />

</Targets>

<

Items>

<radC:RadMenuItem runat="server" Text="Calendar" Value="Day_Selector">

<Items>

<radC:RadMenuItem runat="server" Value="Day">

<ItemTemplate>

<radC:RadCalendar ID="RadCalendar1" runat="server" EnableMultiSelect="False" SelectedDate="" EnableViewState="false" TitleFormat="MMM yyyy" Width="160px" />

</ItemTemplate>

</radC:RadMenuItem>

</Items>

</radC:RadMenuItem>

</

Items>

</

radC:RadContextMenu>

</

form>


Any ideas on how to resolve this issue?

AdrianP
Top achievements
Rank 2
 answered on 04 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?