Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
141 views
This problem is with hotfix 814.

I have a grid with two GridGroupByExpressions defined within the GroupByExpressions section of a MasterTableView. I am using GroupLoadMode client, and GroupsDefaultExpanded false. The grid is scrollable.

I am seeing three problems:

  • The GroupsDefaultExpanded setting is ignored by the second level grouping.
  • The first level collapse button is interacting with the second level expand/collapse button. When I collapse an element at the top level, I can still see the second level elements - even if the second level was collapsed at that point (collpasing the first level node is expanding the second).
  • Grouping text from the second level of the collapsed node is being written over the top of other information on the grid.

As a workaround I have set GroupLoadMode to be server. This works, but the user experience is not as pleasant.

Leon
Top achievements
Rank 1
 answered on 21 Aug 2008
14 answers
320 views
Hello,
I am trying to use ComponentGo's web scheduler with Prometheus RadAJAXManger.  I am having problem a when I make a call back.  The componentGo Webscheduler disappears after a successful call back.  No errors are thrown.

Strangely my co-worker had a similar problem with Q1 2007 version of the RadAjaxManger but once he set 'EnableOutsidescripts=true" it started working.  I can reproduce this probelm with Q1 2007 version of the RadAjaxManger all the time by setting the above property to false.  I will give the ASP.NET markup for both the versions below.  Is there any similar flag in Prometheus version of RAM that I am missing.  Any help is appreciated. 

Prometheus version ASP.Net code
  <Telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="Telerik_AjaxRequest" EnableAJAX="true" 
                 ClientEvents-OnResponseEnd="onResponseEndPrometheus" > 
                <AjaxSettings > 
                    <Telerik:AjaxSetting AjaxControlID="RadAjaxManager1" > 
                        <UpdatedControls> 
                            <Telerik:AjaxUpdatedControl ControlID="lblId" /> 
                            <Telerik:AjaxUpdatedControl ControlID="lblSlug" /> 
                            <Telerik:AjaxUpdatedControl ControlID="lblDate" /> 
                            <Telerik:AjaxUpdatedControl ControlID="txtStart" /> 
                            <Telerik:AjaxUpdatedControl ControlID="txtEnd" /> 
                            <Telerik:AjaxUpdatedControl ControlID="txtWrkDscr" /> 
                            <Telerik:AjaxUpdatedControl ControlID="txtWrkDscrAdd" /> 
                            <Telerik:AjaxUpdatedControl ControlID="lblDateAdd" /> 
                            <Telerik:AjaxUpdatedControl ControlID="txtStartAdd" /> 
                            <Telerik:AjaxUpdatedControl ControlID="txtEndAdd" /> 
                            <Telerik:AjaxUpdatedControl ControlID="hdId" /> 
                            <Telerik:AjaxUpdatedControl ControlID="txtSlug" /> 
                            <Telerik:AjaxUpdatedControl ControlID="lblStoryID" /> 
                            <Telerik:AjaxUpdatedControl ControlID="lblResourceID" /> 
                            <Telerik:AjaxUpdatedControl ControlID="hdResourceID" /> 
                            <Telerik:AjaxUpdatedControl ControlID="hdStoryID" /> 
                            <Telerik:AjaxUpdatedControl ControlID="Sch" /> 
                        </UpdatedControls> 
                    </Telerik:AjaxSetting > 
                    <Telerik:AjaxSetting AjaxControlID="btnEditSave">  
                        <UpdatedControls> 
                            <Telerik:AjaxUpdatedControl ControlID="Sch" LoadingPanelID="lpSch" /> 
                        </UpdatedControls> 
                    </Telerik:AjaxSetting>       
                      
                      <Telerik:AjaxSetting AjaxControlID="btnAddSave">  
                        <UpdatedControls> 
                            <Telerik:AjaxUpdatedControl ControlID="pnlGo" LoadingPanelID="lpSch" /> 
                        </UpdatedControls> 
                    </Telerik:AjaxSetting>   
               </AjaxSettings> 
           </Telerik:RadAjaxManager>             
           <Telerik:RadAjaxLoadingPanel ID="lpSch" runat="server" MinDisplayTime="200" HorizontalAlign="Center" Height="200px"  Width="200px" Transparency="15">  
                <asp:Image ID="lpImg" runat="server" EnableViewState="false" AlternateText="Loading..." ImageUrl="~/RadControls/Ajax/Skins/Default/Loading6.gif" /> 
           </Telerik:RadAjaxLoadingPanel>    

