Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
I host a CMS using RadEditor on URL placed on a URL like cms.mycompany.com.

The CMS can control the contents on many other companysites, e.g. customer1.com,customer2.com.

I now want to allow upload on cms.mycompany.com, such that any images will be uploaded to gfx.company1.com or gfx.company2.com.

But the problem is that cms.mycompany.com will upload files locally, and any image references should really be set to gfx.company1.com. Is it possible to somehow se ViewPaths to a remote server?

Thanks.
Tervel
Telerik team
 answered on 03 Mar 2009
1 answer
167 views
Basically I want to have a check box in a grid that works as selection and want sorting not to clear the selection.
Then I want to be able to do a foreach through the grid and determine what things are selected when a postback is caused by something else.

Someone directing me towards the help that shows how to maintain selection during sort. I like the clientside but can't figure out how to get to that info on postback in the codebehind. Is this possible?

The other option is to do it the server side way but that uses two buttons that say Select and Unselect and i need to use a checkbox.

So I am not too particular on which way to do it but is either possible and how.

Thanks
Sebastian
Telerik team
 answered on 03 Mar 2009
2 answers
764 views

Does anyone have a sample for a horizontal RadToolBar that has buttons on the left, center, and right sections of the toolbar? I have a client that wants to have elements in those locations, but wants the toolbar to scale (so it can't be hard coded to static values) when the browser is resized.

 

Any help would be great!

Veselin Vasilev
Telerik team
 answered on 03 Mar 2009
2 answers
81 views
Hello,

After upgrading to RadControls for ASP.NET AJAX 2008.3 1314 (from the previous 1215 build), I'm having a problem with my tooltips.

Here's a screenshot of the problem: www.keymetricsoft.com/images/tooltip_issue.png

As you can see, there's a strange border surrounding the tooltip - this wasn't there prior to the upgrade.

Here's my RadToolTipManager declaration, which appears within a master page:

    <telerik:RadToolTipManager ID="RadToolTipManager2" runat="server" AutoTooltipify="True"
    </telerik:RadToolTipManager> 

I'm also using RadSkinManager with the Office2007 skin.

I've tried clearing all browser caches, which changed nothing. I even tried removing all the styles from my application to see if some type of conflict was causing the problem, but again the result was the same.

Any thoughts, assistance would be greatly appreciated.


Martin
Telerik team
 answered on 03 Mar 2009
3 answers
487 views
I'm developing an AJAXed CompositeControl that, when clicked on, displays a pop-up dialog which requests some information from the user, which is working correctly. When closed I want to then show a second pop-up, (actually a "mailto" link, but I can't show any sort of pop-up here).

I can do a standard postback after the 1st pop-up is closed, but the javascript that I'm injecting doesn't fire at all - regardless if it's just an "alert". If I try to do an "ajax" postback, (using the "GetAjaxEventReference" function), then it either gives me a "null error" of the RadAjaxManager control, or nothing happens, (not even a postback), if I do it via the "Sys.Application.add_load()" function.

Can someone point out what I'm doing wrong, or provide any help in achieving the above?

Thanks,
Paul
Sebastian
Telerik team
 answered on 03 Mar 2009
1 answer
227 views
Hi All

I am having problems getting a rad window to reset a timer on the parent page. Below is the code I have in place.

-- The below code is on the Parent Page

    <radA:RadAjaxPanel ID="RadAjaxPanel" runat="server" Height="1px" Width="1px">     
          <radA:RadAjaxTimer ID="radTimer1" runat="server" AutoStart="False" />    
          <radA:RadAjaxTimer ID="radTimer2" runat="server" AutoStart="False" />                      
    </radA:RadAjaxPanel>    
      
    <radW:RadWindowManager ID="TimeoutWarningPopup"   
                           runat="server"   
                           VisibleOnPageLoad="false"   
                           Width="320" 
                           Behavior="close,move"   
                           ReloadOnShow="false" 
                           skin="Web20">                         
    </radW:RadWindowManager>   


        function StartTimer()  
        {  
            <%=radTimer2.ClientID %>.Stop();  
            <%=radTimer2.ClientID %>.Start();  
        } 

-- This code is on the Rad Window and is called by the OnClick() of a standard HTML button

            function GetRadWindow()  
            {  
                var oWindow = null;  
                if (window.radWindow) oWindow = window.radWindow; 
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
                return oWindow;  
            } 

            function CloseWindow()  
            {   
                var oWindow = GetRadWindow();  
                oWindow.BrowserWindow.StartTimer();                  
                oWindow.Close();  
            } 

This code is to create an application timeout / warning feature using code based on this post: http://www.telerik.com/community/forums/aspnet/window/automatic-logout-using-rad-window-and-rad-ajaxtimer.aspx

Basically, the radwindow is opened by the the radTimer1 (this piece works fine). When radTimer2 hits, the site is sent to a timout page. What I need to happen is for radTimer2 to be reset back to 0 if the user clicks OK on the popup window. I do not get any errors, however, the timer does not get reset and the site will always timeout.

I would also like to have both of the timers reset on key and mouse use. Below is code we have in place for the JavaScript timeout we currently have in production.

    window.focus();  
    window.captureEvents(Event.KEYPRESS);  
    window.captureEvents(Event.MOUSEDOWN);  
    window.onkeypress = resetTimer;  
    window.onmousedown = resetTimer; 

Yavor
Telerik team
 answered on 03 Mar 2009
1 answer
1.3K+ views
Hello
How do i want to convert grid data  after filtering to datatable?
How do i want to use  datatable instead grid after filtering?
Shinu
Top achievements
Rank 2
 answered on 03 Mar 2009
1 answer
89 views
This is more of an annoyance than anything.

I have a radGrid..I click on a row, make an ajaxRequestWithTarget to write JavaScript & open a RadWindow.
During the Ajax Postback, all the text in all the rows of the grid get highlighted as if I'm selecting the text with my mouse.
It's only highlighted/selected briefly & then goes back to normal.

To correct that, I stopped using the ajaxRequestWithTarget & called my openPopupWindow method from the client side.

The highlighting issue is also happening when I close my RadWindow & have to refresh my grid.
I have to make the Ajax Request here, so I can't stop it from briefly selecting everything in the grid.

This isn't a problem in the previous telerik version. We have both versions in our app, until we convert them all over.

I could use this javascript to prevent selecting any text on the page, but then the user can't copy/paste data,
document.onselectstart = function() {return false;}

Any ideas?

Thanks,
Ed

Sebastian
Telerik team
 answered on 03 Mar 2009
1 answer
326 views
hi All

I have implemented a lookup combo box, but it sits within a panel (implemented as a div) which is hidden and shown based on a selection. So when the panel is shown, the containing combo box loses all its functionality. Is there a special trick to reactivate it?

Simon
Princy
Top achievements
Rank 2
 answered on 03 Mar 2009
1 answer
70 views
In Firefox 3, the Group By Expression is being cut off in the grid. It does not happen in Internet Explorer, but it does happen in Firefox 3. Any suggestions, fixes, etc...? 

Pavlina
Telerik team
 answered on 03 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?