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

ComboBox and radgrid loses css style settings on radwindow close

3 Answers 219 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Chandra Babu Nambi
Top achievements
Rank 1
Chandra Babu Nambi asked on 31 Aug 2010, 09:55 AM
HI team,

I have a requirement in my application that, I have to perform an action based on the users response(serverside). So I have used radwindow for the same. Based on the response(ok/cancel) respective serverside events are fired. After this operation when i click on any comboboxes it loses its css style (Gets changed to transparent). Radgrids in the page also faces the same issue. please find the follwing code snippets I have used to open and close the radwindow from server side.

Open radwindow :

Telerik.Web.UI.

RadWindow window = radWindowManager.Windows[0];

 

window.VisibleOnPageLoad =

true;

 


Close radwindow :

Telerik.Web.UI.

RadWindow window = radWindowManager.Windows[0];

 

window.VisibleOnPageLoad =

false;

 

window.Dispose();


radwindow in aspx page :

 

<telerik:RadWindowManager ID="radWindowManager" runat="server">

 

 

<Windows>

 

 

<telerik:RadWindow ID="radWindowConfirm" runat="server" VisibleOnPageLoad="false"

 

 

Skin="Vista" Title="Error(s)" Behaviors="Close,Move" Modal="true" Height="200px">

 

 

<ContentTemplate>

 

 

<asp:Label ID="lblDuplicate" runat="server" ForeColor="Red" Text="<%$ Resources:ValidationMessages, DuplicateEntry %>" />

 

 

<asp:Button ID="btnConfirmOk" Text="OK" runat="server" OnClick="btnRadConfirm_Click"

 

 

Visible="false" />

 

 

<asp:Button ID="btnConfirmCancel" Text="Cancel" runat="server" OnClick="btnRadNotConfirm_Click"

 

 

Visible="false" />

 

 

</ContentTemplate>

 

 

</telerik:RadWindow>

 

 

</Windows>

 

 

</telerik:RadWindowManager>

 


Please find the attached screen shots of both scenarios. Please let me help in this issue.

Regards,
Chandrababu.

3 Answers, 1 is accepted

Sort by
0
Accepted
Kalina
Telerik team
answered on 31 Aug 2010, 01:31 PM
Hello Chandra Babu Nambi,

As I understand the issue here is that the css styles are not rendered after page postback.
This can occur in cases when there are full and Ajax postbacks performed at the same page.
Let me suggest you set the EnableAjaxSkinRendering property of the RadComboBox and RadGrid to "true" at every page load.

Please let me know if this was helpful.

All the best,
Kalina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Devarajan
Top achievements
Rank 1
answered on 20 Sep 2010, 01:40 PM
Hi ,

Even i am setting the EnableAjaxSkinRendering  property true. Still i have same problem.

Can you please give me the solution for this?


Regards,
Deva
0
Kalina
Telerik team
answered on 23 Sep 2010, 06:14 PM
Hi Devarajan,

Let me suggest you to register the skins that you use manually as explained at this help article.

Best wishes,
Kalina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Chandra Babu Nambi
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Devarajan
Top achievements
Rank 1
Share this question
or