Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
152 views
Hi, 

If it is possible, I'd like to be able to select the hour and minute individually from the same dropdown. Currently, if you set the interval to anything less than 15 mins the list becomes far too big, imo, and forcing the list to scroll isn't always the most usable way to do things, especially if that list is particularly large (intervals of 5 mins or lower).

It would be really handy if the user could somehow choose the hour and minute separately before the dropdown closes. This would minimise space used because you wouldn't need every instance of each hour/minute combination. You'd just need the hours displayed, and the minutes displayed.

Just a thought.

Cheers.
Carl
Top achievements
Rank 1
 answered on 13 Mar 2013
1 answer
52 views
Hello,
I'm having a bit of an issue with some RadGrids. Basically, I have a method which calls the cancelAll method for both my rad grids on the page, one after the other. This call originates from some Javascript. If I insert a delay between the calls (of as little as 250), both calls work fine. However, if I call one after the other, the second one always fails. It seems that the server is Aborting the call. Has anyone encountered anything similar?

Thanks

Travis
Vasil
Telerik team
 answered on 13 Mar 2013
1 answer
157 views
Hi,
i would that the radlistview for example every 5 minutes you updated automatically loading new records from the db.

This my code in page_load is:


Dim list As List(Of PropertyUtente) = Loadsearch.RandomCard()
RadListView1.DataSource = list
RadListView1.DataBind()
Shinu
Top achievements
Rank 2
 answered on 13 Mar 2013
3 answers
359 views
Hello,

How to programmatically create gauge range and set different color to those range?

Thank  you,
Antony.
Princy
Top achievements
Rank 2
 answered on 13 Mar 2013
1 answer
137 views
Safari status bar shows an error loading a resource when using the RadRibbonBar because of an image generated with a source of about:blank for a group that as far as I can tell is never made visible?

It can be seen here: http://demos.telerik.com/aspnet-ajax/ribbonbar/examples/items/defaultcs.aspx
Bozhidar
Telerik team
 answered on 13 Mar 2013
1 answer
133 views
The pivot grid control looks really promising! Can you please provide an ETA for the OLAP drill through functionality? I would like to build a prototype with the new control that satisfies all core business requirements.
Antonio Stoilkov
Telerik team
 answered on 13 Mar 2013
1 answer
173 views
Hi All,
 I am facing so much problem in Rad  Tab.Actually master page is not getting updated.so i used update panel.After adding Update Panel i got this type of error which is dedefined below. while click on any module which is used telerik rad tab,i am getting this below error in pop up window.
  
Please help me to fix this issue.


