Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
199 views
Hi,

I am using rowcontextmenu in radgrid. I did this using demos that provided by telerik. When i right click on radgrid row I am getting error like Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object. I dont what causing this error. can anyone help me to fix this error.

Thanks

My code

<script> 
            function RowContextMenu(sender, eventArgs) { 
                var menu = $find("<%=RadMenu1.ClientID %>"); 
                var evt = eventArgs.get_domEvent(); 
 
                if (evt.target.tagName == "INPUT" || evt.target.tagName == "A") { 
                    return; 
                } 
 
                var index = eventArgs.get_itemIndexHierarchical(); 
                document.getElementById("radGridClickedRowIndex").value = index; 
 
                sender.get_masterTableView().selectItem(sender.get_masterTableView().get_dataItems()[index].get_element(), true); 
 
                menu.show(evt); 
 
                evt.cancelBubble = true; 
                evt.returnValue = false; 
 
                if (evt.stopPropagation) { 
                    evt.stopPropagation(); 
                    evt.preventDefault(); 
                } 
            } 
</script> 
 
 
telerik:RadScriptManager ID="RadScriptManager1" runat="server"> 
                    </telerik:RadScriptManager> 
                    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> 
                        <ClientEvents OnRequestStart="onRequestStart" /> 
                        <AjaxSettings> 
                            <telerik:AjaxSetting AjaxControlID="rg200"> 
                                <UpdatedControls> 
                                    <telerik:AjaxUpdatedControl ControlID="rg200" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                                    <telerik:AjaxUpdatedControl ControlID="RadMenu1" /> 
                                </UpdatedControls> 
                            </telerik:AjaxSetting> 
                            <telerik:AjaxSetting AjaxControlID="RadMenu1"> 
                                <UpdatedControls> 
                                    <telerik:AjaxUpdatedControl ControlID="rg200" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                                    <telerik:AjaxUpdatedControl ControlID="RadMenu1" /> 
                                </UpdatedControls> 
                            </telerik:AjaxSetting> 
                        </AjaxSettings> 
                    </telerik:RadAjaxManager> 
                    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"> 
                    </telerik:RadAjaxLoadingPanel> 
                    <telerik:RadGrid ID="rg200" runat="server" AutoGenerateColumns="False" PageSize="30" 
                        Height="550px" OnNeedDataSource="rg200_NeedDataSource" Width="100%" AllowPaging="True" 
                        AllowSorting="True" AllowMultiRowSelection="True" EnableHeaderContextMenu="True" 
                        GridLines="None" EnableHeaderContextFilterMenu="True" AllowMultiRowEdit="True" 
                        AllowFilteringByColumn="True" OnPreRender="rg200_PreRender" OnItemCreated="rg200_ItemCreated" 
                        EnableViewState="False" OnUpdateCommand="rg200_UpdateCommand" AllowAutomaticDeletes="true" 
                        AllowAutomaticInserts="true" AllowAutomaticUpdates="true"> 
                        <HeaderStyle Height="20px" BackColor="#004000" Font-Size="8pt" Font-Bold="True" ForeColor="White" 
                            HorizontalAlign="Center" BorderColor="White" BorderWidth="1px" /> 
                        <ExportSettings IgnorePaging="true" ExportOnlyData="true"> 
                            <Pdf AllowModify="false" AllowPrinting="true" PageBottomMargin="" PageFooterMargin="" 
                                PageHeaderMargin="" PageHeight="11in" PageLeftMargin="" PageRightMargin="" PageTopMargin="" 
                                PageWidth="14in" /> 
                        </ExportSettings> 
                        <MasterTableView GridLines="None" DataKeyNames="orderId" CommandItemDisplay="Top" 
                            EditMode="InPlace"> 
                            <CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true" 
                                ShowExportToCsvButton="true" ShowExportToPdfButton="true" ShowAddNewRecordButton="false" /> 
                            <Columns> 
                                <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" HeaderStyle-Width="3%" 
                                    ItemStyle-Width="3%"> 
                                    <HeaderStyle Width="3%"></HeaderStyle> 
                                    <ItemStyle Width="3%"></ItemStyle> 
                                </telerik:GridClientSelectColumn> 
                                <telerik:GridBoundColumn UniqueName="sId" HeaderText="sId" DataField="sId" ReadOnly="true" 
                                    Visible="false"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="orderId" HeaderText="orderId" ReadOnly="true" 
                                    Visible="false" DataField="orderId"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Customer Name" HeaderText="Customer Name" DataField="Customer Name" 
                                    ReadOnly="true"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Market Name" HeaderText="Market Name" DataField="Market Name" 
                                    ReadOnly="true"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="LOB" HeaderText="LOB" DataField="LOB" ReadOnly="true"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Headend Name" HeaderText="Headend Name" DataField="Headend Name" 
                                    ReadOnly="true"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Project Name" HeaderText="Project Name" DataField="Project Name" 
                                    ReadOnly="true"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Site Name" HeaderText="Site Name" DataField="Site Name" 
                                    ReadOnly="true"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Task Status" HeaderText="Task Status" DataField="Task Status" 
                                    ReadOnly="true"> 
                                </telerik:GridBoundColumn> 
                                <%--<telerik:GridTemplateColumn UniqueName="Clarify Account Nbr" HeaderText="Clarify Account Nbr" 
                                    DataField="Clarify Account Nbr"> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblClarifyAccountNbr" Text='<%# Eval("Clarify Account Nbr") %>' runat="server"></asp:Label> 
                                    </ItemTemplate> 
                                    <EditItemTemplate> 
                                        <asp:TextBox ID="txtClarifyAccountNbr" Text='<%# Eval("Clarify Account Nbr") %>' 
                                            runat="server"></asp:TextBox> 
                                    </EditItemTemplate> 
                                </telerik:GridTemplateColumn>--%> 
                                <telerik:GridBoundColumn UniqueName="Clarify Account Nbr" HeaderText="Clarify Account Nbr" 
                                    DataField="Clarify Account Nbr"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Site ID" HeaderText="Site ID" DataField="Site ID"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Quote ID" HeaderText="Quote ID" DataField="Quote ID"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridCheckBoxColumn UniqueName="EDP Created?" HeaderText="EDP Created?" DataField="EDP Created?"> 
                                </telerik:GridCheckBoxColumn> 
                                <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" Visible="false"> 
                                </telerik:GridEditCommandColumn> 
                            </Columns> 
                        </MasterTableView> 
                        <ClientSettings EnableRowHoverStyle="true" ReorderColumnsOnClient="false" AllowDragToGroup="false" 
                            AllowColumnsReorder="True"> 
                            <Scrolling AllowScroll="true" EnableVirtualScrollPaging="false" UseStaticHeaders="true" /> 
                            <Selecting AllowRowSelect="True"></Selecting> 
                            <Resizing AllowRowResize="true" AllowColumnResize="True" EnableRealTimeResize="True" 
                                ResizeGridOnColumnResize="False"></Resizing> 
                            <ClientEvents OnRowContextMenu="RowContextMenu"></ClientEvents> 
                        </ClientSettings> 
                        <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true"></PagerStyle> 
                    </telerik:RadGrid> 
                    <telerik:RadContextMenu ID="RadMenu1" runat="server" OnItemClick="RadMenu1_ItemClick" 
                        EnableRoundedCorners="true" EnableShadows="true"> 
                        <Items> 
                            <telerik:RadMenuItem Text="Edit Task" /> 
                            <telerik:RadMenuItem Text="Complete Task" /> 
                        </Items> 
                    </telerik:RadContextMenu> 

