Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
171 views
After applying hotfix 1425 - my code to extract values is failing. This is what I have:

- A grid with few columns and a selection checkbox.
- A button outside of grid.
- I select the checkbox
- click the button and on server side I do following in OnClick of button:

GridEditableItem selRow = grid1.SelectedItems[0] as GridEditableItem;
        Hashtable rowValues = new Hashtable();
        //get row values
        selRow.ExtractValues(rowValues);

        //set values from the selected row
        DateTime date = MyConverter.ToDateTime(rowValues["Date"], DateTime.MinValue);

----
the ExtractValues() function does not give error but all values inside the hashtable are null. The keys are correct, but no values!

Why? This was working find in earlier version of release but started breaking after 1425. Please help us soon.

Thanks,
Piyush
Sebastian
Telerik team
 answered on 10 Mar 2008
3 answers
311 views
I am using the Tooltip control to show a popup of a larger version of an image on hover. I am trying to get the tooltip to stay up the entire time the mouse cursor is over the image (target control) and as soon as you move away it disappears. The problem I am having is when the mouse is on the target control, the tooltip disappears and re-appears constantly - almost with a "flashing" effect since it is on/off/on/off. As soon as I am not hovering any longer, the control works as I would expect. Any suggestions? Below is the markup on the aspx page, and the VB I am using in the code-behind.

Thanks in advance!

<telerik:RadToolTipManager ID="radToolTipManager" runat="server" Animation="Fade" ContentScrolling="None" ManualClose="false" HideDelay="0" AutoCloseDelay="1200" /> 


                    With Me.radToolTipManager 
                        .Modal = True 
                        .RelativeTo = Telerik.Web.UI.ToolTipRelativeDisplay.Mouse 
                        .Title = ProductName & " Detail Image" 
                        .Text = "<img src=""" & Me.ResolveClientUrl("~/images/dbimages/" & dr.Item("tname")) & " />" 
                        .TargetControls.Add(Me.im.ClientID, True) 
                        .Height = New Unit(dr.Item("imageheight") + 35, UnitType.Pixel) 
                        .Width = New Unit(dr.Item("imagewidth") + 35, UnitType.Pixel) 
                        '.ShowDelay = 0.5 
                        .Position = Telerik.Web.UI.ToolTipPosition.TopRight 
                        '.AutoCloseDelay = 5000 
                    End With 
 
Svetlina Anati
Telerik team
 answered on 10 Mar 2008
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
125 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
265 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
427 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
140 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
120 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
224 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
171 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
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?