Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
653 views
Dear Telerik,

When we enable the keyboard navigation feature on a grid "radGrid.ClientSettings.AllowKeyboardNavigation = true;" the Page Up/Page Down/ End/ and Home keys get disabled.

What are we doing wrong? How do we enable them? We'd like them to move the active row as the Up/Down arrows do. Can you help?

Salah A. Malaeb
TeknoBuild
Antonio Stoilkov
Telerik team
 answered on 23 May 2013
1 answer
268 views
In Rad Grid,I have following,requirement the below code shows ,

 <telerik:GridTemplateColumn Visible="true" DataField="EFTNumber" HeaderText="EFT Number"
                    HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" UniqueName="EFTNumber">
                    <ItemTemplate>
                        <%# Eval("EFTNumber")%>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <telerik:RadTextBox ID="rdtxtEFTNumber" runat="server" Text='<%# Eval("EFTNumber") %>'
                            Width="160px" onclick="shouldConfirm = true;" />
                        <telerik:RadButton ID="RbtnResetEFTNo" runat="server" Width="40px" AutoPostBack="true"
                            CausesValidation="false" Text="Reset" OnClick="RbtnResetEFTNo_Click1">
                        </telerik:RadButton>
                    </EditItemTemplate>
      </telerik:GridTemplateColumn>

I have,
1. One Rad Asynchronous column in Rad grid.
2.Two Reset Button above code I have  in grid also ,
when user upload picture and then click on reset button of rad text box,That time I lost time uploaded picture .so ,I don't want the loss the upload picture and also ....user click's on reset button I want ,ask confirmation ,using  Rad Confirm(),When User Click On the  "Yes" ,I want Display The rad Prompt box to enter Data.when user enter Data and click's on The Ok. I want to display the data in RadTextBox And also I don't want Post of that page.

Req: Rad Text box -->Button click--->rad Confirm--->yes-->rad prompt--->data--> OK----> display data--->in Rad Text Box-->Not loss of already Upload picture.

Kostadin
Telerik team
 answered on 23 May 2013
1 answer
140 views
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/templates/defaultcs.aspx

In the above example if you click left side to the checkbox (not on checkbox), combo box Text is changing from all selected items text(comma seperated) to single clicked item text. Please see attached pictures

How to avoid this? Can someone help in this issue.

Thanks
Plamen
Telerik team
 answered on 23 May 2013
3 answers
198 views
I have created asp.net webpage with rad grid , within that i provide grouping ,paging and filtering facility.
In here i bind huge data set .because of that page performance will decreased. There for i have try with fetch only the particular page records. but its not fair with grouping. are there any solution for my problem . i need to use paging ,grouping and filtering with high performance
Angel Petrov
Telerik team
 answered on 23 May 2013
3 answers
229 views
Hi,

I have the following RadComboBox but it is not displaying the checkboxes before each item in the combobox? Could you please let me know why the checkbox is not displayed?

<asp:UpdatePanel ID="plAddAssignments" runat="server" UpdateMode="Conditional">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnAddCars" EventName="Click" />
</Triggers>
<ContentTemplate>
<div class="title">
Add/Modify Assignments
<asp:Button ID="btnAddCars" runat="server" Text="Add Part-Car Assignment" CssClass="btn" />
</div>
<asp:Panel ID="plAddAssignmentsPanel" runat="server" DefaultButton="btnAddCars">
<div id="newAssignment">
<div style="padding: 15px; padding-right: 5px; background-color: #fff; border: solid 1px #ccc;">
<span class="lbl">Display Make:</span>
<asp:DropDownList ID="ddlMakeCars" runat="server" CssClass="ddl" Width="100px" AutoPostBack="true" />
&nbsp;

<rad:RadComboBox ID="ddlBookx" runat="server" Enabled="true" Label="Books:" CheckBoxes="true" Width="100px"  EmptyMessage="All Books">
    <Items>
                                     <rad:RadComboBoxItem Text="Arts" />
                                     <rad:RadComboBoxItem Text="Biographies" />
                                     <rad:RadComboBoxItem Text="Children's Books" />
                                     <rad:RadComboBoxItem Text="Computers &amp; Internet" />                                 
                                </Items>                            
</rad:RadComboBox>
 
<span class="lbl">Model:</span>


