I'm running into a peculiar issue with the RadWindow. I can launch the window the first time, its almost centered, close it, then the next time i click to launch it kicks over 300px, then close it, then click again and its over another 300px or so. By this time its off the screen. I tried a couple things to reposition the window, but it doesn't seem to help. When i resize the web browser, i tried the GetTopLeftPosition function i found to try to tie it to an element, but it still wouldn't help.
What i finally determined is that I am using css code to center my website, a Div with an ID, and width and margin of 0px auto; to center it. If i take out the margin: 0px auto; then it shows properly everytime, centered (no repositioning needed).
What am i missing here?
- Update I fixed my own error... It turned out my Form Tags in my master page were a couple divs below the margin 0px auto div. This caused RadWindow to make the incorrect assumptions. My fault. Once I moved my Form tag higher to Include all the proper divs, it centers as it should.
What i finally determined is that I am using css code to center my website, a Div with an ID, and width and margin of 0px auto; to center it. If i take out the margin: 0px auto; then it shows properly everytime, centered (no repositioning needed).
What am i missing here?
- Update I fixed my own error... It turned out my Form Tags in my master page were a couple divs below the margin 0px auto div. This caused RadWindow to make the incorrect assumptions. My fault. Once I moved my Form tag higher to Include all the proper divs, it centers as it should.