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

RadTabStrip -> RadGrid bug

1 Answer 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
V
Top achievements
Rank 1
V asked on 01 Dec 2008, 01:25 PM
Hi
I'm using the following combinations of Rad Controlls:

RadTabStrip with multiple PageViews (RadMultiPage) and RadGrid into one of the PageViews.

The AutoPostBack prop of the RadTabStrip is set to TRUE; the RenderSelectedPageOnly prop of RadMultiPage is also set to TRUE.
The RadGrid has a Template collumn which defines a CheckBox with prop AutoPostBack set to TRUE (see bellow) :

<radG:GridTemplateColumn DataField="test" UniqueName="test_test"

 

HeaderText="test" Visible="true">

 

 

<ItemTemplate

 

 

<asp:CheckBox AutoPostBack="true" ID="testc" OnCheckedChanged="testc_CheckedChanged"

 

 

runat="server" Checked='<%#Eval("testt") %>' />

 

 

</ItemTemplate>

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:CheckBox ID="testxx" AutoPostBack="false" runat="server" Checked='<%#Eval("test") %>' /></EditItemTemplate>

 

 

 

 

 

 

</radG:GridTemplateColumn>

 

 

 

The problem is that when the Tab with the RadGrid is loaded all values of the CheckBoxes are set to FALSE and the event
testc_CheckedChanged is fired and it shouldn't be!
When I set the AutoPostBack prop of the RadTabStrip to FALSE and the RenderSelectedPageOnly prop of RadMultiPage to FALSE.
everything works great.

What could the cause be?

many Thanks,
Victor

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 03 Dec 2008, 02:15 PM
Hello,

Will it be convenient for you to open a regular support ticket send us sample runnable project which replicates the described behaviour? We will test the application locally and advise you further.

Best wishes,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
V
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or