Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
71 views
To replicate

Create a new RadControlsWebApplication
Copy files from \Live Demos\Ajax\Examples\Common\LoadingUserControls
Remove the Telerik Header and Footer tags
Set NameSpace for all added files to your webapplication name.class
Build and Run

The ajaxloading panel is not working, I also tried setting the project to compile against the 4.0 runtime instead of the 4.5 but same results.

Thanks
Martin
Telerik team
 answered on 20 Aug 2012
3 answers
109 views
Hi,
My page is not refreshing when i redirect from one RadTab to another. I am also attaching the screen shot how the page looks like when the redirect happen. 
Thanks!
Saima
Kate
Telerik team
 answered on 20 Aug 2012
7 answers
99 views
I am using the RadToolTip version 2011.2.1115.40 and I cannot seem to set the skin, the only one it will work with is default and it really isn't skinned.

Thanks,
Sam
Marin Bratanov
Telerik team
 answered on 20 Aug 2012
9 answers
318 views
Hi,
When I am trying to install the trail version of the ASP.NET AJAX installer package, I am getting the below eror:
"
Telerik.CommonInstaller.ProductInfoService.ProductInfoServiceException: Failed to get validation version. ---> Telerik.CommonInstaller.ProductInfoService.ProductInfoServiceException: Could not retrieve data. ---> System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
   at System.Net.HttpWebRequest.GetResponse()
   at Telerik.CommonInstaller.ProductInfoService.ProductInfoService.DeserializeRemoteObject[T](String sourceUri)
   --- End of inner exception stack trace ---
   at Telerik.CommonInstaller.ProductInfoService.ProductInfoService.DeserializeRemoteObject[T](String sourceUri)
   at Telerik.CommonInstaller.ProductInfoService.ProductInfoService.get_ValidationVersion()
   at Telerik.CommonInstaller.Application.Services.DeprecationService.GetMinValidationVersion()
   --- End of inner exception stack trace ---
   at Telerik.CommonInstaller.Application.Services.DeprecationService.GetMinValidationVersion()
   at Telerik.CommonInstaller.Application.Services.DeprecationService.CheckApplicationDeprecated()
   at Telerik.CommonInstaller.UI.App.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)"

Can you please help me to solve the above issue.

Thanks
Prabhakar
Chavdar Dimitrov
Telerik team
 answered on 20 Aug 2012
1 answer
130 views

Hi All,

I have a couple of questions:

1. How do I trap the nextpage event when users click on a page number or the next/previous etc..?
2. How do I refresh the RadGrid to show the data on the page after users navigate to next/previous page (hopefully it happens on client side)
3.  Can you lead me to a webpage/instruction regarding page navigation handling?

Thanks.
Marin
Telerik team
 answered on 20 Aug 2012
0 answers
59 views
In   the  behind  code  can't   obtain   the  "Content"     of   Shap   which  is  a  item  of    Diagram control .

This    is   a   serious   problem  ,   indicating   that   the   "  not   will  object    reference    set    to     an    instance   of     an object.   "    error.

XAML:
       <telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=RoundedRectangleShape}" 
             x:Name="rd_SiPing" Width="100" Height="35"
             Content="Harvard University"
             Tag="A"
             FontSize="14"
             Position="193,120"
             Background="LightGray"                      
             MouseLeftButtonDown="rd_SiPing_MouseLeftButtonDown" >
                            
            </telerik:RadDiagramShape>


             <telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=RoundedRectangleShape}" 
             x:Name="rd_SiPingValue" Width="100" Height="25"
             Content="1716.0kW"
             Tag="A"
             FontSize="12"
             Position="193,160"
             Background="LightGray"    
            />


Code  behind:
        private void rd_SiPing_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            string str = rd_SiPingValue.Content.ToString();
            string strtwo = rd_Region.Content.ToString();
            string strthree = rd_SiPing.Tag.ToString();

          Question:   Three   lines   of   code   as   above    are   all   prompt     error:   "not   will  object    reference    set    to     an    instance   of     an object."
            Why???    

        } 
Yostec
Top achievements
Rank 1
 asked on 20 Aug 2012
