Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
213 views
Dear,

I want to add new row by pressing the tab key when the cursor is in the last cell row of the radgrid,and the grid automatically create a new row.
Please see the attached file.

Thank you,
Truc Nguyen
Pavlina
Telerik team
 answered on 11 Jul 2013
1 answer
65 views
Hello,

I want to add Pin marker on the top of seried Item in area chart.

and make fill color and border color different

for e.g.   marker in Google analytics

how to do that in RadChart
Petar Kirov
Telerik team
 answered on 11 Jul 2013
3 answers
214 views
I have a web page with images.  Each image is linked to a tool tip. I have one tool tip that includes a combo box and a radgrid.  When I select an item out of the combo box the grid populates.  All this works fine in the selected index change of the combobox but the tool tip disappears when loading the rad grid.  I can click on the image again and the tool tip now shows with the loaded grid.  I figured out a way around it by adding a .show to the tooltip at the end of the loading of the grid (select index change).  But now if I change the grid to enable paging.  Each time I hit next page the tool tips disappears.  If I hit on the image again to show the tooltip it is loaded with the correct page/data.  But how do I keep the tooltip form disappearing on each next page click?  The HideEvent of the tool tip is set to manual close.  Should it be something else? I like it having the Close button in the top left. Is there another setting so it will not disappear everytime the grid gets refreshed?


ETA: even if I set the hide event tooltip to from code or leave tooltip the grid does not load data upon clicking next page.

thanks in advance.
Joana
Telerik team
 answered on 11 Jul 2013
1 answer
60 views
Hello,

I have a multipage tabstrip and on one of the pages a asyncupload and a grid. The user can select a file to upload and after confirming, the gris shows a preview of the uploaded image(s). However, the grid isn't refreshed after the image is added in a asyncpostback (obviously). I tried adding an ajaxmanager, but that doesn't seem to do much. I already read that ajaxfying a control that isn't visible, doesn't work but how to solve it, I have no idea.

Any idea how to go about this?

Thanks
Nencho
Telerik team
 answered on 11 Jul 2013
1 answer
135 views
Hi all.
I have a simple scenario. On left i have a radtreeview and on the right the content of the page. On page load in the content area i load a default usercontrol. When I click on node in the treeview, using radajaxmanger the content area is changed to some other user control. The problem is now that, when I have e.g. a radgrid on this user control (with radajaxmanagerproxy), I can't change e.g. page number, because the entire update panel is refresed to the default one view, which I load on page load.
I tried to disable the ChildrenAsTrigger attribute in the AjaxSettingCreated, but it results only in that, the updatepanel is not reloaded to the default view. Paging not working. How can I fix that?

A simple reproduction:
https://dl.dropboxusercontent.com/u/70221/sample.rar (includes telerik dlls to fast start, ~14mb)
or
https://dl.dropboxusercontent.com/u/70221/sample2.rar (no additional ddls)
Vasil
Telerik team
 answered on 11 Jul 2013
4 answers
226 views
We are using latest telerik controls. In a page, I have a grid on the left side, which loads all customers' name (approx 3500) and
5 raddocks which display some information related to customer. On page load, it takes approx 7-8 seconds to load whole page with 3500 records in Customer grid and raddock with information of first selected customer. On selectedindexchange event of grid, we display the information related to selected customer in rad docks. We are using RadAjaxManager for displaying the information on selectedindexchange. In this case, it takes approx 40-50 seconds to display the data in raddocks. We checked in SQL Server Profiler, it took 30-35 seconds for sending the request to sql server. If we have less data in Customer grid (like 30-40), it works fine but if our records increase, performance gets down. It means, it is something related to Customer record but we are surprised that why it's taking time when we are using ajax and it should load only data in rad dock. Even on page load, it doesn't take much time.

