Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
135 views
I have a bunch of RADNumeric textboxes which use Access Keys
I put a tool tip in for the access keys
only problem - access keys need a shift key in Firefox
Alt + P is really Shift + Alt + P

any recommendation as to how / where to fix?
Elliott
Top achievements
Rank 2
 answered on 17 Feb 2012
3 answers
467 views
Hi,

I am having a RadGrid that has a CommandItemTemplate as described below :

<CommandItemTemplate>
 <asp:LinkButton runat="server" ID="lb_Button1" Visible="false">LinkButton1</asp:LinkButton>
<asp:LinkButton runat="server" ID="lb_Button2" Visible="false">LinkButton2</asp:LinkButton
</CommandItemTemplate>

OnRowSelect Client Event of the RadGrid, I want to enable/disable these Link Buttons. I want to achieve this using javascript.
Also, I tried setting : 
Visible='<%# rg_Alumni.SelectedItems.Count > 0 %>'
but it didn't work.
Please, help.

Thanks,
Anup
Richard
Top achievements
Rank 1
 answered on 17 Feb 2012
3 answers
243 views
I'm not sure I understand the potential uses of these properties.  They can take multiple values but I'm not sure how that is used by the control.  Are they to be used for multiple levels of self-referencing?  If so that would be nice and I'd like to see an example of that.  Currently I have to bind to data that has four levels in the hierarchy.  I am doing the work in the database to put results into a self-referencing ID-ParentID format.  I was hoping there was a way to tell the control that there were several levels of child-parent keys.  This appears like it might be the way but I haven't seen any examples.  Am I misinterpreting the uses of these properties?
Mira
Telerik team
 answered on 17 Feb 2012
7 answers
194 views
I am trying to make the RadMenu stretch to the width of the body of the page, however, when I change the width to 100%, the menu does stretch but the menu items disappear and the height of the menu become almost 0px. How do I set the width without this happening or is this a bug?
Richard
Top achievements
Rank 1
 answered on 17 Feb 2012
1 answer
157 views
Hi,
    How to get on drag/on drop event in Server side ? I need to update the time in database while drag and drop.
Plamen
Telerik team
 answered on 17 Feb 2012
6 answers
336 views
i having a rad grid with item template column consist of link button.i need to update the grid when i click the link button.

currently i am using radajaxmanger with ajax request function .but my grid doesnt get updated.
my code snippets are below
<telerik:RadGrid runat="server" ID="uxAlerts" OnItemCreated="uxAlerts_ItemCreated" OnNeedDataSource="uxAlerts_NeedDataSource"  OnItemDataBound="uxAlerts_OnItemDataBound" Skin="Simple" AllowPaging="True" AllowSorting="True"
                    CellSpacing="0" GridLines="Both" CssClass="Grid" AutoGenerateColumns="false"
                    ShowHeader="true">
                    <MasterTableView>
                        <Columns>
                            <telerik:GridBoundColumn DataField="Subject" HeaderText="Subject" HeaderStyle-HorizontalAlign="Left">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="AssignedTo" HeaderText="Assigned To" HeaderStyle-HorizontalAlign="Left"
                                ItemStyle-Width="200px">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="CreatedDate" HeaderText="Date/Time" ItemStyle-Width="100px"
                                ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center">
                            </telerik:GridBoundColumn>
                            <telerik:GridTemplateColumn HeaderText="Action" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center"
                                HeaderStyle-HorizontalAlign="Center">
                                <ItemTemplate>
                                    <asp:LinkButton ID="uxUnread"  runat="server" Text='<%# Bind("ReadStatus")%>'></asp:LinkButton>
                                    <asp:LinkButton ID="uxClose"  Text="Close"  runat="server"></asp:LinkButton>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid>
<telerik:RadAjaxLoadingPanel runat="server" Skin="Default" ID="uxLoadingPanel" />
                    <telerik:RadAjaxManager ID="uxRadAjaxManager" runat="server" OnAjaxRequest="uxRadAjaxManager_AjaxRequest">
                        <AjaxSettings>
                            <telerik:AjaxSetting AjaxControlID="uxAlerts">
                                <UpdatedControls>
                                    <telerik:AjaxUpdatedControl ControlID="uxAlerts" LoadingPanelID="uxLoadingPanel" />
                                </UpdatedControls>
                            </telerik:AjaxSetting>
                        </AjaxSettings>
                    </telerik:RadAjaxManager>
and js func is