codebehind

private void BindGrid() 
    { 
        try 
        { 
            DataSet dsResult = new DataSet(); 
 
            clsSearch_BL clsObj = new clsSearch_BL(); 
            clsObj.TaskID = (string)Session["TaskID"]; 
            clsObj.CustName = (string)Session["CustName"]; 
            clsObj.MarketName = (string)Session["MarketName"]; 
            clsObj.HeadendName = (string)Session["HeadendName"]; 
            clsObj.SiteName = (string)Session["SiteName"]; 
            clsObj.TaskStatus = (string)Session["TaskStatus"]; 
            clsObj.OrdType = (string)Session["OrdType"]; 
            clsObj.OrdStatus = (string)Session["OrdStatus"]; 
            clsObj.ProName = (string)Session["ProName"]; 
            clsObj.LOC = (string)Session["LOC"]; 
            clsObj.QuoteID = (string)Session["QuoteID"]; 
            clsObj.CMNumber = (string)Session["CMNumber"]; 
 
            if (Session["SearchRes"] == null) 
            { 
                dsResult = clsObj.getSearchResults_BL(clsObj); 
                Session["SearchRes"] = dsResult; 
            } 
            else 
                dsResult = (DataSet)Session["SearchRes"]; 
 
            DataView dataView = dsResult.Tables[0].DefaultView; 
            rg200.DataSource = dsResult; 
            //rg200.DataBind(); 
        } 
        catch (Exception ex) 
        { 
            throw ex; 
        } 
    } 
 
    protected void rg200_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e) 
    { 
        BindGrid(); 
    } 
 
    protected void rg200_PreRender(object sender, EventArgs e) 
    { 
        rg200.MasterTableView.GetColumnSafe("RowIndicator").Display = false; 
 
        if (rg200.EditIndexes.Count > 0 || rg200.MasterTableView.IsItemInserted) 
        { 
            GridColumn col1 = rg200.MasterTableView.GetColumn("EditCommandColumn") as GridColumn; 
            col1.Visible = true; 
        } 
        else 
        { 
            GridColumn col2 = rg200.MasterTableView.GetColumn("EditCommandColumn") as GridColumn; 
            col2.Visible = false; 
        }  
 
    } 
 
    protected void RadMenu1_ItemClick(object sender, RadMenuEventArgs e) 
    { 
        int radGridClickedRowIndex; 
 
        radGridClickedRowIndex = Convert.ToInt32(Request.Form["radGridClickedRowIndex"]); 
 
        switch (e.Item.Text) 
        { 
            case "Edit Task": 
                rg200.Items[radGridClickedRowIndex].Edit = true; 
                break; 
            case "Complete Task": 
                rg200.MasterTableView.PerformDelete(rg200.Items[radGridClickedRowIndex]); 
                break; 
        } 
    } 




