Hi There,

I have a datagrid that holds quite a few columns and in edit mode it 
spreads out to at least double the page, is there anyway to limit the 
size as I have tried to modify the width property of the datagrid 
itself?

Sean - thanks in advance for your answer


<form runat="server">
        <asp:DataGrid runat="server" id="dgModifyListing" 
                        AutoGenerateColumns="False" CellPadding="2" 
width=85%
            HeaderStyle-BackColor="purple"
            HeaderStyle-ForeColor="White"
            HeaderStyle-HorizontalAlign="Center"
            HeaderStyle-Font-Bold="True"
            
                        AllowPaging="True"
                        OnPageIndexChanged="NewPage"
                        OnCancelCommand="dgModifyListing_Cancel"
                        OnEditCommand="dgModifyListing_Edit"
                        OnUpdateCommand="dgModifyListing_Update">
                        
         
          <AlternatingItemStyle BackColor="White" />
          <PagerStyle NextPageText="Next --&gt;" PrevPageText="&lt;-- 
Prev."
                     HorizontalAlign="Right" />
                     
                     <columns>
        <asp:EditCommandColumn EditText="Edit Info" 
ButtonType="PushButton" UpdateText="Update" CancelText="Cancel" />
        <asp:BoundColumn HeaderText="Listing" DataField="listingID" 
readonly=true visible=false />  
                <asp:BoundColumn HeaderText="Equipment Type" 
DataField="formname" />
                <asp:BoundColumn HeaderText="Manufacturer" 
DataField="manufacturer" />
                <asp:BoundColumn HeaderText="Model" 
DataField="model" />
                <asp:BoundColumn HeaderText="Description" 
DataField="descri" />
                <asp:BoundColumn HeaderText="Quantity" 
DataField="quantity" />
                <asp:BoundColumn HeaderText="Price" 
DataField="listprice" />
                <asp:BoundColumn HeaderText="Comments" 
DataField="comments" />
                <asp:BoundColumn HeaderText="Location" 
DataField="location" />
                
                                </columns>        
        </asp:datagrid>
</form>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to