RadWindow Control Buttons Width Sizing

0 Answers 70 Views
Button Window
Jared
Top achievements
Rank 1
Jared asked on 10 Oct 2022, 05:14 PM

I am trying edit Control buttons within my RadWindow; however I cannot find where I would do this, after hours of researching the code, and documentation of this; no luck.

The page in question generates after clicking a button on a webpage we have setup; I have tried to add style using a few methods:

  • styling the titlebar: .RadWindow table .rwTitlebar inside a styletag and adding more width (no luck)
  • using the master page to do the same
  • Editing the width in the aspx
  • Removing a behavior to see if the controls would align

I have attached pictures for reference, and you can see which file I am showing; please let me know, the picture showing the behaviors, (maximize, minimize, close) are the behaviors/buttons I want to adjust, the close (x button) I want to be aligned with the rest.

 

The button redirects to the pop up/RadWindow is the Review.Aspx page, the Pending.aspx is the page which has the button to click generating the Review page in question.

 

 

Attila Antal
Telerik team
commented on 13 Oct 2022, 09:15 AM

Hi Jared,

I've read your description and looked at the screenshot but the problem/scenario is still unclear.

To be able to understand the question I would need you to clarify the following:

  • Are you trying to open RadWindow by clicking on a button?
  • Are you trying to style controls inside the Window and the CSS is not working?
  • Are you trying to edit asp:DataForm inside a RadWindow?

If I didn't ask the right, questions, please provide the following:

  • describe the scenario you are trying to achieve
  • in case of exceptions, please share the error messages/screenshots, etc.
  • share the ASPX and ASPX.CS code so that we can have better visibility of the scenario

 

Jared
Top achievements
Rank 1
commented on 13 Oct 2022, 01:18 PM

Hello,

Thank you for taking the time to look at this; I submitted a ticket and here is the information I was given:

"Hi Jared,

Thank you for the screenshots!

The problem could be a result of mixing different render modes on the page, see RenderMode Conflict ("mixed render modes").

Please make sure there is only one Render mode used on the page and see if the problem persists. One way to achieve this is to remove all declarations of RenderMode property in the markup and set the render mode globally in the web.config, see Setting RenLink to derMode.

If this is not the case, I would ask you to capture the current behavior with the Fiddler Jam tool and share the log with us. That way we will be able to inspect the page ourselves and see if we can pinpoint the reason.

  1. Go to Fiddler Jam - Recording Link and follow the 2-step instructions to install the extension
    1. Record the Problem
    2. Use the newly installed extension to Start recording a Fiddler Jam
    3. Demonstrate the problem with the web app
  2. Stop recording, 
  3. Fiddler Jam will then generate a URL for that debugging session, please copy that URL and paste it into your reply.

More about the Fiddler Jam extension you can find in our Capture network logs & log issues with Fiddler Jam in ASP.NET Web Forms article.

To create a fully functional Fiddler Jam recording it is important to include the initial page load in the capture. To do so, please reload the page right after capturing has been started (sample capturing process). 

Looking forward to hearing from you.

Kind regards,

Doncho

Progress Telerik"

 

It appears adding a key to the appsettings in my web.config file setting the key to Telerik.Web.UI.RenderMonde and the value to "lightweight":

Webconfig -> <appSettings (inside element) = <add key="Telerik.Web.UI.RenderMode" value="lightweight"/>.

This was an automatic fix for adjusting the radwindow control buttons to alignment; the links helped guide me tremendously. 

In the future I will definitely clarify more about the steps and what I am trying to accomplish to better receive feedback

Thank you Attila!

No answers yet. Maybe you can help?

Tags
Button Window
Asked by
Jared
Top achievements
Rank 1
Share this question
or