Babu Puchakayala
Top achievements
Rank 1
 answered on 02 Jul 2010
7 answers
332 views
Hi,

I have a problem with the boundary detection of a RadComboBox used on my screen. It is placed on the extreme right of my screen. So whenever the dropdown opens(where DropDownWidth = 200px, and the Width = 120px with EnableScreenBoundaryDetection set as true), rather than shifting to the left, it introduces a horizontal scroll in my page to accomodate the opened dropdown which opens to the right. And when closed, the page returns to normal with no horizontal scroll.

I did search your forums too but could not find any exact solution for the above. I am working with a licensed Telerik RadComboBox version 2.8.5.0. Let me know if you can guide me in the above query. Also, let me know if you require a snapshot of this problem.

Regards,
Ankush
Simon
Telerik team
 answered on 02 Jul 2010
5 answers
240 views
Hello, guys.
I have problem similar to described here http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-inside-nestedviewtemplate-of-another-dynamic-radgrid.aspx
But somehow doing things the same way I don't get the same result.
Here is what my logic is:
I have SelectableItems grid.
In the nested view I have ItemLots grid where I would like to show some information to user.
I have following grdSelectableItems_ItemCommand event hadler

    protected void grdSelectableItems_ItemCommand(object source, GridCommandEventArgs e)
    {
        GridDataItem Row = e.Item as GridDataItem;
        if (Row != null)
        {
            if (e.CommandName == RadGrid.ExpandCollapseCommandName)
            {
                if (!Row.Expanded)
                    ExpandNestedView (Row);
            }
        }
    }

ExpandNestedView is the proecedure where I have the follwing peace of code
...
        GridNestedViewItem NestedView = ParentGridRow.ChildItem;
...
                RadGrid grdItemLots = (RadGrid)NestedView.FindControl("grdItemLots");
                if (grdItemLots != null)
                {
                    grdItemLots.NeedDataSource += new GridNeedDataSourceEventHandler(grdItemLots_NeedDataSource);
                    grdItemLots.Rebind();
                }
