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

RadWindow Manager and MasterPage

5 Answers 249 Views
Window
This is a migrated thread and some comments may be shown as answers.
karnelva none
Top achievements
Rank 1
karnelva none asked on 04 Mar 2010, 07:08 PM
Hi!
Is my first time in the forum and is the first time I use telerik. My problem is the next.
i have a master page, in then page have "radWindow Manager"  for send alerts, the function is fine but the images is bad. The design of the alert box is distorted. When have a form exclusive of code of telerik the design is good, but in my page is necesary other form with "runat=server".
I explaind?

5 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 05 Mar 2010, 07:23 AM
Hello karnelva,

I am not sure that I understand your last sentence "When have a form exclusive of code of telerik the design is good, but in my page is necesary other form with "runat=server".", but in general if RadWindow (and any other control of ours) looks distorted, there are 2 main reasons for such problem:
  1. There is an global CSS selector - for example for TD / TR / UL / LI elements that interfere with the CSS skinning of the controls. Please check your CSS and if this is the reason for the problem - please make sure that you don't use global styles as this leads to problems with third-party controls.
  2. If you experience this problem in IE only, the chances are that you are using custom external skins and the number of style tags that are imported on the page extend beyond IE limit. If this is the case, you should lower the number of style tags or as an alternative - use RadStyleSheetManager.

I hope this helps. If you still experience problems, please provide a live Url or some screenshots where we could observe behavior that you experience.

All the best,
Georgi Tunev
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
karnelva none
Top achievements
Rank 1
answered on 05 Mar 2010, 05:52 PM
This is an example of my code.

Master Page:

<

 

form id="form1" runat="server">

 

 

<telerik:RadWindowManager ID="Singleton" runat="server" Skin="Vista"></telerik:RadWindowManager>

 

 

<table style="width: 100%;">

 

 

<tr>

 

 

<td style="text-align:right;" align="right">

 

 

<script type="text/javascript">

 

 

//<![CDATA[

 

 

function confirmCallBackFn(arg)

 

{

alert(

"Confirm returned the following result: " + arg);

 

}

 

//]]>

 

 

</script>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td align="right" style="text-align:right;">

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

<asp:ScriptManager id="ScriptManager" runat="server" />

 

 

<asp:ContentPlaceHolder ID="Telerik" runat="server"></asp:ContentPlaceHolder>

 

 

</form>

 


in my page using the next code:

<

 

select name="dropdown" onchange="radconfirm('Change?', confirmCallBackFn, 330, 100); return false;">

 

 

<option value="option1">Option 1</option>

 

 

<option value="option2">Option 2</option>

 

 

<option value="option3">Option 3</option>

 

</

 

select>

 


this way the design looks good. But if I put it as follows does not look good.

<form id="Form1" runat="server">

 

<asp:ScriptManager id="ScriptManager" runat="server" />

 

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" InitialBehavior="None" Modal="True">

 

<!--Code and other components !-->
</form>



0
Georgi Tunev
Telerik team
answered on 10 Mar 2010, 03:26 PM
Hello karnelva,

If this code (the last in your post)
<form id="Form1" runat="server">
<asp:ScriptManager id="ScriptManager" runat="server" />
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" InitialBehavior="None" Modal="True">
<!--Code and other components !-->
</form>

is in your content page, such problem is expected - when you have MasterPage scenario, you cannot have more than one form with runat=server property on the page.

Sincerely yours,
Georgi Tunev
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
karnelva none
Top achievements
Rank 1
answered on 10 Mar 2010, 05:58 PM
Yes, I mean when I use other components in the same FORM it distorts the layout of the alert the Telerik
0
Doug Beard
Top achievements
Rank 1
answered on 08 Jul 2010, 02:06 PM
Try adding a RadStyleSheetManager to the form.
Tags
Window
Asked by
karnelva none
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
karnelva none
Top achievements
Rank 1
Doug Beard
Top achievements
Rank 1
Share this question
or