Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1775
ultragridrowedittemplate
posted

Hi

If i change my resolution to 1024 X 768, i have an issue with a rowedittemplate...

What happens is that my grid is on a tab on my child form that is auto scrollable... Now my ultrarowedittemplate is modal... so when when it appears on the grid.. it still thinks that there is more space below it on the tab control as the form is not scrolled all the way to the bottom... So what happens is half my rowedittemplate is behind my taskbar and cant use the ok and cancel buttons.

the seems to work fine for higher resolutions...

How can i tell the rowedittemplate where to postition itself? or can i best handle this situation???

PS. can someone please tell me how i can see all my post for the different issues i have posted?? i used to be able to find this by clicking on my account name..??

Parents
No Data
Reply
  • 71886
    Verified Answer
    Offline posted

    Hello Burmo,

    One possible approach in order to achieve this might be by hooking to the 'AfterRowEditTemplateDisplayed' event of the 'UltraWinGrid' control and use the following code sample:

     

            private void ultraGrid1_AfterRowEditTemplateDisplayed(object sender, Infragistics.Win.UltraWinGrid.AfterRowEditTemplateDisplayedEventArgs e)
            {
                ultraGridRowEditTemplate1.Parent.Location = this.PointToScreen(new Point(X,Y));
            }
    

     

    Please feel free to let me know if a question about our toolset comes up on your mind.

Children
No Data