Thanks,
Priyanka
Plamen
Telerik team
 answered on 23 May 2013
2 answers
81 views
Hello,

We are having a problem with the rad combo box wherein when the allowcustomtext attribute set to true.
When inputting values such as 140000, upon post back the value in changed to 14.

This occurs only if:
 - the said value is not in the drop down.
- the entered value is purely integer
- browser is Internet Explorer (currently using IE 9)

Can be replicate using a simple setup with aspx seen below:

<head runat="server">
    <title></title>
     
</head>
<body>
    <form id="form1" runat="server">
     <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
      
    <div>
    <telerik:RadComboBox ID="radcbx1" runat="server" AllowCustomText="True"></telerik:RadComboBox>
    <asp:Button ID="btn1" runat="server" Text="Button" OnClick="Button1_Click" />
    <asp:TextBox ID="txtbox1" runat="server" Width="362px"></asp:TextBox>
    </div>
    </form>
</body>
</html>

With the source code below:

protected void Page_Load(object sender, EventArgs e)
   {
       if (!IsPostBack)
       {       
       radcbx1.Items.Add(new Telerik.Web.UI.RadComboBoxItem("12000"));
       radcbx1.Items.Add(new Telerik.Web.UI.RadComboBoxItem("122"));
       radcbx1.Items.Add(new Telerik.Web.UI.RadComboBoxItem("12222"));
       radcbx1.Items.Add(new Telerik.Web.UI.RadComboBoxItem("1000"));
       radcbx1.Items.Add(new Telerik.Web.UI.RadComboBoxItem("12"));
       }
   }
   protected void Button1_Click(object sender, EventArgs e)
   {
       txtbox1.Text = radcbx1.Text;
   }

When you input the value 140000 in the radcombobox then click the button.  The text box and radcombobox value becomes 14, we expect both to be 140000 though.

Please share you thoughts on this scenario. Thanks.
Tristan
Top achievements
Rank 1
 answered on 23 May 2013
1 answer
63 views
I have a radgrid that I'm only binding 200 records to regardless of the total record count.  When exporting to Excel, I want to export the entire record set.  In the RadGrid1_ItemCommand event, I'm resetting the parameters for the SQLDataSource that drives the grid and am creating a view with the complete record set.  However, when the export occurs, only 200 records are exported.  How can export the entire set of records?


Princy
Top achievements
Rank 2
 answered on 23 May 2013
1 answer
147 views
Greetings!

Please let me know if it is possible to make use of Tree View control inside the textbox, provided both tree view is telerik control.
Shinu
Top achievements
Rank 2
 answered on 23 May 2013
2 answers
163 views
When using a GridHyperlink column bound to a datasource it automatically sets the title attribute of the generated link to the value of the innerHtml of the anchor element.  Is there a way to set the value to another value.

    <telerik:GridHyperLinkColumn DataNavigateUrlFormatString='~/{0}?Id={1}' DataNavigateUrlFields="Url,Item.Id" NavigateUrl="" HeaderText="Subject" DataTextField="Item.LinkText"  />


Which will render a link if item.LinkText is equal to "Hello World"

<a href="somelink?Id=1" title="Hello world">Hello World</a>

I don't want the title attribute to contain the link's text, but some other value instead including an empty string.
Is there some way to accomplish this?
Michael
Top achievements
Rank 1
 answered on 22 May 2013
4 answers
413 views
I have a bunch of grids and i need to be able to delete rows, then undelete them if needed. Right now i have a red x for the delete column, which is in a GridButtonColumn, but i would like to change the icon to something that represents an undelete action. I'm able to undelete the row by going through each row in the onitemdatabound function and changing the commandname for the GridButtonColumn to undelete, but i can't seem to change the image. this is what i have for the onitemdatabound right now:
 
protected void ManageUsersGrid_ItemDataBound(object sender, GridItemEventArgs e)
{
    GridDataItem item = e.Item as GridDataItem;
     if (item != null)
     {
        LinkButton button = item["DeleteColumn"].Controls[0] as LinkButton;
        button.CommandName = "Undelete";
    }
}

I check to see if the row in in a deleted state in there, but i removed it for simplicity
Iedoc
Top achievements
Rank 1
 answered on 22 May 2013
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?