RadWindow Manager and MasterPage

6 posts, 0 answers
  1. karnelva none
    karnelva none avatar
    3 posts
    Member since:
    Mar 2010

    Posted 04 Mar 2010 Link to this post

    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?

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 05 Mar 2010 Link to this post

    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.
  3. karnelva none
    karnelva none avatar
    3 posts
    Member since:
    Mar 2010

    Posted 05 Mar 2010 Link to this post

    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>



  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 10 Mar 2010 Link to this post

    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.
  5. karnelva none
    karnelva none avatar
    3 posts
    Member since:
    Mar 2010

    Posted 10 Mar 2010 Link to this post

    Yes, I mean when I use other components in the same FORM it distorts the layout of the alert the Telerik
  6. Doug Beard
    Doug Beard avatar
    55 posts
    Member since:
    Sep 2009

    Posted 08 Jul 2010 Link to this post

    Try adding a RadStyleSheetManager to the form.
Back to Top