Hi:
If I use the MarkFirstMatch feature in data entry (just typing a 1, 2 or 3) the SelectedIndexChange event does not seem to fire. If I use the drop-down, then it fires.
Thanks
If I use the MarkFirstMatch feature in data entry (just typing a 1, 2 or 3) the SelectedIndexChange event does not seem to fire. If I use the drop-down, then it fires.
| <telerik:RadComboBox ID="classComboBox" runat="server" |
| Skin="Outlook" Width="90px" |
| MarkFirstMatch="True" AutoPostBack="True" |
| OnSelectedIndexChanged="classComboBox_SelectedIndexChanged" |
| > |
| <Items> |
| <telerik:radcomboboxitem Value="0" Text="0 None" /> |
| <telerik:radcomboboxitem Value="1" Text="1" /> |
| <telerik:radcomboboxitem Value="2" Text="2" /> |
| <telerik:radcomboboxitem Value="3" Text="3" /> |
| </Items> |
| </telerik:RadComboBox> |
Thanks
12 Answers, 1 is accepted
0
Hi Phil,
Indeed, when MarkFirstMatch is set to true, typing only or changing the highlighted Item with the Up and Down keys does not actually select the Item.
If you however press 'Enter' in this case, the SelectedIndexChanged event will fire.
Best wishes,
Simon
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Indeed, when MarkFirstMatch is set to true, typing only or changing the highlighted Item with the Up and Down keys does not actually select the Item.
If you however press 'Enter' in this case, the SelectedIndexChanged event will fire.
Best wishes,
Simon
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Phil
Top achievements
Rank 2
answered on 10 Apr 2009, 04:35 PM
Hi:
First understand I have 5 of the classComboBox on the form (within a repeater control). I am tabbing out of the field. Then upon any postback all of the changed combo-boxes (that have been changed) events fire. I think that is a bug.
Phil
First understand I have 5 of the classComboBox on the form (within a repeater control). I am tabbing out of the field. Then upon any postback all of the changed combo-boxes (that have been changed) events fire. I think that is a bug.
Phil
0
Hello Phil,
Please provide more details about the issue.
How could it be reproduced? Could you paste here the minimum markup needed to do so?
Sincerely yours,
Simon
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Please provide more details about the issue.
How could it be reproduced? Could you paste here the minimum markup needed to do so?
Sincerely yours,
Simon
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Phil
Top achievements
Rank 2
answered on 13 Apr 2009, 01:39 PM
Hi:
I am trying to enter multiple lines of data at the same time. All of the total values must balance out upon submit. My aspx is presented in a RadWindow, so that may come into play. When I press enter the event is not fired, and nothing seems to happen.
I am trying to enter multiple lines of data at the same time. All of the total values must balance out upon submit. My aspx is presented in a RadWindow, so that may come into play. When I press enter the event is not fired, and nothing seems to happen.
0
Phil
Top achievements
Rank 2
answered on 14 Apr 2009, 12:44 AM
Hi:
I created a simplified demo:
but it worked OK w/o the RadWindows, so could it be the windows?
Phil
I created a simplified demo:
| <%@ Page Language="C#" %> |
| <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <script runat="server"> |
| public class cls |
| { |
| public int cl {get ; set; } |
| public int amt1 {get ; set; } |
| public int amt2 { get; set; } |
| public int amt3 { get; set; } |
| public int totAmt { get; set; } |
| } |
| // |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| kysLabel.Text = Request.QueryString["Kys"]; |
| if( !IsPostBack ) |
| { |
| Initialize(); |
| } |
| } |
| public void Initialize() |
| { |
| cls _cls = new cls{ cl = 0, amt1 = 0, amt2 = 0, amt3 = 0, totAmt = 0 }; |
| List<cls> _ridList = new List<cls>(); |
| _ridList.Add(_cls); |
| _ridList.Add(_cls); |
| _ridList.Add(_cls); |
| classAddRepeater.DataSource = _ridList; |
| classAddRepeater.DataBind(); |
| } |
| // |
| protected void classComboBox_SelectedIndexChanged(Object o, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e) |
| { |
| int _i = 0; |
| RadComboBox _classComboBox = (RadComboBox)o; |
| int _class = Convert.ToInt32(_classComboBox.SelectedValue); |
| if ((_class != 0)) |
| { |
| RepeaterItem _repeaterItem = (RepeaterItem)_classComboBox.Parent; |
| TextBox _amt1 = (TextBox)_repeaterItem.FindControl("amt1TextBox"); |
| TextBox _amt2 = (TextBox)_repeaterItem.FindControl("amt2TextBox"); |
| TextBox _amt3 = (TextBox)_repeaterItem.FindControl("amt3TextBox"); |
| if (_class == 1 ) |
| { |
| _amt1.Visible = true; |
| } |
| else |
| { |
| _amt1.Visible = false; |
| } |
| _amt2.Visible = true; |
| _amt3.Visible = true; |
| } |
| } |
| // |
| </script> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager ID="RadScriptManager1" Runat="server"> |
| </telerik:RadScriptManager> |
| Keys: <asp:Label ID="kysLabel" runat="server" Text="0" /> |
| <table> |
| <thead> |
| <tr> |
| <th scope="col" class="GridHeader_Office2007">Class</th> |
| <th scope="col" class="GridHeader_Office2007">Amt 1</th> |
| <th scope="col" class="GridHeader_Office2007">Amt 2</th> |
| <th scope="col" class="GridHeader_Office2007">Amt 3</th> |
| <th scope="col" class="GridHeader_Office2007">Total</th> |
| </tr> |
| </thead> |
| <asp:Repeater ID="classAddRepeater" runat="server" |
| > |
| <ItemTemplate> |
| <tr> |
| <td> |
| <telerik:RadComboBox ID="classComboBox" runat="server" |
| Skin="Outlook" |
| MarkFirstMatch="True" |
| Width="100px" |
| SelectedValue='<%# Bind("cl") %>' |
| onselectedindexchanged="classComboBox_SelectedIndexChanged" |
| AutoPostBack="True" |
| > |
| <Items> |
| <telerik:radcomboboxitem Value="0" Text="0 Not Selected" /> |
| <telerik:radcomboboxitem Value="1" Text="1" /> |
| <telerik:radcomboboxitem Value="2" Text="2" /> |
| <telerik:radcomboboxitem Value="3" Text="3" /> |
| </Items> |
| </telerik:RadComboBox> |
| </td> |
| <td> |
| <asp:TextBox ID="amt1TextBox" runat="server" Text='<%# Bind("amt1","{0:N0}") %>' Columns="8" MaxLength="9" Visible="false" /> |
| </td> |
| <td> |
| <asp:TextBox ID="amt2TextBox" runat="server" Text='<%# Bind("amt2","{0:N0}") %>' Columns="7" MaxLength="8" Visible="false" /> |
| </td> |
| <td> |
| <asp:TextBox ID="amt3TextBox" runat="server" Text='<%# Bind("amt3","{0:N0}") %>' Columns="7" MaxLength="8" Visible="false" /> |
| </td> |
| <td> |
| <asp:TextBox ID="totAmtTextBox" runat="server" Text='<%# Bind("totAmt","{0:N0}") %>' Columns="7" MaxLength="8" Visible="True" /> |
| </td> |
| </tr> |
| </ItemTemplate> |
| </asp:Repeater> |
| </table> |
| </form> |
| </body> |
| </html> |
Phil
0
Phil
Top achievements
Rank 2
answered on 14 Apr 2009, 12:10 PM
Hi:
Interesting at work, if I run the aspx w/o the RadWindows, it still exhibits the same problem?
Phil
Interesting at work, if I run the aspx w/o the RadWindows, it still exhibits the same problem?
Phil
0
Phil
Top achievements
Rank 2
answered on 14 Apr 2009, 04:11 PM
Hi:
I took the above code ran it on my work computer, the post-backs are not firing (2008.3.1314.35). On my laptop, the post-backs do fire (2008.2.1001.35).
Phil
I took the above code ran it on my work computer, the post-backs are not firing (2008.3.1314.35). On my laptop, the post-backs do fire (2008.2.1001.35).
Phil
0
Hello Phil,
Thank you for providing the code.
I used it in a sample page with the both your version of RadComboBox - 2008.3.1314.35 - and the latest official - 2009.1.402.35 - and it worked normally.
Postbacks fired when an Item was selected by clicking in the drop down and using keyboard only.
Could you specify exactly how the issue you are experiencing at your side could be reproduced with the provided code snippet?
Sincerely yours,
Simon
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Thank you for providing the code.
I used it in a sample page with the both your version of RadComboBox - 2008.3.1314.35 - and the latest official - 2009.1.402.35 - and it worked normally.
Postbacks fired when an Item was selected by clicking in the drop down and using keyboard only.
Could you specify exactly how the issue you are experiencing at your side could be reproduced with the provided code snippet?
Sincerely yours,
Simon
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Phil
Top achievements
Rank 2
answered on 27 Jul 2009, 10:22 PM
Date: 7/27/2009 2:00:07 AM
Hello Phil,
No, we are still working on the issue.
In order to fix it we are making changes to core functionality and thorough testing is required in this case.
I will let you know in this thread when we are done.
Sincerely yours,
Simon
the Telerik team
0
Hello Phil,
We resolved the bug. Please download the tomorrow's Internal Build to obtain a fixed version.
Regards,
Simon
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Regards,
Simon
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Phil
Top achievements
Rank 2
answered on 06 Aug 2009, 02:24 AM
I reported this and you agreed it was a problem on April 16th. I have sold multiple copies of your product. I have demo'd asp.net ajax at multiple venues including local ineta meetings. How am I supposed push your produce now?
0
Hi Phil,
Indeed addressing this issue took more time than initially expected. If you do not want to use the Internal Build you could wait for the Service Pack we are planning to release on 28th August and upgrade directly to it.
We apologize for any inconvenience caused.
All the best,
Simon
the Telerik team
Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
Simon
the Telerik team
Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.