Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
293 views
How can the command toolbar be set to show only the refresh button ?  I dont need the insert option.
Princy
Top achievements
Rank 2
 answered on 21 Dec 2010
7 answers
539 views
I implemented the context menu for the treeview and everything works fine.  No my client wants me to show the context menu when hovering vs making the user rightclick, like the HoverMenu is in the Ajax Control Toolkit


Is there another way to open the ContextMenu?   Hopefully there is a Javascript function that I can call to show it for each node.  

thanks
tommy


 
Yana
Telerik team
 answered on 21 Dec 2010
6 answers
401 views

I am using a RadPanelBar -- I am currently hiding the expand and collapse arrows using the following code:

.rpExpandHandle
{
    display: none!important;
}
 .rpCollapseHandle
{
    display: none!important;
}


This works great -- except now I need to add another RadPanelBar to the same page where I need to show the expand and collapse arrows.

I read in the following help file that if you set the imageUrl and imagePosition to right, then it will replace the image.  Unfortunately I can't get that to work.

Here's the help link:

http://www.telerik.com/help/aspnet-ajax/panel_appearanceitemimages.html

Here's my code sample:

<telerik:RadPanelBar runat="server" ID="SupportPanelBar" Width="150" >
                        <ExpandAnimation Type="None"></ExpandAnimation>
                        <CollapseAnimation Type="None"></CollapseAnimation>
                        <Items>                         
                            <telerik:RadPanelItem Text="TeamSideline" Expanded="True" PreventCollapse="true" NavigateUrl="/Home.aspx" ImagePosition="Right" ImageUrl="~/img/icon_delete_active.png" SelectedImageUrl="~/img/icon_delete_active.png">
                                <Items>
                                    <telerik:RadPanelItem Text="Support Menu" NavigateUrl="/Support/Home.aspx" BackColor="#D7D8D8"  />                                    
                                    <telerik:RadPanelItem Text="Public Downloads" NavigateUrl="/TsMoreInfo.aspx" BackColor="#D7D8D8" />                                                                        
                                </Items>
                            </telerik:RadPanelItem>                                                                                
                        </Items>
                    </telerik:RadPanelBar>

And the output is attached.  I am using the telerik dll -- 2010.3.1109.40

Your help is appreciated.

Thanks,
Todd.




Yana
Telerik team
 answered on 21 Dec 2010
4 answers
109 views
Expand button at the right corner of Dock Control does not expand durin gthe initial request.It expands collapse only after some post back
Naresh
Top achievements
Rank 1
 answered on 21 Dec 2010
1 answer
53 views
Hi
     I m using the  rad grid, with ajax, in run time values bind to the grid control properly, but while clicking the item command or inside the grid then suddenly grid get hide(mean the rad window get hide). i m using ajax update panel, if i remove the updata panel, grid works fine.and i have another button below the grid. So could any one tell me how to solve this problem.

note: both grid the button in the pop up rad window.
Shinu
Top achievements
Rank 2
 answered on 21 Dec 2010
3 answers
231 views
hello,

im noticing that when using a RadAjaxManager, my LoadingPanel doesnt show up when one of the updated-controls is a UserControl.

like so:

<table> 
    <tr> 
        <td class="label">Offender:</td> 
        <td> 
            <Telerik:RadComboBox ID="rcbOffenders" DataValueField="OffenderID" DataTextField="LastName" Skin="Gray" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rcbOffenders_SelectedIndexChanged" /> 
        </td> 
    </tr> 
</table><br /> 
 
<asp:HiddenField ID="hidPreviousOffenderID" runat="server" /> 
 
<Epr:OffenderDescriptions ID="ucOffenderDescriptions" OffenderSelected="ucOffenderDescriptions_OffenderSelected" runat="server" /> 
 
 
<Telerik:RadAjaxManager ID="radAjaxManager" runat="server"
    <AjaxSettings> 
        <%-- Offenders list updates usercontrol --%> 
        <Telerik:AjaxSetting AjaxControlID="rcbOffenders"
            <UpdatedControls> 
                <Telerik:AjaxUpdatedControl ControlID="hidPreviousOffenderID" LoadingPanelID="ajaxLoadingPanel2" /> 
                <Telerik:AjaxUpdatedControl ControlID="ucOffenderDescriptions" LoadingPanelID="ajaxLoadingPanel2" /> 
            </UpdatedControls> 
        </Telerik:AjaxSetting> 
    </AjaxSettings> 
</Telerik:RadAjaxManager> 
 
 
<Telerik:RadAjaxLoadingPanel ID="ajaxLoadingPanel2" Width="75px" Height="75px" Transparency="20" runat="server"
    <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border:0;" /> 
</Telerik:RadAjaxLoadingPanel> 


...telerik -- shouldnt the LoadingPanel show up?


thanks,
matt
Tharaka
Top achievements
Rank 1
 answered on 21 Dec 2010
2 answers
212 views
Hello,

How do I capture "Enter Key" from keyboard in my RadDatePicker? I want to click an ASP Button when this event is triggered. I have the code below but it's not working. I'm using the latest version of Telerik. Any help is highly appreciated.

<telerik:raddatepicker id="RadDatePicker_EndUsage" runat="server" Width="62px" Culture="English (United States)" onkeydown="handleEnterEvent">
<Calendar id="Calendar2" runat="server" skin="Office2007" />
 <DateInput id="DateInput2" InvalidStyleDuration="100" skin="Office2007" runat="server">
    <ClientEvents OnFocus="ShowCalendar" />
</DateInput>
    <DatePopupButton Visible="False" />
</telerik:raddatepicker>

Javascript:

function handleEnterEvent(sender, e)
{
     e = e || window.event;
     if (e.keyCode == 13)
          $find("<%# processButton.ClientID %>").click();
}
kith
Top achievements
Rank 1
 answered on 21 Dec 2010
4 answers
493 views
Hopefully this is an easy one...

I am opening a RadWindow using the WindowManager (javascript):

var
 oWindow = window.radopen("EditGroup.aspx");

When the window opens however, I ALWAYS have a vertical scrollbar on the right hand side. I've tried setting the window height to several sizes, both big and small - no matter what, I get a scrollbar.

How do I turn this off?
Jeremy
Top achievements
Rank 1
 answered on 21 Dec 2010
7 answers
992 views
Hi

I have a pop up modal Radwindow, the page has a  button control on in a panel, with a label. The panel is hidden until the users make a selection.

Then they are asked to confirm by clicking the button. I'm using RadAjaxManager to show the panel but the click event does not appear to fire.

What should happen is a block of code runs on the server and then runs this:

ClientScript.RegisterStartupScript(Page.GetType(),

"mykey", "CloseAndReload();", True)

 

 


to close the radwindow and refresh the main grid.

It all works fine if I remove the AJAX.

UPDATE
The button event does fire, but its the

ClientScript.RegisterStartupScript(Page.GetType(),

"mykey", "CloseAndReload();", True) that does not.

 



Andy



Maria Ilieva
Telerik team
 answered on 21 Dec 2010
7 answers
271 views
I found the example for raddatepicker in a filter template for radgrid but it doesn't work for datetimekicker anyone know where I can find a datetimepicker in a filter template example?
Smiely
Top achievements
Rank 1
 answered on 20 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?