This is a migrated thread and some comments may be shown as answers.

Has anyone found a solution for RadComboBoxes SelectedIndexChanged bug yet?

3 Answers 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 10 Dec 2012, 10:39 PM
I have a fairly conventional RadGrid set up with a FormTemplate popup.  I put a pair of RadComboBoxes within a RadAjaxPanel (although that appears to have no effect on the basic problem.) This is a fairly conventional scenario. The SelectedIndexChanged of the first box updates the second one.

This works perfectly when the grid is in Edit mode but the SelectedIndexChanged fails when the template is in Insert Mode.

I see there are all too many entries in this forum about this problem but I haven't found anything that looks like a solution yet.

Is this something that will be fixed in the next release?

3 Answers, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 13 Dec 2012, 11:05 AM
Hi Boris,

Based on your description I have tried to replicate the issue but to no avail. You could take a look at the attached project and observe if there any differences at your end. In order to further investigate the issue you could provide us with a step by step instructions on how to replicate the unwanted behavior so could debug it and advise you with the best possible solution.

Greetings,
Antonio Stoilkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Boris
Top achievements
Rank 1
answered on 13 Dec 2012, 01:43 PM
Thanks for your response.  I'm kind of in a bind here.  My code is vastly more complex than that and I really can't reveal company property. 

In any case for now, the Asp.Net dropdown lists are working. If I get the time I will try to come up with a demo.  In the short run I'd like to remind you that my version had the two combo boxes running inside a RadAjaxPanel.  I should also have mentioned that the RadGrid was inside a RadPageView. 

For now here's a few additional details.  I think I can reveal this much:  

<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowSorting="True"
AutoGenerateColumns="False" CellSpacing="0" GridLines="None"  OnInsertCommand="RadGrid1_InsertCommand"
OnItemDataBound="RadGrid1_ItemDataBound" OnNeedDataSource="RadGrid1_NeedDataSource"
OnUpdateCommand="RadGrid1_UpdateCommand" OnItemCommand="RadGrid1_ItemCommand"
OnItemCreated="RadGrid1_ItemCreated" AllowPaging="True">

 <MasterTableView CommandItemDisplay="Top" EditMode="PopUp" DataKeyNames="Id" ClientDataKeyNames="Id" Name="Table1">

The <FormTemplate> contains JavaScript enclosed in a RadCodeBlock, including this:

<telerik:RadCodeBlock runat="server">
    <script src="Scripts/WebForms/WebUIValidation.js"></script>
    <script type="text/javascript">

     ...  various JavaScript functions

 </telerik:RadCodeBlock>


Popup Settings as follows: 
     <PopUpSettings Modal="True" Height="610px" Width="1050px" ShowCaptionInEditForm="true" />

Client settings as follows:

  <ClientSettings AllowKeyboardNavigation="True" EnablePostBackOnRowClick="true">
       <ClientEvents OnPopUpShowing="PopUpShowing" OnKeyPress="KeyPress" />
       <Resizing AllowColumnResize="True" />
  </ClientSettings>

0
Antonio Stoilkov
Telerik team
answered on 18 Dec 2012, 07:38 AM
Hello Boris,

I have modified the page per your description but still was not able to replicate the problem. I have attached the page below in order to take a look at it if you have the time so we could replicate the issue and investigate it.

Greetings,
Antonio Stoilkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Boris
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Boris
Top achievements
Rank 1
Share this question
or