CustomerManager customerManager;
 
        #region Page Events
 
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                PopulateCustomerList();
            }           
        }
 
        #region "dgrManageCustomer Events"
        protected void dgrManageCustomer_SortCommand(object sender, GridSortCommandEventArgs e)
        {
            GridSortExpression sortExpr = new GridSortExpression();
            switch (e.OldSortOrder)
            {
                case GridSortOrder.None:
                    sortExpr.FieldName = e.SortExpression;
                    sortExpr.SortOrder = GridSortOrder.Descending;
 
                    e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);
                    break;
                case GridSortOrder.Ascending:
                    sortExpr.FieldName = e.SortExpression;
                    sortExpr.SortOrder = dgrManageCustomer.MasterTableView.AllowNaturalSort ? GridSortOrder.None : GridSortOrder.Descending;
                    e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);
                    break;
                case GridSortOrder.Descending:
                    sortExpr.FieldName = e.SortExpression;
                    sortExpr.SortOrder = GridSortOrder.Ascending;
 
                    e.Item.OwnerTableView.SortExpressions.AddSortExpression(sortExpr);
                    break;
            }
            e.Canceled = true;
            PopulateCustomerList();
            this.dgrManageCustomer.Rebind();
        }
 
        protected void dgrManageCustomer_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
        {
            PopulateCustomerList();
        }
 
        protected void dgrManageCustomer_SelectedIndexChanged(object sender, EventArgs e)
        {
            GridDataItem selectedItem = (GridDataItem)dgrManageCustomer.SelectedItems[0];
            hidCustomerID.Value = Convert.ToInt64(selectedItem.GetDataKeyValue("CustomerID")).ToString();
             PopulateCustomerDetails();
        }
Marin
Telerik team
 answered on 11 Jul 2013
3 answers
602 views
Hello friends,

I am using telerik version 2013.1.417.40 and all I that I want to do with my RadDatePicker for ASP.net AJAX control is, I want to set max date on client side ( the existing value may be violating this constraint )

Below is the markup :

<telerik:RadDatePicker ID="dtMyDate" Width="157px" runat="server" MinDate="1/1/0001 12:00:00 AM" CssClass="telerikScroll">
    <DateInput ID="DateInput2" runat="server" DateFormat="MM/dd/yyyy">
    </DateInput>
</telerik:RadDatePicker>


the code below works fine ... except the line in bold font face :
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="../Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script type="text/javascript" defer="defer">
        $(document).ready(function () {
            var objMyDate = $('#<%=dtMyDate.ClientID%>');
            var MyDate = objMyDate.val();
            MyDate = MyDate.toString().split("-");
            MyDate = new Date(MyDate[0], MyDate[1], MyDate[2]);
            var currentDate = new Date();
            if (MyDate > currentDate) {
                alert('Please, correct the date !');
                objMyDate.set_maxDate(currentDate);
            }
        });
    </script>
</asp:Content>

I referred ... http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/clientapi/defaultcs.aspx
  1. but this line gives an error, saying set_maxDate function does not exist : objMyDate.set_maxDate(currentDate);
  2. Additionally, date_picker object was staying null in the following code snippet

 

var date_picker = $find("<%= dtMyDate.ClientID %>");
date_picker.set_maxDate(new Date());
Eyup
Telerik team
 answered on 11 Jul 2013
5 answers
253 views


Hi     All,
             Can anyone tell me how to delete a raw from rad grid in server side on delete key  pressed. what is the defualt navigation key for deleting raw from radgrid
ras
Top achievements
Rank 1
 answered on 11 Jul 2013
1 answer
93 views
Hello

I have a radcombobox with 5 items and checkboxes enabled. The user can check two items out of the five. Once the user check two items, i want to disable the rest. Please help with some input. I need javascript.

Thankyou all
Robert
Shinu
Top achievements
Rank 2
 answered on 11 Jul 2013
4 answers
223 views
Hi,

Finally, I got to see the RadDropDownTree control in action. But, there are several essential features missing, preventing me to use it yet. I'm sure they must be in your TODO list, but just wanted to put in my thoughts :

1. SelectedValue property : Is there another way to access the selected value on the server-side without making a round-trip to the server on every click with the EntryAdded event. Something like a SelectedValue property of the usual RadComboBox ?

2. CheckedItems Collection : I need to selected multiple values using Tri-state checkboxes and save to the Database. Later, pre-select (check) the nodes checked earlier, when the Page is loaded again. For this, is there something similar to the CheckedItems/CheckedNodes collection of RadComboBox/RadTreeView ?

Regards,
Nishant
Peter Filipov
Telerik team
 answered on 11 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?