I created a user control that retrieves data from a database and added it to my webpart. All works well exept that I do not see the minimize and close links. Not sure what would cause this to happen. Please help!!!
<%@ Page Language="VB" %><%@ register src="App_Data/databind.ascx" tagname="displaymodevb" tagprefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title></head>
<body>
<form id="form2" runat="server">
<div>
<asp:WebPartManager ID="WebPartManager2" runat="server" />
<asp:WebPartZone ID="WebPartZone2" runat="server">
<uc2:displaymodevb id="grid9" runat="server" title="First Web Part" width="500" />
</ZoneTemplate>
</asp:WebPartZone>
</div>
</form></body>
</html>
Source Click Here.
No comments:
Post a Comment
Post your comments here: