<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'WebPartManager'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=WebPartManager&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'WebPartManager'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Gridview inside Webpart in asp.net</title><link>http://forums.asp.net/thread/3593077.aspx</link><pubDate>Fri, 01 Jan 2010 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3593077</guid><dc:creator>smithspd</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt; &lt;br /&gt; I am trying to read the data from XMLDataSource into a gridview (in asp.net). It works when I perform below logic:&lt;br /&gt; Dim ds As New DataSet()&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ds.ReadXml(Server.MapPath(&amp;quot;LoadData.xml&amp;quot;))&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GridView1.DataSource = ds.Tables(0)&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GridView1.DataBind()&lt;br /&gt; and I hardcoded the resultant hyperlinks inside the GridView with some name using the following exp: (and it works)&lt;br /&gt; &amp;lt;asp:TemplateField HeaderText=&amp;quot;Address&amp;quot;&amp;gt; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ItemTemplate&amp;gt; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a href=&amp;#39;&amp;lt;%#XPath(&amp;quot;EMAIL&amp;quot;)%&amp;gt;&amp;#39;&amp;gt;&amp;lt;%#XPath(&amp;quot;NAME&amp;quot;)%&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ItemTemplate&amp;gt; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/asp:TemplateField&amp;gt;&lt;br /&gt; &lt;br /&gt;
But when i embed the griview inside a webpart , configure the
datasource, I am not able to read the data from the XMLDataSource. I
get the following error:&lt;br /&gt; The DataSourceID of &amp;quot;GridView1&amp;quot; must be
the ID of a control of type IDataSource.&amp;nbsp; A control with ID
&amp;quot;XMLDataSource1&amp;quot; could not be found.&lt;br /&gt; It would be great if you can help me with a solution to this&lt;br /&gt; &lt;br /&gt; Thanks&lt;/p&gt;</description></item><item><title>Re: Big problem in my page</title><link>http://forums.asp.net/thread/3549902.aspx</link><pubDate>Sat, 05 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3549902</guid><dc:creator>toll4max</dc:creator><description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;Thanks very very much, I&amp;#39;m very happy&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tahnks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>WebPartZone styles: rendered inline or rendered in the header - how do I choose?</title><link>http://forums.asp.net/thread/3544085.aspx</link><pubDate>Wed, 02 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3544085</guid><dc:creator>bepnewt</dc:creator><description>&lt;p&gt;&lt;b&gt;Background:&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m working on a site that has 1 page in it with a user control that contains a WebPartManager and 2 WebPartZones.&amp;nbsp; The WebPartZones have a lot of style information defined such as MenuLableHoverStyle, MenuVeryHoverStyle, TitlebarVerbStyle, etc.&lt;/p&gt;&lt;p&gt;The way it is now, when the HTML is rendered, the styles are inline in each of the HTML elements that are created for the WebParts.&amp;nbsp; Everything works fine.&lt;/p&gt;&lt;p&gt;I&amp;#39;m converting the site to use a MasterPage.&amp;nbsp; When I put the page into a MasterPage, the styles are now rendered at the top of the page inside STYLE tags and each of the elements is given a classname that matches up with style definitions in the STYLE tags.&amp;nbsp; This shouldn&amp;#39;t be a problem, and it looks fine in Firefox and Chrome, but not in IE(8).&amp;nbsp; IE8 is ignoring the style definitions that are now in CSS at the top of the page.&lt;/p&gt;&lt;p&gt;I&amp;#39;m not asserting that the MasterPage is what is causing this.&amp;nbsp; That just happened to be what I was doing when the rendering change happened.&amp;nbsp; I also fixed some bad HTML at the same time involving mismatched tags, etc.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;From my research, this is what I&amp;#39;ve decided is the issue:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;The classnames that are created for the styles all start with &amp;quot;_&amp;quot; ( underscore character ).&amp;nbsp; Based on multiple things I read, this is not a legal character to start a class or ID name with and IE is respecting this &amp;quot;rule&amp;quot; by not applying the styles defined in the STYLE tags to the elements.&lt;/p&gt;&lt;p&gt;I use the Developer Tools built into IE8 and remove the &amp;quot;_&amp;quot; from one of the class names and from the style definition and *poof*, it renders with the correct style.&amp;nbsp; I can also get it to use the styles if I change the Browser Mode to IE7 and change the Document Mode to Internet Explorer 7 Standards.&lt;/p&gt;&lt;p&gt;&lt;b&gt;What I would like to do:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;I would like to either:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Force the styles to render inline like they used to before the change to a MasterPage&lt;/li&gt;&lt;li&gt;Force the classnames NOT to start with an &amp;quot;_&amp;quot; character&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Is there any way to do this?&amp;nbsp; Or, if my research is flawed, do you have any insight on how to get IE8 to render the defined styles in the WebPartZone?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;More information about the site:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;This is just random information that may or may not help.&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The site is being developed in VS 2008.&lt;/li&gt;&lt;li&gt;The solution has been upgraded from a VS 2005 site at some point. &lt;br /&gt;&lt;/li&gt;&lt;li&gt;The web site IS as &amp;quot;Web Site&amp;quot; not a &amp;quot;Web Application&amp;quot;.&lt;/li&gt;&lt;li&gt;The WebPartManager and WebPartZone controls are from the System.Web (2.0.0.0) assembly which is in the GAC.&lt;/li&gt;&lt;li&gt;The WebPartManager is ALWAYS in WebpartManager.BrowseDisplayMode.&lt;/li&gt;&lt;li&gt;Personalization is NOT enabled on the WebPartManager.&lt;/li&gt;&lt;li&gt;I tried using the CSSClass property of the various WebPartZone properties.&amp;nbsp; I created my own classes and put them in a Style Sheet, but that didn&amp;#39;t work.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any help is appreciated.&amp;nbsp; I had to revert this page back to not use our MasterPage for now, but would really prefer it to be converted.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;-BEP&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Webpart,minimizeVerb and RestoreVerb</title><link>http://forums.asp.net/thread/3487270.aspx</link><pubDate>Sat, 31 Oct 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3487270</guid><dc:creator>4show</dc:creator><description>&lt;p&gt;&amp;nbsp;Can someone help me out. I really dont know what am doing wrong. I have a webpart that i have created. I added the webpartmanager and the webpartzone. I have utilised the minimizeVerb and restoreverb with the imageurl. when i go to view designer, i could see both the collapse and expand button but when i run it, I cant see them. what am i doing wrong. Please help.&lt;/p&gt;</description></item><item><title>How to open microsoft office documents in readonly mode in asp.net webform</title><link>http://forums.asp.net/thread/3369788.aspx</link><pubDate>Wed, 26 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3369788</guid><dc:creator>iharcharan</dc:creator><description>&lt;p&gt;Is there a way to open microsoft office documents like .doc, excel, ppt in readonly mode in asp.net webform.&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Memory consumption is high while using WebParts</title><link>http://forums.asp.net/thread/3203636.aspx</link><pubDate>Tue, 02 Jun 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3203636</guid><dc:creator>kadam_suresh</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I am using web parts in a page which&amp;nbsp;can be customized by user deleting/adding web parts. Here the problem is when&amp;nbsp;a web part is added&amp;nbsp;memory is increasing, but when a web part is deleted memory is not decreasing.&amp;nbsp;I think&amp;nbsp;WebPartManager.DeleteWebPart is deleting only from the view not releasing the memory allocated to web&amp;nbsp;part instance. Due to this site is&amp;nbsp;becoming slow over a period of time.&lt;/p&gt;
&lt;p&gt;If any&amp;nbsp;one already faced the same scenario, please suggest me in optimizing the memory usage.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>WebPartZone and WebPartManager In Mozilla</title><link>http://forums.asp.net/thread/3109966.aspx</link><pubDate>Wed, 22 Apr 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3109966</guid><dc:creator>bbalavikram</dc:creator><description>&lt;p&gt;All,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am using WebPartZone and WebPartManager in my application. It worked all fine in IE7 but not in Mozilla. Searching internet lets me know that this is the issue of .Net framework. I also get&amp;nbsp;a work around for this with the .Net Preview version &lt;a class="" title="Alternate way using Preview version" href="http://waitink.blogspot.com/2008/06/ajax-web-parts-part-1-drag-and-drop.html" target="_blank"&gt;here&lt;/a&gt;&amp;nbsp;which works fine.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Is there an official version of the .Net Preview framework which I can use in my application. The Application is for a critical client, hence I do not want to take wrong chances? &amp;nbsp;&lt;strong&gt;OR&lt;/strong&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Is there a better suggested work around ?&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Urgent help needed. &lt;strong&gt;Please. &lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Re: Is it possible to put webpartzone in the master page and how ?</title><link>http://forums.asp.net/thread/3027656.aspx</link><pubDate>Sun, 22 Mar 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3027656</guid><dc:creator>ajaypathak</dc:creator><description>&lt;p&gt;&amp;nbsp;ya you can add webpartzone in master page but before adding the webpartzone make sure that you have added the webpartmanager&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: WebPart CSS Friendly</title><link>http://forums.asp.net/thread/3008848.aspx</link><pubDate>Sun, 15 Mar 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3008848</guid><dc:creator>CodeResearchCenter.com</dc:creator><description>&lt;p&gt;take a look on my web site &lt;a href="http://www.coderesearchcenter.com/post/2009/03/14/TFRPortal-CSS-friendly-web-parts.aspx"&gt;http://www.coderesearchcenter.com/post/2009/03/14/TFRPortal-CSS-friendly-web-parts.aspx&lt;/a&gt; for an example of css friendly web parts with drag and drop.&lt;/p&gt;</description></item><item><title>Dynamically add remove WebPartZone</title><link>http://forums.asp.net/thread/2924998.aspx</link><pubDate>Sun, 08 Feb 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2924998</guid><dc:creator>alirizvi</dc:creator><description>Hi,
I have two web user controls 1 user control have tabs which have references of other user control like in sales tab sales user control will be loaded and marketing tab marketing user control will be loaded .
Problem is I have manager on my Page and zone is on my sales control,marketing control. As I request to my page it gives me error 
&amp;quot;A Zone can only be added to the Page in or before the Page_Init event.&amp;quot; 
If I put zone on 1 user control and remove it form all others control it ok. But this is not my requirment.
my requirment is
  Page -----&amp;gt; Tab webUser Usercontrol------&amp;gt;Usercontrols

I am waiting for your prompt replies.!!</description></item></channel></rss>