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

When radgrid add new, edit, delete clicked then radpanelbar closed itself

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
puru
Top achievements
Rank 1
puru asked on 07 Oct 2008, 10:31 AM
Hi,

When radgrid add new, edit, delete clicked then radpanelbar closed itself  closed itself (radgrid inside radpanelbar).

Below is the aspx code:

 

<radC:RadPanelBar ID="RadPanelBarPhysicianInformation" ExpandMode="SingleExpandedItem" Width="100%" runat="server" OnItemClick="RadPanelBarPhysicianInformation_ItemClick" >

 

 

<CollapseAnimation Duration="100" Type="None" />

 

 

<ExpandAnimation Duration="100" Type="None" />

 

 

<Items >

 

 

<radC:RadPanelItem Text="Constitution" >

 

 

<items>

 

 

<radC:RadPanelItem Value="PhysicianOptions" runat="server">

 

 

<ItemTemplate>

 

 

<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>

 

<

Telerik:RadGrid ID="rgApptType1" EnableAJAX="True" runat="server" Skin="WebBlue" Width="100%" ShowStatusBar="True"

 

 

AutoGenerateColumns="False" PageSize="7" AllowSorting="True" AutoGenerateDeleteColumn="true"

 

 

ValidationSettings-CommandsToValidate="Insert" AutoGenerateEditColumn="True"

 

 

AllowPaging="True" GridLines="None" >

 

 

<PagerStyle Mode="NumericPages"></PagerStyle>

 

 

<MasterTableView CommandItemDisplay= "Top" EditMode="InPlace" DataKeyNames="ApptEncounterData_ID">

 

<

Columns >

 

 

 

<telerik:GridTemplateColumn HeaderText="AppointmentType Name" UniqueName="ApptType_ID">

 

<

ItemTemplate>

 

 

<asp:Label ID="lblApptType_ID" runat="server" Text='<%# Eval("ApptEncounterData_Field")%>'></asp:Label>

 

 

</ItemTemplate>

 

</

telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Display Order" UniqueName="ApptType_Name">

 

<

ItemTemplate>

 

<

asp:Label ID="lblApptType_Name" runat="server" Text='<%# Eval("ApptEncounterData_DisplayOrder")%>'></asp:Label>

 

</

ItemTemplate>

 

</

telerik:GridTemplateColumn>

 

</

Columns>

 

</

MasterTableView>

 

</

Telerik:RadGrid> </ItemTemplate>

how to stop to close the radpanel when click on radgrid?

Thanks,
Puru

 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 07 Oct 2008, 11:28 AM
Hi Puru,

I tried the same scenario at my end and its working as expected. I dont understand why the panelbar collapses at your end. Probably, you may find the following  KB article helpful.
Preventing a RadPanelBar PanelItem from collapsing

Thanks
Princy.
Tags
Grid
Asked by
puru
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or