...

grdItemLots_NeedDataSource procedure fills the datasource and assigns it to grdItemLots.DataSource.
grdItemLots has AllowPaging="True"

And also  I wrote this little thing hoping that this will update grid's content after my actions with it.
    protected void grdItemLots_ItemCreated(object sender, GridItemEventArgs e)
    {
        if (e.Item is GridDataItem)
        {
            GridNestedViewItem NestedView = (GridNestedViewItem)((sender as RadGrid).NamingContainer);
            if (NestedView != null)
            {
                RadGrid grdItemLots = (RadGrid)NestedView.FindControl("grdItemLots");
                if (grdItemLots != null)
                    RadAjaxManager1.AjaxSettings.AddAjaxSetting(grdItemLots, grdItemLots);
            }
        }
    }

So the show begins when I try to go to the page different from #1 after expanding parent row. grdItemLots dissapears. BUT ! When I collapse and then expand the parent row I can see the data from the page 2.
What did I do wrong?

With respect, Sergey.
P.S. I'm using trial version 2010.1.519.40
Martin
Telerik team
 answered on 02 Jul 2010
1 answer
71 views
Hi,

I am trying to adding a drop down for filter in my child grid,but i am facing problem in it.
Please help, is there any tutorial for the same.
I have already gone through below link.
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx

But i am getting error like "You must override Clone() for a derived grid column".
Pavlina
Telerik team
 answered on 02 Jul 2010
3 answers
90 views
Hello there,

I have been tasked with evaluating Teleriks products for a tool we are building.  Basically we require a web based text editor that will allow us rich formatting control over our content and will be able to export HTML, DocX, PDF and all the usual stuff.

One main requirement is that we will need to be able to copy charts and tables directly from Word and excel and have them retained in the editor and exported nicely in html afterwards.

I tested this on your demo editor but the images were not retained and I could not copy charts from Excel. 

Please can you let me know if you product has this functionality and if so send me a link to a demo editor I can test.
Kindest regards

Jools Gallagher
Rumen
Telerik team
 answered on 02 Jul 2010
7 answers
747 views
hi

i am programmatically creating the list view and on the item template i am adding the edit and delete command buttons as per the demo like so :-

TableRow ControlRow = new TableRow(); 
                TableCell Cell1 = new TableCell(); 
 
                ImageButton imageButton = new ImageButton(); 
                imageButton.ID = "UpdateButton"; 
                imageButton.CommandName = "Update"; 
                imageButton.ImageUrl = "Img/site/buttons/Update.gif"; 
                Cell1.Controls.Add(imageButton); 
 
                ImageButton DeleteButton = new ImageButton(); 
                DeleteButton.ID = "CancelButton"; 
                DeleteButton.CommandName = "Cancel"; 
                DeleteButton.ImageUrl = "Img/site/buttons/Cancel.gif"; 
                Cell1.Controls.Add(DeleteButton); 
 
                ControlRow.Cells.Add(Cell1); 
                DisplayTable.Rows.Add(ControlRow); 
 
                NewPanel.Controls.Add(DisplayTable); 
 
                container.Controls.Add(NewPanel); 