Microsoft JScript runtime error: Sys.InvalidOperationException: A control is already associated with the element. 

              This is code--
 <body scroll="no">
    <form id="thisMainform" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

  <%--  Added UpdatePanel to refresh the page  for opening proper Help Docs--%>
    <asp:UpdatePanel ID ="Updatecontrols" runat="server" >
    <ContentTemplate>
    <table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0"
        bgcolor="#ffffff">
        <tbody>
            <tr>
                <td align="center" valign="middle" class="headerbg" height="14%">
                    <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td align="left" valign="middle" class="logo" style="padding-left: 10px">
                                <img runat="server" src="~/images/Client_Logo.png" />
                            </td>
                            <td align="right" valign="top">
                                <table width="100%" height="60" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td align="right" valign="top">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td colspan="7" align="right" style="padding-right: 10px;" height="45">
                                                        <img runat="server" src="~/images/adaptive_logo.gif" width="246" height="37" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="75%" align="left" valign="top">
                                                        <asp:Label ID="lblUserName" runat="server" Text="Label"></asp:Label>
                                                    </td>
                                                    <td width="24" align="left" valign="middle">
                                                        <img runat="server" src="~/images/Home_icon.gif" width="14" height="14" hspace="5" />
                                                    </td>
                                                    <td width="70" align="left" valign="middle">
                                                        <asp:LinkButton ID="lnkBtnHome" runat="server" Text="Home" PostBackUrl="~/AdaptivePortfolio/AdaptivePortfoliloMain.aspx"
                                                            CausesValidation="false" />
                                                    </td>
                                                    <td width="25" align="left" valign="top">
                                                        <img runat="server" src="~/images/Help_icon.gif" width="16" height="20" />
                                                    </td>
                                                    <td width="70" align="left" valign="middle">
                                                        <asp:LinkButton ID="lnkbtnHelp" runat="server" Text="Help" CausesValidation="false" />
                                                    </td>
 
                                                      <td width="25" align="left" valign="top">
                                                        <img id="ImgVLink" runat="server" src="~/images/video.png" width="16" height="20" />
                                                    </td>
                                                    <td width="70" align="left" valign="middle">
                                                  
                                                        <asp:LinkButton ID="lnkBtnVLink"  runat="server" Text="Video"  CausesValidation="false" /> 
                                                       <%--  OnClick="ShowVLink()"--%> 
                                                    </td>



                                                    <td width="25" align="left" valign="top">
                                                        <img id="imgLogout" runat="server" src="~/images/Loigout_icon.gif" width="18" height="20" />
                                                    </td>
                                                    <td width="133" align="left" valign="middle">
                                                        <asp:LinkButton ID="lnkbtnLogout" runat="server" OnClick="lnkbtnLogout_Click" Text="Logout"
                                                            CausesValidation="false" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td height="6" colspan="2" align="left" valign="top" bgcolor="#4DA5CF">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td valign="top" height="77%">
                    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <telerik:radtabstrip runat="server" id="RadTabMain" width="100%" skin="Office2007"
                                    selectedindex="0">
                                    <Tabs>
                                        <telerik:RadTab runat="server" Text="Adaptive Portfolio System" Value="portfolio"
                                            NavigateUrl="~/AdaptivePortfolio/AdaptivePortfoliloMain.aspx" />
                                        <telerik:RadTab runat="server" Text="Adaptive Management System" Value="Management"
                                            NavigateUrl="~/AdaptiveManagement/bin-release/AMSHome.aspx" />
                                    </Tabs>
                                </telerik:radtabstrip>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" height="100%">
                                <asp:ContentPlaceHolder ID="ContentPlaceHolderMain" runat="server">
                                </asp:ContentPlaceHolder>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
</tbody>
    </table>
   
   </ContentTemplate>
 </asp:UpdatePanel>
Nencho
Telerik team
 answered on 13 Mar 2013
0 answers
95 views
Hi,

I am using RadGrid in my webpage.

I want to use the Export to Excel option for my criteria.

If I am having 1000 rows in a grid , that should be exported to 10 sheets in a same Excel workbook.

that is 1000 rows split into 10 sheets each having 100 rows in that.(Row Count is variable)

Please anyone help me in this.

Thanks in advance.
---------
AGMRAJA
Agm
Top achievements
Rank 1
 asked on 13 Mar 2013
2 answers
199 views
Hi.. I need to add drop down list for LeaveType to Choose the available Leavetype.. Can i know how to insert the drop drown box in leavetype column.. 


<telerik:RadGrid ID="dgLeaveDetails" ShowFooter="true" PageSize="10" runat="server"
       AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="True">
       <MasterTableView CommandItemDisplay="Top" GridLines="None" AutoGenerateColumns="false"
           DataKeyNames="EmployeeID" AllowMultiColumnSorting="true">
           <CommandItemSettings ShowAddNewRecordButton="true" />
           <Columns>
               <telerik:GridBoundColumn SortExpression="EmployeeID" HeaderText="Employee ID" HeaderButtonType="TextButton"
                   Visible="false" UniqueName="EmployeeID" DataField="EmployeeID">
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn SortExpression="EmpName" HeaderText="Employee Name" HeaderButtonType="TextButton"
                   DataField="Name" UniqueName="EmpName" Visible="True" >
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn SortExpression="LeaveType" HeaderText="Leave Type" HeaderButtonType="TextButton"
                   Visible="True" DataField="CodeHRLeaveType" UniqueName = "LeaveType">
               </telerik:GridBoundColumn>                     
               <telerik:GridBoundColumn SortExpression="Entitlement" HeaderText="Entitlement" HeaderButtonType="TextButton"
                   DataField="LeaveBalance">
               </telerik:GridBoundColumn>
               <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="myEditColumn" />
               <telerik:GridButtonColumn UniqueName="myDeleteColumn" ConfirmText="Are You Sure Delete This Record?"
                   ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton"
                   CommandName="Delete" ConfirmDialogHeight="100px" ConfirmDialogWidth="320px" />
           </Columns>
           <FooterStyle Font-Bold="true" Font-Italic="true" HorizontalAlign="Right" />
       </MasterTableView>
   </telerik:RadGrid>
