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

GridEditMode.PopUp - Change Properties of Window

2 Answers 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jfkrueger
Top achievements
Rank 1
jfkrueger asked on 16 Dec 2008, 12:24 AM
I am using GridEditMode.PopUp to do my editing of grid items however I need to change the width of the popup window so that I can have a RadEditor in the window without it looking all "squished" together. How can I update the properties of the window that pops up? I have tried putting a RadWindowManager on the page and setting the Width property, but that has no effect (same with all the other properties set in the RadWindowManager).

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 16 Dec 2008, 04:54 AM
Hello Joe,

You can set the width of the PopUp EditForm in the PopUpSettings of the Grid as shown below:
aspx:
<telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" AutoGenerateColumns="false" runat="server" > 
 <MasterTableView EditMode="PopUp" DataSourceID="SqlDataSource1" >         
   <Columns> 
   </Columns>    
 <EditFormSettings EditFormType="WebUserControl" UserControlName="WebUserControl.ascx">            
   <EditColumn UniqueName="EditCommandColumn1"
    </EditColumn> 
   <PopUpSettings Height="200px" ScrollBars="Auto" Width="500px" /> 
 </EditFormSettings> 
 </MasterTableView> 
</telerik:RadGrid>  

Thanks
Princy.
0
jfkrueger
Top achievements
Rank 1
answered on 16 Dec 2008, 04:16 PM
Thanks, I think that is exactly what I was looking for. I'll give it a try!
Tags
Grid
Asked by
jfkrueger
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
jfkrueger
Top achievements
Rank 1
Share this question
or