the list view is defined as follows :-

        private RadListView CreateList(XmlNode Template) 
        { 
            RadListView MyList = new RadListView(); 
            MyList.ID = Template.Attributes["Name"].Value; 
            MyList.Width = Unit.Pixel(600); 
 
            MyList.DataSource = GetBaseData(Template); 
            MyList.DataMember = Template.Attributes["Name"].Value; 
 
            MyList.LayoutTemplate = new LayoutTemplate(Template); 
            MyList.ItemTemplate = new ItemTemplate(Template); 
            MyList.AlternatingItemTemplate = new ItemTemplate(Template); 
            MyList.EmptyDataTemplate = new EmptyDataTemplate(Template); 
            MyList.EditItemTemplate = new EditItemTemplate(Template); 
            MyList.InsertItemTemplate = new EditItemTemplate(Template); 
            MyList.SelectedItemTemplate = new ItemTemplate(Template); 
            MyList.ItemPlaceholderID = "itemPlaceholder"; 
 
 
             
            MyList.ItemInserted += new EventHandler<RadListViewInsertedEventArgs>(MyList_ItemInserted); 
            MyList.ItemUpdated += new EventHandler<RadListViewUpdatedEventArgs>(MyList_ItemUpdated); 
            MyList.ItemDeleted += new EventHandler<RadListViewDeletedEventArgs>(MyList_ItemDeleted); 
            MyList.NeedDataSource += new EventHandler<RadListViewNeedDataSourceEventArgs>(MyList_NeedDataSource); 
            MyList.ItemCommand += new EventHandler<RadListViewCommandEventArgs>(MyList_ItemCommand); 
 
 
            return MyList; 
        } 

but if i click on the edit button nothing seems to happen , am i missing an event or trigger ?

Peter



Rosen
Telerik team
 answered on 02 Jul 2010
2 answers
249 views
Hello,

Using Q3 2009 & IE7, I have the following scheduler code (advanced template code taken from here):

<telerik:RadScheduler ID="RadScheduler1" runat="server" OnAppointmentDelete="RadScheduler1_AppointmentDelete" 
                OnAppointmentInsert="RadScheduler1_AppointmentInsert" OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" 
                Skin="WebBlue" OnDataBinding="RadScheduler1_DataBinding" SelectedView="WeekView" 
                StartEditingInAdvancedForm="true" StartInsertingInAdvancedForm="true" ShowAllDayRow="false" 
                OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" 
                CustomAttributeNames="avail_type" EnableCustomAttributeEditing="true"> 
                <AdvancedForm Modal="true" /> 
                <TimelineView UserSelectable="false" /> 
                <AdvancedInsertTemplate> 
                    <div class="rsAdvancedEdit" style="position: relative"> 
                        <%-- Title bar.--%> 
                        <div class="rsAdvTitle"> 
                            <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%> 
                            <h1 class="rsAdvInnerTitle"> 
                                <asp:Label runat="server" ID="titleBarLabel"> 
               <%# Container.Appointment.Owner.Localization.GetString("AdvancedInsertTitleBar_Callback")%> 
                                </asp:Label></h1> 
                            <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose" 
                                CommandName="Cancel" CausesValidation="false" ToolTip='<%# Container.Appointment.Owner.Localization.AdvancedClose %>'> 
       <%# Container.Appointment.Owner.Localization.AdvancedClose%> 
                            </asp:LinkButton> 
                        </div> 
                        <div class="rsAdvContentWrapper"> 
                         
                        <table> 
                        <tr><td> 
                        <asp:Label runat="server" ID="AvailabilityLabel"> 
                        <%# Container.Appointment.Owner.Localization.GetString("AvailabilityLabel_Callback")%> 
                        </asp:Label> 
                        </td> 
                        <td> 
                         
                        <telerik:RadComboBox runat="server" ID="AvailComboBox" OnDataBinding="AvailComboBox_DataBinding" Skin="WebBlue" DataValueField="avail_type" DataTextField="avail_name" HighlightTemplatedItems="True" EmptyMessage='<%# Container.Appointment.Owner.Localization.Save %>'> 
                        <ItemTemplate> 
                        <asp:Image runat="server" ID="AvailabilityDDImage" ImageUrl='<%# "~/images/colors/" + Eval("color").ToString().Trim() + ".gif" %>' ToolTip='<%# "~/images/colors/" + Eval("color").ToString().Trim() + ".gif" %>' /> 
                        <asp:Label runat="server" ID="AvailabilityDDLabel" Text='<%# Eval("avail_name") %>'></asp:Label> 
                        <asp:HiddenField runat="server" ID="hidAvailType" Value='<%# Bind("avail_type") %>' /> 
                        </ItemTemplate> 
                        </telerik:RadComboBox> 
                        </td> 
                      
                        </tr> 
                        </table> 
              
                            Custom content here... 
                            <asp:Panel runat="server" ID="ButtonsPanel" CssClass="rsAdvancedSubmitArea"> 
                                <div class="rsAdvButtonWrapper"> 
                   <asp:LinkButton CommandName="Insert" runat="server" ID="InsertButton" CssClass="rsAdvEditSave"> 
