<?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 'WebParts'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=WebParts&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'WebParts'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>WebParts without Postback and UpdatePanel.</title><link>http://forums.asp.net/thread/3571283.aspx</link><pubDate>Thu, 17 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3571283</guid><dc:creator>plsc_rover</dc:creator><description>&lt;p&gt;&lt;span id="result_box"&gt;&lt;span&gt;Does anyone know how to realize &lt;/span&gt;&lt;/span&gt;&lt;span id="result_box"&gt;&lt;span&gt;moving of &lt;/span&gt;&lt;/span&gt;&lt;span id="result_box"&gt;&lt;span&gt;WebParts without postback?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span id="result_box"&gt;&lt;span&gt;Do not suggest to use UpdatePanel. May be exists some third party libraries?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Moving, closing, minimizing of webparts without postback.</title><link>http://forums.asp.net/thread/3564013.aspx</link><pubDate>Mon, 14 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3564013</guid><dc:creator>plsc_rover</dc:creator><description>&lt;p&gt;I use &lt;a href="http://partialupdatepanel.codeplex.com/"&gt;partialupdatepanel&lt;/a&gt; for async refresh of webparts content. Now i have problem, that after moving of webparts all panels are refreshed. How to avoid it? Can i send data about webparts states to server without any refresh of client side?&lt;/p&gt;&lt;p&gt;P.S. now all webparts zone are in UpdatePanel so user see only refresh of contents inside of webparts.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebParts and ASP.NET Ajax Library</title><link>http://forums.asp.net/thread/3547973.aspx</link><pubDate>Fri, 04 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3547973</guid><dc:creator>plsc_rover</dc:creator><description>&lt;p&gt;Is ASP.NET Ajax Library heritor of ASP.NET AJAX 1.0?&lt;/p&gt;&lt;p&gt;In &lt;a href="http://forums.asp.net/p/1066700/1545256.aspx#1545256"&gt;post&lt;/a&gt; said: &amp;quot;2. Modify WebParts page (drag and drop, minimize, restore, close, add, delete) without postback&amp;quot;.&lt;/p&gt;&lt;p&gt;Is it possible in ASP.NET Ajax Library or i need to install the ASP.NET AJAX 1.0 for use this feature?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Div tags, unaligned controls.</title><link>http://forums.asp.net/thread/3504265.aspx</link><pubDate>Tue, 10 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3504265</guid><dc:creator>pmatthews05</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m trying to use DIV tags instead of Table elements, but finding the controls are not aligning up correctly and hoping someone might be able to help.&lt;/p&gt;
&lt;p&gt;I am working on a SharePoint Web part project so all my designing has to be written in&amp;nbsp;code on the &amp;nbsp;Render override.&lt;/p&gt;
&lt;p&gt;Here is my code&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;protected override void Render(HtmlTextWriter writer)
        {
                //Search Label.
                writer.Write(&amp;quot;&amp;lt;div id=&amp;#39;PLKFullWidth&amp;#39;&amp;gt;&amp;quot;);
                writer.Write(&amp;quot;&amp;lt;div class=&amp;#39;PLKSearchLabel&amp;#39;&amp;gt;&amp;quot;);
                writer.Write(&amp;quot;&amp;lt;nobr&amp;gt;&amp;quot;);
                lblSearchLabel.RenderControl(writer);
                writer.Write(&amp;quot;&amp;lt;/nobr&amp;gt;&amp;quot;);
                writer.Write(&amp;quot;&amp;lt;/div&amp;gt;&amp;quot;);
                
                //Drop down Control
                if (ShowDropDown)
                {
                    writer.Write(&amp;quot;&amp;lt;div class=&amp;#39;PLKControl&amp;#39;&amp;gt;&amp;quot;);
                    ddlKeywords.RenderControl(writer);
                    writer.Write(&amp;quot;&amp;lt;/div&amp;gt;&amp;quot;);
                }

                //TextBox Control.
                writer.Write(&amp;quot;&amp;lt;div class=&amp;#39;PLKControl&amp;#39;&amp;gt;&amp;quot;);
                txtKeyWordSearch.RenderControl(writer);
                CustomErrorValidator.RenderControl(writer);
                writer.Write(&amp;quot;&amp;lt;/div&amp;gt;&amp;quot;);

                //Search Button.
                writer.Write(&amp;quot;&amp;lt;div class=&amp;#39;PLKSearchButton&amp;#39;&amp;gt;&amp;quot;);
                btnSearch.RenderControl(writer);
                writer.Write(&amp;quot;&amp;lt;/div&amp;gt;&amp;quot;);
                writer.Write(&amp;quot;&amp;lt;/div&amp;gt;&amp;quot;);
      }&lt;/pre&gt;&lt;pre class="c-sharp" name="code"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="c-sharp" name="code"&gt;My CSS classes are as follows:&lt;/pre&gt;&lt;pre class="css" name="code"&gt;.PLKSearchLabel
{
    vertical-align:text-bottom; 
    width:145px;
    float:left;
    padding:2px;
}

.PLKControl
{
    padding:2px;
    float:left;
}

.PLKSearchButton
{
    padding:5px 2px 0px 2px;
    float:left;
}

#PLKFullWidth
{
    width:100%;
}
&lt;/pre&gt;
&lt;p&gt;At the moment it looks like below where all the controls are unevenly aligned. Can anyone help me fix?&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img23.imageshack.us/img23/6221/unevencontrols.jpg" width="522" height="29" alt="" /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Adding Webpartzone to the active view </title><link>http://forums.asp.net/thread/3453727.aspx</link><pubDate>Mon, 12 Oct 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3453727</guid><dc:creator>nomercy007</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;I am trying to create a multipage style using menu and multiview controls. I want to add the webpartzone to the active view at runtime. I was forced by the compiler to add the webpartzone control to the view in OnInit() event. The problem is that the desired view is activated only after the OnInit() event is fired, according to the ASP.NET page life cylce. Even the multiview ActiveViewIndex is always 0 during the OnInit() event.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any ideas are welcomed.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How can I add custom Verbs to WebParts?</title><link>http://forums.asp.net/thread/3434296.aspx</link><pubDate>Wed, 30 Sep 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3434296</guid><dc:creator>Metamorphosis_edrex</dc:creator><description>&lt;p&gt;The links and tutorials were very helpful. Thanks to all here. But does anyone know how to add custom verbs to a webpart from another code like a feature receiver. I want to activate a feature and grab all the webparts in a particular url and and custom verbs in it. It seems like there is no option/method provided to add custom verbs in the WebPartVerbCollection of the current grabbed webpart. Thanks.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Webparts - Need help</title><link>http://forums.asp.net/thread/3325583.aspx</link><pubDate>Sun, 02 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3325583</guid><dc:creator>cpms</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I would like to develop a website for my college. I want look and feel same as ASP.NET site. www.asp.net&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;For this I need to know about webparts.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;May I have any open source or tutorials to develop the same.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&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>Script controls may not be registered before PreRender</title><link>http://forums.asp.net/thread/3175169.aspx</link><pubDate>Wed, 20 May 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3175169</guid><dc:creator>vikash.rai</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Tried to implement this code but get &amp;quot;Script controls may not be registered before PreRender&amp;quot; error.&lt;/p&gt;
&lt;p&gt;can anyone help me to get this code working.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in advance.&lt;/p&gt;
&lt;p&gt;With Regards&lt;/p&gt;
&lt;p&gt;Vikash Rai&lt;/p&gt;
&lt;p&gt;_____________________________________________________________________________________________________________________&lt;/p&gt;
&lt;p&gt;public class SPSilverlightWepart : System.Web.UI.WebControls.WebParts.WebPart&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public SPSilverlightWepart()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected override void OnLoad(EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; base.OnLoad(e);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ScriptManager sm = ScriptManager.GetCurrent(this.Page);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (sm == null)&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; {&lt;/p&gt;
&lt;p&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;nbsp;&amp;nbsp;&amp;nbsp; sm = new ScriptManager();&lt;/p&gt;
&lt;p&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;nbsp;&amp;nbsp;&amp;nbsp; Controls.AddAt(0, sm);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected override void CreateChildControls()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; base.CreateChildControls();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Web.UI.SilverlightControls.Silverlight ctrl = new System.Web.UI.SilverlightControls.Silverlight();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ctrl.ID = &amp;quot;InsertSPListItem&amp;quot;;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ctrl.Source = &amp;quot;&lt;a href="http://eil-sw-vdsk-001/XAPLib/SPListClient.xap"&gt;http://eil-sw-vdsk-001/XAPLib/SPListClient.xap&lt;/a&gt;&amp;quot;;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ctrl.Width = new Unit(650);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ctrl.Height = new Unit(400);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Controls.Add(ctrl);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;_________________________________________________________________________________________________________________________&lt;/p&gt;</description></item><item><title>Manipulating webparts properties from code</title><link>http://forums.asp.net/thread/3174315.aspx</link><pubDate>Wed, 20 May 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3174315</guid><dc:creator>Wallraven</dc:creator><description>&lt;p&gt;I&amp;#39;m having a few problems with my webparts page.&lt;/p&gt;&lt;p&gt;What I would like to do is generate a webparts (declarative?) catalog by reading values from a database, so you don&amp;#39;t need to edit the .aspx to modify the catalog list.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Also, I&amp;#39;m having a lot of trouble with setting the parameters of a ReportViewer control while trying to use it as a webpart.&amp;nbsp; Again, I&amp;#39;d like to be able to read some of the details from a database (eg, the report server url, which is already stored in a configuration table). Ideally, I&amp;#39;d like to have it so the user can set which report it shows when they add it to their page, either from a list, or by specifying the relative path. &lt;/p&gt;&lt;p&gt;(Is there a ready-to-use ReportViewer webpart available anywhere? I&amp;#39;ve found plenty of &lt;i&gt;SharePoint&lt;/i&gt; versions, but no &amp;quot;vanilla&amp;quot; ASP.NET, &lt;i&gt;non-SharePoint&lt;/i&gt; ones.)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any help would be appreciated, even if it&amp;#39;s a flat &amp;quot;that&amp;#39;s not possible&amp;quot;...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>