Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Third party datagrid, adding mm.net functionality?
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00851426
Message ID:
00851504
Views:
7
>I attempted that:
>
>I pressed the HTML tab on the design surface and simply placed the tags before and after the datagrid definition.
>
>
><div style="height: 256px; overflow: auto">
>  <asp:.....
></div>
>
>However, at run time, the grid was no longer where I placed it on the form. I lost the ability to drag and drop the control. Was I correct in going to the HTML tab or is there a better way to to this?

This is what worked for me. Notice that I use the style attribute to get absolute position. (This was pre MM code)
<div style="Z-INDEX: 113; LEFT: 20px; OVERFLOW: auto; 
            WIDTH: 100%; POSITION: absolute; TOP: 205px; HEIGHT: 236px"
            id="DivDataGrid">
   <asp:datagrid id="grdTranslations" runat="server" 
       Font-Size="Smaller" Height="40%" 
       Width="100%"Font-Names="Arial Unicode MS" BorderStyle="Outset"
       ShowHeader="False" PageSize="100">
   </asp:datagrid>
</div>
My layout was set to Grid.
Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform