Gerard:
I got this from somewhere on the Web. Surround your DataSource with an ASP.Net Panel.
<asp:Panel ID="pnlDataSources" runat="server"
Style="z-index:109; left:5%; top:234%; position:absolute"
Visible="false">
<asp:ObjectDataSource ID="odsStirtable" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetStirtable" TypeName="STIR.Data.DataService" EnableCaching="True" CacheDuration="604800" >
</asp:ObjectDataSource>
</asp:Panel>
>Hi Gary.
>Yes. this is the main reason...but if you start hiding them, and come back to the form in 6 months, you are wondering if they are there, and this can be compounded if you have multiple datasources on the form.
>It would be nice to be able to move them, or at least resize them and make them smaller.
>
>regards,
>Gerard
>
>
>>The only reason I can see why you might want to resize or move them is because visually, they are quite obtrusive. You can actually hide their visibility by going to View::Non Visual Controls to hide them from the page design surface.
>>
>>HTH.
>>
>>
>>>Hi.
>>>I have a few SqlDataSource objects on a Web form but have difficulty in either resizing them , or moving them around the screen.
>>>I can seem to get the Handles on them.
>>>Anybody know why this might be ? All other objects I can move around freely.
>>>Regards,
>>>Gerard
- Andy Rice
San Diego, CA