Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
1.3K+ views
hi,
i am looking to disable or not have users select the past dates. how can i achieve this?
Please let me know.

Thanks!
Maria Ilieva
Telerik team
 answered on 10 Mar 2008
1 answer
128 views

Hello,
I use the following code to do an Ajaxrequest on a Radwindow close (this code works)

function OnClientClose()  
    {  
        //use this if RadWindow is used  
        GetRadWindow().BrowserWindow.InitiateAjaxRequest(null);  
        GetRadWindow().Close();  
    } 

I wonder how to modify this code if this is not the page context of a RadWindow, but a regular page opened with window.open or <a href=... target=_blank> ?

Thanks,
Nicolas

Maria Ilieva
Telerik team
 answered on 10 Mar 2008
5 answers
276 views
Hello,

I am doing a large project in MOSS and we are going to buy your RadEditor Control (and maybe more controls).

I found out that if I set default libraries for RadEditor's Image Manager
(e.g. ListConfigFile.xml file:
  <property name="ImagesPaths">
    <item>AAAA</item>
    <item>ResizedPictures</item>
    <item>Pictures</item>   
  </property>
)
it works fine.
But when specifiec library does not exists for certain site I get an ugly error:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Invalid path. Could not get SPFolder.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Invalid path. Could not get SPFolder.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


[ArgumentException: Invalid path. Could not get SPFolder.]
   Telerik.SharePoint.Editor.SPContentProvider.GetSPFolderFromPath(String path) +339
   Telerik.SharePoint.Editor.SPContentProvider.ResolveDirectory(String path) +10
   Telerik.SharePoint.Editor.SPContentProvider.ResolveRootDirectoryAsTree(String path) +4
   Telerik.WebControls.RadEditorUtils.FileBrowserContentProvider.ResolveViewPaths() +83
   Telerik.WebControls.EditorControls.FileBrowser.SerializeViewPaths() +104
   Telerik.WebControls.EditorControls.FileBrowser.OnPreRender(EventArgs e) +168
   System.Web.UI.Control.PreRenderRecursiveInternal() +77
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832


In my project I have about 300 sites and some does not have certain libraries. Could you fix that issue and make Image Manager omit non-existing libraries instead of throwing an exception?

I am using 4.4 (the newest - I suppose version of RadEditor Control)

Greetings,
Maciej
Lini
Telerik team
 answered on 10 Mar 2008
5 answers
433 views
 Rad controls when get some errors (like datasource is null or session expired etc) - where do they throw? How do I catch errors thrown by Rad Controls and do some processing?

Specially if I am using a AjaxManager in a page and session expires on the server - how do I refresh the whole page and redirect to Login or some other page?

Thanks,
Piyush
Iana Tsolova
Telerik team
 answered on 10 Mar 2008
1 answer
144 views
I modified one of the portal examples posted in this forum to create rad docks dynamically.  I'm opening up a RadWindow using a custom DockCommand in my docks.  The RadWindow contains an editor.  I treat the window like a dialog and pass back the html from the editor (RadWindow) to the calling page and dock by using this callback function

function CallBackFunction(radWindow, returnValue)  
                {  
                    var dock = $find(clickedID);  
                    if (returnValue) dock.get_contentContainer().innerHTML = returnValue;  
                    else alert ("No text was returned");  
                } 

This all works great but I need to reference the html sent back on postback so I can save it (to a db or whatever) but I'm not sure how.  Maybe I'm going about this incorrectly.

Can anyone offer some advice?
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 10 Mar 2008
1 answer
122 views
How can I refer to a pushbutton within a user control within a formview so that I can specify a trigger in RadAjaxManager
Maria Ilieva
Telerik team
 answered on 10 Mar 2008
3 answers
228 views
I have a formview inside my radwindows.  After Insert or Cancel is clicked I want the window to close and the parent to refresh.

How do I go about this?
Georgi Tunev
Telerik team
 answered on 10 Mar 2008
1 answer
175 views
Hi

I am considering using the prometheus slider in my applications and i have some initially questions.

Firstly, can you use the slider inside and asp.net update panel in asp.net 2.0? I need a change in the position of the slider to trigger a partial postback and for the slider to maintain its position

Also, i've looked at the slider demos called configuration and this is exactly what i want. However, i dont like the way the slider bar moves along the slider. It jumps from one graduation on the slider to another and does not move smoothly between points on the slider. Is there a way to change this? For example, can you animate the way the slider moves?

thanks in advance
andrea
Ubong
Telerik team
 answered on 10 Mar 2008
5 answers
156 views
Hi,
the following problem occurs after loading the application from development to server (SharePoint): I copied my application in SharePoint in the _layouts folder. All is OK, except the opening of the dialogs:
"Web.config registration is missing!"
and he can't find
" /_layouts/<folder1>/<folder2>/Telerik.Web.UI.DialogHandler.aspx"
You know, SharePoint has a lot of web.configs ;-)
Do I need to register the "Telerik.Web.UI.DialogHandler" on another place?

Thanks for answering,
Andreas
George
Telerik team
 answered on 10 Mar 2008
3 answers
148 views
Hi all,

I have a radgrid with a link button on each row.  When clicked, I'd like to display a pop-up modal window where the user can enter some info.  I am doing this now using javascript.  My question is, can I use the Prometheus radWindow instead?  If so, can someone point me in the right direction.

Thanks,
Bob
Svetlina Anati
Telerik team
 answered on 10 Mar 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?