<span><%# Container.Appointment.Owner.Localization.Save%></span> 
                   </asp:LinkButton> 
                   <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" CommandName="Cancel" 
                       CausesValidation="false"> 
<span><%# Container.Appointment.Owner.Localization.Cancel%></span> 
                   </asp:LinkButton> 
               </div> 
                            </asp:Panel> 
                        </div> 
                    </div> 
                </AdvancedInsertTemplate> 
            </telerik:RadScheduler> 

Here is the codebehind:
protected void RadScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e) 
        { 
            string test = e.Appointment.Attributes["avail_type"]; 
        } 
 
        protected void RadScheduler1_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e) 
        { 
        } 
 
        protected void RadScheduler1_AppointmentDelete(object sender, SchedulerCancelEventArgs e) 
        { 
        } 
 
protected void AvailComboBox_DataBinding(object sender, EventArgs e) 
        { 
            (sender as RadComboBox).Items.Clear(); 
            DataTable table = new DataTable(); 
            table.Columns.Add("color"); 
            table.Columns.Add("avail_name"); 
            table.Columns.Add("avail_type"); 
 
            DataRow row = table.NewRow(); 
            row["color"] = "Green"; 
            row["avail_name"] = "Available"; 
            row["avail_type"] = "AVAIL"; 
            table.Rows.Add(row); 
 
            row = table.NewRow(); 
            row["color"] = "Red"; 
            row["avail_name"] = "Not Available"; 
            row["avail_type"] = "NOTAVAIL"; 
            table.Rows.Add(row); 
 
            DataView AvailabilityView = table.DefaultView; 
 
            (sender as RadComboBox).DataSource = AvailabilityView; 
            (sender as RadComboBox).SelectedIndex = 0; 
        } 

In particular, I am having great trouble with the combobox (on appointment insert); I simply cannot get the value of it. The string 'test' always returns null. If I try using DataValueField='<%# Bind("avail_type") %>' in the combobox, the string becomes empty instead. I simply wish to get the selected value of the combobox as a custom appointment attribute so that it may be stored in the database. Any help will be appreciated.

Thank you
Josh
Top achievements
Rank 1
 answered on 02 Jul 2010
4 answers
543 views
Is there a way to fire a server-side event based on a row select of a rad-grid? Basically, I want to take a column value (that is the key value for the dataset) and use that to re-direct the page to a different page to view more information based on that key value. Right now, I can select a row, and then have a button that does the same thing  based on the selected row, but I want to eliminate a click. Also, is there any way to make it only fire on a double-click event?
Matt Tapia
Top achievements
Rank 1
 answered on 02 Jul 2010
2 answers
87 views
I have the tool FindAndReplace with the shortcut CTRL+F, but it is interfering with the browser ctrl+F, so both find dialog are appearing. I saw that the behavior can be reproduce in the telerik demos(http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx) using IE but seems to work fine in firefox. It is not a major bug, but if you have any suggestion on how to override this specific browser shortcut.

Thanks,
Sébastien
Sébastien
Top achievements
Rank 1
 answered on 02 Jul 2010
11 answers
249 views
The first time I drop down the RadComboBox there is a blank line at the bottom (empty item). In other words the length of the drop down is off. Then the second time I drop it down it is correct and there is no blank item at bottom.

<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <telerik:RadComboBox ID="cmbQueryBy" runat="server" Width="98px">
            <Items>
                <telerik:RadComboBoxItem runat="server" Text="Today" Value="1" />
                <telerik:RadComboBoxItem runat="server" Text="Tomorrow" Value="2" />
                <telerik:RadComboBoxItem runat="server" Text="Next 7 Days" Value="3" />
                <telerik:RadComboBoxItem runat="server" Text="Specific Date" Value="4" />
            </Items>
        </telerik:RadComboBox>
    </div>
    </form>
</body>
</html>
Simon
Telerik team
 answered on 02 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?