Testing
Top achievements
Rank 1
 answered on 13 Mar 2013
12 answers
660 views
Hi All,

As per my requirement, I need the Edit mode to be 'In place'  for a radgrid where the columns are added dynamically to the grid and the binding data to grid  is also dynamic

In this ,most peculiar requirement is adding the controls dynamically based on the datatype of a field.

forexample:
suppose i need to add a combobox or  dropdownlist for a particular datatypeId in the datatype table
Inorder to have a dropdown , i need to go for dropdown template column..
In the normal mode i need to see it in the form of a norma text or the Label template.But on edit(In edit mode) it should be a Dropdown column

For this.. i tried the below code:

//Code used to add the template column.

GridTemplateColumn column1 = new GridTemplateColumn();
gridPreview.MasterTableView.Columns.Add(column1);
column1.DataFeild = "CreatedBy";
column1.ItemTempalte = new CreateTemplateLabel("templataName","templateText");
column1.HeaderText = "CreatedBy";
column1.HeaderStyle.HorizontalAlign = HorizontalAlign.Left;
column1.EditItemTemplate = new CreateRadComboTemplate("templateName");


//code for template creations

public class CreateTemplateLabel:ITemplate
{
    private string tempName;
    private string tempText;

    Public CreateTemplateLabel(string templateName,string templateText)
    {
        tempName = templateName;
        tempText = templateText;   
    }
    
     public void InstantiateIn(System.Web.UI.Control container)
      {
          Label lbl = new Label();
         lbl.Text=tempText;
         lbl.ID = tempName;
         lbl.CssClass ="Label";
         lbl.Width = 150;
         container.Controls.Add(lbl);
      }
}

public class CreateRadComboTemplate:ITemplate
{
    private string tempName;

    Public CreateRadComboTemplate(string templateName)
    {
            tempName = templateName;   
    }
    
     public void InstantiateIn(System.Web.UI.Control container)
      {
          RadComboBox rcBox = new RadComboBox ();
        rcBox.ID="tempName";
        for(int i=0;i<2;i++)
        {
            RadComboBoxItem rcbItem = new RadComboBoxItem();
            rcbItem.Text= "Text"+i;
            rcbItem.Value = i;
            rcBox.Items.Add(rcbItem);
        }
        rcBox.Width = 150;
        container.Controls.Add(rcBox);
      }
}

Suggest me whether the code written above is correct or not?
But using this , i am not able to view the RadComboBox in the editmode.I mean to say it is not created in the edit mode... I am able to get the reason why it is like...... Am i missing something in the code... ?

So,As i am not able to have the RadComboBox in the edit mode... i implemented the WindowEditing Concept that is there in the Grid Demo Examples...

Using this i acheived it but it is not the InPlace Edit mode(my requirement is InPlace Edit Mode)
Here also i am facing one Probelm ,and the problem is ,
I am Using a RadDatePicker inside a Page which is opened through a RadWindow.....
While the page is opened ,it is thowing an Exception  ' Missing : '
I am not able to get the reason for this and even i am not able to debugg the exception also.

Please i need a solution for the both queries asap

Thanks in Advance,
Chaitanya.E
chaitany.elluru@cosmonetsolutions.com
Sharan
Top achievements
Rank 1
 answered on 13 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?