function CloseClick(index) {
            var ajaxManager = $find("<%= uxRadAjaxManager.ClientID %>");
               if (ajaxManager != null)
                {
                   ajaxManager.ajaxRequest(index);
               }

and cs func are
protected void uxAlerts_OnItemDataBound(object sender, GridItemEventArgs e)
        {

            if (e.Item is GridDataItem)
            {
                CaseAlert caseAlertDetails = e.Item.DataItem as CaseAlert;
                if (caseAlertDetails != null)
                {
                    GridDataItem dataItem = (GridDataItem)e.Item;
                    LinkButton rblHyperLink = (e.Item.FindControl("uxClose") as LinkButton);
 
                    string alertID = caseAlertDetails.Id.ToString();

                    rblHyperLink.OnClientClick = string.Format("return CloseClick('" + alertID + "');");


                }
            }
        }
protected void uxRadAjaxManager_AjaxRequest(object sender, AjaxRequestEventArgs e)
        {
            if (e.Argument != null)
            {
                //uxAlerts.DataSource = new List<CaseAlert>();
                //uxAlerts.DataBind();
          
                    
                }

            
        }

When i click close link button it works and it calls ajax request but i dnt find any loading panel working on grid and no update on grid
Casey
Top achievements
Rank 1
 answered on 17 Feb 2012
1 answer
115 views
I am using a RadTreeView control in RadPane. I have set Scrolling="None" in the pane which has my tree. I want the Tree to have height of its container pane. I have set RadTreeView height="100%" but it doesn't work. Also I have same problem for RadEditor not fitting in the RadPane.


HELP...
Plamen
Telerik team
 answered on 17 Feb 2012
2 answers
147 views
hi

I have attached a sample to show how the chinese characters in the resource is being cut off. The english text is fine.
It should be this 贵宾房 instead the top portion of the characters is cut off by about a few pixel.
How should i resolve this?
Plamen
Telerik team
 answered on 17 Feb 2012
3 answers
190 views
Hi,

I have been trying a demo project (the zip file that I downloaded was named as 213914_radschedulerdemo.zip) posted by Telerik support in one of the Telerik forums. The demo uses MVC 2.0 and RadScheduler. The demo works fine when MVC 2.0 is used. But in our application we are using MVC 3.0 and need to use RadScheduler. Using the provided sample, I tried to modify it to use MVC 3.0 instead of MVC 2.0. But after making these changes I get following error:

"Object reference not set to an instance of an object."

in OnActionExecuting method that is used to deserialize Json. Following is the snapshot of Exception:

======================
System.NullReferenceException was unhandled by user code
  Message=Object reference not set to an instance of an object.
  Source=RadSchedulerDemo
  StackTrace:
       at RadSchedulerDemo.Helpers.JsonParameterFilterAttribute.OnActionExecuting(ActionExecutingContext filterContext) in D:\3 SecurePMS\RnD\213914_radschedulerdemo\RadSchedulerDemo\RadSchedulerDemo\Helpers\JsonParameterFilterAttribute.cs:line 44
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
  InnerException: 
============

Following are the changes that I have done in the code:
1. Changed .Net framework of project from 3.5 to 4.0
2. Replaced reference to System.Web.MVC (2.0) with 3.0 version. Updated <assemblies> in web.config.
3. Commented Authorize attribute in "ScheduleController.cs" and "SchedulerServiceController.cs" files to disable authentication.

Note: I am not able to find the forum from where I downloaded the demo and also not able to upload the updated solution.

Any help on this will be of great help.

Thanks in advance.
Peter
Telerik team
 answered on 17 Feb 2012
10 answers
324 views
Hi 1) we are in the development phase of localizing our application and we use the telerik rad controls for Ajax in most of our pages ... In this phase we have to support 5 languages (English, Japanese, French, portugese And German). We are using our customized resource files for all the asp.net controls and even for few telerik controls like RAdgrid .. How about radcalendar ? Which is the best way to localize radcalendar ? Does it allow custom resourcefile creation? We don find any property for Jan feb mar etc ... And also for the fast navigation controls (ok cancel today) or the month headers .. can u please guide us with the best possible way ? 2) same way even for the other rad controls can u let us know how many languages do u actually support ? We want to make sure that if we use the inbuilt radcontrol resource files all he 5 languages I mentioned above are supported and also in future too it should be expandable ... Thanks, Karthik
Peter
Telerik team
 answered on 17 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?