1 answer
36 views
hi

I have a menu with a submenu, when I mouse over a menu item, the submenu expands over the right end of the menu.

Is there a way to stop the submenu expands over the right end of the menu? i.e. force the submenu to expand towards left instead of going over the right end of the menu

thanks in advance
Kate
Telerik team
 answered on 20 Aug 2012
3 answers
388 views
With the new Telerik Control panel, if each of our developers have this control panel this in theory means that each of us are going to be downloading Gigs worth of data. Is there any way to have this data cached or are you guys thinking of developing some kind of server tool such Windows Update Services?

Regards,
Jacques
Petar
Telerik team
 answered on 20 Aug 2012
1 answer
59 views
I've got a web page with a script that opens  radwindows for me with an onclose .

       

function openPatientDemoWin(url, title, AddOnClose, OnCloseMethod) {
    var Wnd = radopen(url, 'frank');
    Wnd.set_title(title);
    Wnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Resize);
    Wnd.set_autoSize(true);
    Wnd.set_modal(true);
    Wnd.set_visibleStatusbar(false);
     
    Wnd.set_destroyOnClose(true);
    if (AddOnClose == '1') {
 
        Wnd.add_close(OnCloseMethod);
    }
    return false;
}

 

 

 


The radwindow has a radgrid with a radmenu. 

this is the radmenu in the radgrid, the items are added in the codebehind so I can attach attributes to them

<telerik:RadMenu ID="RadMenu1" runat="server"
OnClientItemClicked="RadMenu1_onClicked"
>
<Items>
<telerik:RadMenuItem ImageUrl="/images/icon_actionmenu.gif" BorderStyle="None" BorderWidth="0px" >
<GroupSettings ExpandDirection="Right" ></GroupSettings>
<Items>
</Items>
</telerik:RadMenuItem>
</Items>
</telerik:RadMenu>






These are the scripts on the radwindow that close and pass back arguments for me
<script type="text/javascript">
     function GetRadWindow() {
         var oWindow = null;
         if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
         else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)
 
         return oWindow;
     }
 
     function RadMenu1_onClicked(sender, args) {
         var item = args.get_item();
         var MenuItem = item.get_attributes().getAttribute("MenuItem");
         var DueDateID = item.get_attributes().getAttribute("DueDateID");
 
         var oArg = new Object();
         oArg.MenuItem = MenuItem;
         oArg.DueDateID = DueDateID;
         var oWnd = GetRadWindow();
         oWnd.close(oArg);
     }
      
 
 </script>

this is the script on the parent window that handles the onclose method
function Archive_OnClose(oWnd, args) {
    debugger;
    var arg = args.get_argument();
    debugger;
    if (arg) {
        switch (arg.MenuItem) {
            case '17P':
                 
                break;
            case 'RISK':
 
                break;
            case 'PH':
                debugger;
                window.location = '/OB/OBAssessmentsList.aspx?AM=wfe34tgsdge4&ADD=' + arg.DueDateID;
                debugger;
                break;
        }
 
 
 
    }
    debugger;
}

the problem I am having is after the Archive_OnClose finishes I am getting the following error and am not sure how to get rid of it. By the time this error occurs, the radwindow has already closed and the onclose method has already fired so not sure why it is happening. All the debuggers have been hit
this._renderAccessKey();
b.RadMenu._updateChildrenPositionClass(this.get_parent());
b.RadMenu._updateChildrenPositionClass(this);
},get_linkElement:function(){if(!this._linkElement){this._linkElement=$telerik.getFirstChildByTagName(this.get_element(),"a",0);

the error is on the last line and its
Microsoft JScript runtime error: '$telerik' is undefined

Kate
Telerik team
 answered on 20 Aug 2012
1 answer
172 views
Hi,
I need to group the data in RadGrid by ProjectNo. For data with same ProjectNo, ProjectNo will appear once in multiple row and there is no line in ProjectNo column until next different ProjectNo like below.

http://i1039.photobucket.com/albums/a477/johnsonlim026/GridSorting.jpg

I have search online and go through the demo but no solution on this.
Can someone help?
Andrey
Telerik team
 answered on 20 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?