Rad Q1 2007 version of RAM:
   <RadAjax:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableOutsideScripts="true" OnAjaxRequest="RadAjax_AjaxRequest" 
                 ClientEvents-OnResponseEnd="onResponseEnd" > 
                <AjaxSettings> 
                    <RadAjax:AjaxSetting AjaxControlID="RadAjaxManager1" > 
                        <UpdatedControls> 
                            <RadAjax:AjaxUpdatedControl ControlID="lblId" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="lblSlug" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="lblDate" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="txtStart" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="txtEnd" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="txtWrkDscr" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="txtWrkDscrAdd" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="lblDateAdd" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="txtStartAdd" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="txtEndAdd" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="hdId" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="txtSlug" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="lblStoryID" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="lblResourceID" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="hdResourceID" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="hdStoryID" /> 
                            <RadAjax:AjaxUpdatedControl ControlID="Sch" /> 
                              
                        </UpdatedControls> 
                    </RadAjax:AjaxSetting> 
                    <RadAjax:AjaxSetting AjaxControlID="btnEditSave">  
                        <UpdatedControls> 
                            <RadAjax:AjaxUpdatedControl ControlID="Sch" LoadingPanelID="lpSch" /> 
                        </UpdatedControls> 
                    </RadAjax:AjaxSetting>       
                      
                      <RadAjax:AjaxSetting AjaxControlID="btnAddSave">  
                        <UpdatedControls> 
                            <RadAjax:AjaxUpdatedControl ControlID="Sch" LoadingPanelID="lpSch" /> 
                        </UpdatedControls> 
                    </RadAjax:AjaxSetting>   
               </AjaxSettings> 
           </RadAjax:RadAjaxManager>             
           <RadAjax:AjaxLoadingPanel ID="lpSch" runat="server" MinDisplayTime="200" HorizontalAlign="Center" Height="200px"  Width="200px" Transparency="15">  
                <asp:Image ID="lpImg" runat="server" EnableViewState="false" AlternateText="Loading..." ImageUrl="~/RadControls/Ajax/Skins/Default/Loading6.gif" /> 
           </RadAjax:AjaxLoadingPanel>    

As you can see they are pretty similar almost. 

Note that 'Sch' is the ID of the ComponentGO control.

Also, I have tried this ComponentGO control with straight MS AJAX without any issue.  So the prometheus version also should work.  I can send you the project if you desire.

Again, thanks for your help
Raj
Leon
Top achievements
Rank 1
 answered on 21 Aug 2008
1 answer
129 views
We would like to show a loading panel whenever a page loads, or when a page does postback. We have a Masterpage that has a RadAjaxManager. This Masterpage is used in all our pages.  Is therre a way to add a loading panel in the Master page.
We do have loading panels in grids and other controls, however we woudl like to have laoding panel come up as the page loads/leaves in the browser. 

Thanks don

 
Kevin Babcock
Top achievements
Rank 1
 answered on 21 Aug 2008
1 answer
135 views
Should I be able to use the following code to set the css class on a menuitem?  I currently set a the css class of the menuitem associated with the current page to rmFocused when they are loaded into the menu.  I am trying to set that menuitem to not appear focused if someone hovers over a different menuitem than set it back after mouse out.

<%

@ Control Language="C#" AutoEventWireup="true" CodeBehind="TopNavigation.ascx.cs" Inherits="EquagenComAdmin.admin.TopNavigation" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<

script language="javascript" type="text/javascript">

function

OnMouseOverItem(menu,args)

{

var item=args.get_item();

var items=menu.get_items();

for(var i=0;i<items.get_count();i++)

{

if(items.getItem(i).get_text() == document.title && items.getItem(i).get_text() != item.get_text())

{

items.getItem(i).set_cssClass(

"");

break;

}

}

}

function

OnMouseOutItem(menu,args)

{

var item=args.get_item();

var items=menu.get_items();

for(var i=0;i<items.get_count();i++)

{

if(items.getItem(i).get_text() == document.title && items.getItem(i).get_text() != item.get_text())

{

items.getItem(i).set_cssClass(

"rmFocused");

break;

}

}

}

</

script>

<

asp:Label ID="MenuResult" runat="server" />

<

telerik:RadMenu ID="TopNavigationMenu" runat="server" Flow="Horizontal" OnClientMouseOver="OnMouseOverItem" OnClientMouseOut="OnMouseOutItem" Width="100%" Skin="EQN" EnableEmbeddedSkins="false">

</

telerik:RadMenu>

Don Johnson
Top achievements
Rank 2
 answered on 21 Aug 2008
1 answer
99 views

Using Q2. I have a primary web page that has the appropriate ScriptManager and RadAjaxManager specified, and it contains my RadDockLayout and associated controls. None of the RadDockLayout controls or components are part of any AjaxSettings at this time. What I want to do is to be able to have the docks with Custom User Controls dynamically loaded, and have the User Controls support Ajax.

I have no problem loading the control into the dock using LoadControl and dock.ContentContainer.Controls.Add (). It shows the appropriate User Control.

In the User Control, I have added a RadAjaxManagerProxy and an asp:Button Control with an associated Click Event.

When I execute the application, it loads the User Control into the dock appropriately, but this is what happens when I click the button. First time, it does an Ajax request back to the main page, in which you can tell that the button was click, but it does not call the Event. Second time, it performs a full postback and still doesn’t call the Event.

Am I approaching the problem correctly, or should I use a different method to enable Ajax on my User Controls?

Postback Information:

__EVENTTARGET: Widget_fb737fde-18db-49b7-af25-8dd026920e78$C$ctl00$ButtonOk

__EVENTARGUMENT:

  

 

Dennis
Top achievements
Rank 1
 answered on 21 Aug 2008
1 answer
156 views

I have two tabs on my tabstrip. On the pageview for the first tab I have a button. When this button is pressed, the server-side click event is suppose to switch the selected tab to the second tab. The pageview for the second tab does load but the tab itself is not selected. The first tab always remains selected. I am using Microsoft Ajax and the tabstrip does postbacks. However, the button also acts as an initiator and is suppose to update the tabstrip and multipage.

When my code on the server-side selects the tab, it shows the Selected property as true but the tab in the browser never gets selected.

What is the correct way to select a different tab on the server-side and have it show as selected in the browser?

Thank you
Johann

Mobilgistix Ltd.
65 Misolah
30600 Binyamina
ISRAEL

www.mobilgistix.com
Developers of Software Solutions for Web, Mobile and Geographical Information Systems

Polaris431
Top achievements
Rank 1
 answered on 21 Aug 2008
6 answers
107 views
Hi

Is there a property visible to the elements of the tabsview?

for example:

I want to show some elements like day,week and month but i don't  want shows an element that is timelime.


Is this possible?

Thank you for your attention.
Greetings.
Rubén Herrera.
Ruben
Top achievements
Rank 1
 answered on 21 Aug 2008
6 answers
347 views
I am using a menu control with submenus generated from database.  Is there a way to make the parent non clickable.  Right now when the parent gets clicked, the subs are displayed twice.

Veselin Vasilev
Telerik team
 answered on 21 Aug 2008
4 answers
232 views
Hi,

I was wondering if there is any way of setting the window size on page init and get that size on initial radwindow display? Not sure if that makes sense, so I will explain in detail.

I have numerous pages from where I open different radwindows. Up until now, I was specifying the size while creating an instance of it.

/* Show new RAD window */ 
function ShowRADWindow(URL,Title,Width,Height,Modal,Behaviors) { 
    var oWindow = window.radopen(URL, null); 
    //Using the reference to the window its clientside methods can be called 
    oWindow.SetSize (Width, Height); 
    oWindow.SetTitle (Title); 
    oWindow.set_modal(Modal); 
    oWindow.setActive(true); 
    oWindow.center();   
    if (Behaviors!=null && Behaviors!='') 
        oWindow.set_behaviors(Behaviors); 
 
    //PositionWindow(oWindow); 


But, now, I dont want to specify height and width while opening, instead I want to specify in the radwindow page_init(). All radwindows are of different sizes. I tried to do this, but initially it shows a very small sized window and then resizes it. I dont want this resize event to occur.

Is there any way to do it?

Thanks,
~SP
Shailendra
Top achievements
Rank 1
 answered on 21 Aug 2008
2 answers
222 views
I am using a RadComboBox to populate some values and its loosing the extra white space from the items.
eg: I have an item called "my[space][space][space]home"
(note 3 spaces between my & home)
But when it binds i loose spaces & it becomes "my[space]home"
How can i stop this from happening? I want to preserve the white spaces.
I use this to select a product from the auto suggestion drop down to do a search.. but cos im loosing spaces it wont return the correct search results.

Help!
nickJr
Top achievements
Rank 1
 answered on 21 Aug 2008
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?