<?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>Web Parts and Personalization</title><link>http://forums.asp.net/145.aspx</link><description>Discussions of the new ASP.NET 2.0 portal framework.  &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=167&amp;c=30" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Share Personalize Web Parts between admin and anonymous?</title><link>http://forums.asp.net/thread/3526998.aspx</link><pubDate>Mon, 23 Nov 2009 05:01:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526998</guid><dc:creator>sanme98</dc:creator><author>sanme98</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3526998.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3526998</wfw:commentRss><description>&lt;p&gt;Hi&amp;nbsp;All,&lt;/p&gt;
&lt;p&gt;I wanna&amp;nbsp;ask is it possible to share&amp;nbsp;personalize&amp;nbsp;web parts &amp;nbsp;between admin and anonymous?&lt;/p&gt;
&lt;p&gt;What I want is just user admin define a personalize web parts &amp;amp; let anonymous user see the result of what admin have been define.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much &lt;/p&gt;</description></item><item><title>webparts</title><link>http://forums.asp.net/thread/3521629.aspx</link><pubDate>Thu, 19 Nov 2009 10:45:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3521629</guid><dc:creator>Dominilook</dc:creator><author>Dominilook</author><slash:comments>7</slash:comments><comments>http://forums.asp.net/thread/3521629.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3521629</wfw:commentRss><description>&lt;p&gt;There is a query about webparts &lt;br /&gt;&lt;br /&gt;Can we use webparts without using sql database ,&lt;br /&gt;can the positions of widgets be maintained on clients machine without connecting to database&lt;br /&gt;&lt;br /&gt;anyone can give any tips/suggestion&amp;nbsp;&lt;/p&gt;</description></item><item><title>Newbie: Web part questions</title><link>http://forums.asp.net/thread/3522917.aspx</link><pubDate>Fri, 20 Nov 2009 00:15:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3522917</guid><dc:creator>nmishra</dc:creator><author>nmishra</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3522917.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3522917</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&amp;#39;ve a user control as a web part. The user control contains a GridView control. I want to provide an editor UI that allows to select which columns to show. I don&amp;#39;t want to add show/hide property for each column but a custom UI that shows in a checked list box which columns need to be shown. Or, even better, two list boxes with add/remove columns option. In either&amp;nbsp;case, I could just show/hide GridView columns. How could I do that in a custom editor part ? Could I use a user control in an editor part instead of manually creating the controls ?&lt;/p&gt;
&lt;p&gt;Also, I could add a custom web part verb to maximize a web part in a zone. How could I restore it back ?&lt;/p&gt;
&lt;p&gt;Thanks in advance and regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>WebParts in Database</title><link>http://forums.asp.net/thread/3523210.aspx</link><pubDate>Fri, 20 Nov 2009 05:30:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3523210</guid><dc:creator>Heveen</dc:creator><author>Heveen</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3523210.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3523210</wfw:commentRss><description>&lt;p&gt;Hello friends&lt;/p&gt;&lt;p&gt;Am developing a BackOffice website specialised for webmasters.&amp;nbsp; So these webmasters are abministrators that will control the content of all pages of the main web site.&amp;nbsp; So, once in the Back Office, the webmaster shuold b able to view the requested page in design mode automatically. And also there will be a list of custom webparts available.&amp;nbsp; These webparts are from the database.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So my question is, how can i store a webpart in database in such a way that a webmaster can choose and add a webpart to a page.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hope i will find a solution&lt;/p&gt;&lt;p&gt;Thanks a lot.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error Importing Web Part</title><link>http://forums.asp.net/thread/3515703.aspx</link><pubDate>Mon, 16 Nov 2009 16:01:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3515703</guid><dc:creator>david.entner</dc:creator><author>david.entner</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/3515703.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3515703</wfw:commentRss><description>&lt;p&gt;Hey all, I am getting an error
importing a web part. I have done Edit &amp;gt; View XML in the web part gallery
and everything looks fine. I have checked and double checked the assembly
reference and everything matches up the way it should. I have also added the correct
namespace to the safecontrols in the web.config. I have commented out all my
code and simply have in the CreateChildControls override this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;protected override void CreateChildControls()&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; base.CreateChildControls();&lt;/p&gt;
&lt;p&gt;&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; Label lblTest = new Label();&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; lblTest.Text = &amp;quot;Testing the
Custom web part&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; this.Controls.Add(lblTest);&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;&lt;br /&gt;
I can&amp;#39;t preview it from the web part gallery, or add it to a page. The log in
the 12 hive wasn&amp;#39;t descriptive enough to warrant me looking elsewhere for the
issue. Any ideas? All help is greatly appreciated. &lt;/p&gt;</description></item><item><title>webpart error with Ajax Timer Controls</title><link>http://forums.asp.net/thread/3523485.aspx</link><pubDate>Fri, 20 Nov 2009 08:26:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3523485</guid><dc:creator>ghostme</dc:creator><author>ghostme</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3523485.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3523485</wfw:commentRss><description>&lt;p&gt;Hello guys,&lt;/p&gt;&lt;p&gt;I seem to be having some error when I add the ajax Timer control to auto refresh an update panel in a SharePoint Webpart. I am building this webpart for Sharepoint. When I deploy this Webpart, I recieve this error :Script controls may not be registered before PreRender&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please find my code below:&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="c-sharp"&gt;using System;
using System.Runtime.InteropServices;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Serialization;
using System.Data;
using System.Data.SqlClient;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;

namespace EnhancedBirthdayWebpart
{
    [Guid(&amp;quot;ea66815c-4c8c-4b4a-a2f7-e0a4051767ad&amp;quot;)]
    public class EnhancedBirthdayWebpart : WebPart
    {
        public EnhancedBirthdayWebpart()
        {
        }
        GridView grid = new GridView();
        Label messages = new Label();
        UpdatePanel refreshPage = new UpdatePanel();
        ScriptManager scriptMgr = new ScriptManager();
        //declare an empty dataset
        DataSet dataSet = null;
        Timer timeInterval = new Timer();


        protected override void CreateChildControls()
        {


            // TODO: add custom rendering code here.
            // Label label = new Label();
            // label.Text = &amp;quot;Hello World&amp;quot;;
            // this.Controls.Add(label);


            //Fix for the UpdatePanel postback behavior.
            EnsurePanelFix();
            scriptMgr.ID = &amp;quot;scriptMgr&amp;quot;;
            refreshPage.ID = &amp;quot;refreshPage&amp;quot;;
            
            
            
            grid = new GridView();
            grid.ID = &amp;quot;birthdays&amp;quot;;
            grid.AlternatingRowStyle.BackColor = System.Drawing.Color.WhiteSmoke;
            grid.GridLines = GridLines.Horizontal;
            grid.Width = Unit.Percentage(100);
            grid.ForeColor = System.Drawing.Color.Black;
            grid.CellPadding = 1;
            // grid.HorizontalAlign = HorizontalAlign.Center;
            grid.RowStyle.HorizontalAlign = HorizontalAlign.Center;

            refreshPage.UpdateMode = UpdatePanelUpdateMode.Conditional;
            refreshPage.ChildrenAsTriggers = true;
            //Add the user interface controls to the updatepanel
            refreshPage.ContentTemplateContainer.Controls.Add(grid);

            grid.PageIndexChanging += new GridViewPageEventHandler(this.grid_PageIndexChanging);
            grid.AllowPaging = true;
            grid.PageSize = 3;
            messages = new Label();
            messages.ID = &amp;quot;messagesman&amp;quot;;

            //Add the user interface controls to the updatepanel

            refreshPage.ContentTemplateContainer.Controls.Add(messages);

            //the script manager must be added first
            Controls.Add(scriptMgr);
            scriptMgr.RegisterAsyncPostBackControl(timeInterval);
            Controls.Add(refreshPage);

            //add the timer property
            timeInterval.ID = &amp;quot;Timer1&amp;quot;;
            timeInterval.Interval = 30000;
            Controls.Add(timeInterval);
            timeInterval.Tick += new EventHandler&amp;lt;EventArgs&amp;gt;(timeInterval_Tick);
            


            //Specify the connection to the oracle database

            string sqldb = &amp;quot;Data Source=moss;Initial Catalog=Staffbday;User ID=sa;Password=Password12&amp;quot;;
            SqlConnection con = new SqlConnection(sqldb);

            //Get data with sql query

            //string sql = &amp;quot;SELECT staffname,birthday from bday where birthday=CONVERT(varchar(16), DATEPART(day, getdate())) + &amp;#39;-&amp;#39; + CONVERT(varchar(4), DATEPART(month, getdate()))&amp;quot;;
            string sql = &amp;quot;select staffname,convert(varchar(9),datepart(dd,DOB),106) + &amp;#39;-&amp;#39; + convert(varchar(3),datename(mm,DOB),106) as date from birthdays where convert(varchar(9),datepart(dd,getdate())) + &amp;#39;-&amp;#39; + convert(varchar(9),datepart(mm,getdate()))=convert(varchar(9),datepart(dd,DOB),106) + &amp;#39;-&amp;#39; + convert(varchar(9),datepart(mm,DOB))&amp;quot;;

            try
            {
                con.Open();
                //SqlCommand cmd = new SqlCommand(sql, con);
                SqlDataAdapter adapter = new SqlDataAdapter(sql, con);
                //dataSet = new DataSet(&amp;quot;root&amp;quot;);
                //adapter.Fill(dataSet, &amp;quot;Employee&amp;quot;);

                dataSet = new DataSet();
                adapter.Fill(dataSet);

            }
            catch (Exception err)
            {
                //Handle errors by displaying information
                messages.Text = &amp;quot;Error reading from database&amp;quot;;
                messages.Text += err.Message;
            }

            //Now Bind the data to the grid

            try
            {

                if (dataSet.Tables[0].Rows.Count &amp;gt; 0)
                {
                    grid.DataSource = dataSet;
                    grid.DataBind();

                }
                else
                {
                    messages.Text = &amp;quot;No birthday today&amp;quot;;
                }
            }
            catch (Exception err)
            {
                messages.Text += err;
            }


        }

        protected void grid_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            grid.PageIndex = e.NewPageIndex;
            //declare an empty dataset
            //DataSet dataSet = null;

            string sqldb = &amp;quot;Data Source=moss;Initial Catalog=Staffbday;User ID=sa;Password=Password12&amp;quot;;
            SqlConnection con = new SqlConnection(sqldb);

            //Get data with sql query

            //string sql = &amp;quot;SELECT staffname,birthday from bday where birthday=CONVERT(varchar(16), DATEPART(day, getdate())) + &amp;#39;-&amp;#39; + CONVERT(varchar(4), DATEPART(month, getdate()))&amp;quot;;
            string sql = &amp;quot;select staffname,convert(varchar(9),datepart(dd,DOB),106) + &amp;#39;-&amp;#39; + convert(varchar(3),datename(mm,DOB),106) as date from birthdays where convert(varchar(9),datepart(dd,getdate())) + &amp;#39;-&amp;#39; + convert(varchar(9),datepart(mm,getdate()))=convert(varchar(9),datepart(dd,DOB),106) + &amp;#39;-&amp;#39; + convert(varchar(9),datepart(mm,DOB))&amp;quot;;
            try
            {
                con.Open();
                //SqlCommand cmd = new SqlCommand(sql, con);
                SqlDataAdapter adapter = new SqlDataAdapter(sql, con);
                dataSet = new DataSet();
                adapter.Fill(dataSet);
            }
            catch (Exception err)
            {
                //Handle errors by displaying information
                messages.Text = &amp;quot;Error reading from database&amp;quot;;
                messages.Text += err.Message;
            }


            try
            {

                //Now Bind the data to the grid
                grid.DataSource = dataSet;
                grid.DataBind();
            }
            catch (Exception err)
            {
                messages.Text += err.Message;
            }
        }

        private void timeInterval_Tick(object sender, EventArgs e)
        {
            messages.Text = &amp;quot;Refresh at:&amp;quot; + System.DateTime.Now.ToString();
        }

        private void EnsurePanelFix()
        {
            if (this.Page.Form != null)
            {
                String fixupScript = @&amp;quot;
          _spBodyOnLoadFunctionNames.push(&amp;quot;&amp;quot;_initFormActionAjax&amp;quot;&amp;quot;);
          function _initFormActionAjax()
          {
          if (_spEscapedFormAction == document.forms[0].action)
          {
            document.forms[0]._initialAction =
              document.forms[0].action;
          }
        }
        var RestoreToOriginalFormActionCore = 
          RestoreToOriginalFormAction;
        RestoreToOriginalFormAction = function()
        {
        if (_spOriginalFormAction != null)
        {
          RestoreToOriginalFormActionCore();
          document.forms[0]._initialAction = document.forms[0].action;
        }
        }&amp;quot;;
                ScriptManager.RegisterStartupScript(this,
                  typeof(EnhancedBirthdayWebpart), &amp;quot;UpdatePanelFixup&amp;quot;,
                  fixupScript, true);
               
            }
        }
    }
}
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;Thanks&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Non-postback draggable zones?</title><link>http://forums.asp.net/thread/3516939.aspx</link><pubDate>Tue, 17 Nov 2009 07:24:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3516939</guid><dc:creator>bruticus</dc:creator><author>bruticus</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3516939.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3516939</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I would like to inquire if it&amp;#39;s possible to have a non-postback/partial postback when dragging usercontrols from one zone to another.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve already tried adding UpdatePanel on my WebPartZone, but it seems it does not work.&lt;/p&gt;&lt;p&gt;Any ideas?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>webparts with login page and no windows auth</title><link>http://forums.asp.net/thread/3517697.aspx</link><pubDate>Tue, 17 Nov 2009 13:58:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3517697</guid><dc:creator>fsubob2003</dc:creator><author>fsubob2003</author><slash:comments>6</slash:comments><comments>http://forums.asp.net/thread/3517697.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3517697</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have read many, many forum posts and code sections and have not yet found and answer to my problem.&lt;/p&gt;
&lt;p&gt;I am&amp;nbsp;new to webparts and&amp;nbsp;I need examples&amp;nbsp;or explanation on how to tie&amp;nbsp;the personalization with my own home grown login page.&lt;/p&gt;
&lt;p&gt;I currently check the user&amp;nbsp;credentials from my login page against my db and then set a session with the&amp;nbsp;users id and set login = true&lt;/p&gt;
&lt;p&gt;Is there a way to&amp;nbsp;tie personalization into my login part?&amp;nbsp;How do I&amp;nbsp;tell webparts the&amp;nbsp;user Id&amp;nbsp;I am using?&lt;/p&gt;
&lt;p&gt;Example: How do I tell webparts that bobby is logged in and pull bobby&amp;#39;s personalization.&lt;/p&gt;
&lt;p&gt;How do I connect the user id I use in my db to the one stored in the personalization db?&lt;/p&gt;
&lt;p&gt;ALso I want to stay away from cookies if at all possible.&lt;/p&gt;
&lt;p&gt;Thanks in advance for any help you&amp;nbsp;can&amp;nbsp;give!&amp;nbsp;&lt;/p&gt;</description></item><item><title>save settings per user</title><link>http://forums.asp.net/thread/3520079.aspx</link><pubDate>Wed, 18 Nov 2009 16:26:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3520079</guid><dc:creator>fsubob2003</dc:creator><author>fsubob2003</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3520079.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3520079</wfw:commentRss><description>&lt;p&gt;This is what I have in the web.config&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;lt;webParts&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;personalization&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;authorization&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;deny&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;users&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;*&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;verbs&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;enterSharedScope&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;allow&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;users&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;*&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;verbs&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;modifyState&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;authorization&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;personalization&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;webParts&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;authentication&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;mode&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Forms&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Its saving changes but across all users and not individually.&lt;/p&gt;
&lt;p&gt;Ideas what I am doing wrong?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;</description></item><item><title>Web Part "The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user."</title><link>http://forums.asp.net/thread/3412748.aspx</link><pubDate>Fri, 18 Sep 2009 11:36:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3412748</guid><dc:creator>akkachot</dc:creator><author>akkachot</author><slash:comments>7</slash:comments><comments>http://forums.asp.net/thread/3412748.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3412748</wfw:commentRss><description>&lt;p&gt;I am facing issue &amp;quot;The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user.&amp;quot;&lt;/p&gt;
&lt;p&gt;I have done following :&lt;/p&gt;
&lt;p&gt;1. In web.config &amp;lt;authentication mode=&amp;quot;Windows&amp;quot; /&amp;gt;&lt;br /&gt;2. I turned off anonymous domain access.&lt;br /&gt;3. I tried to browse the page and it prompts me for user name and password. I gave it properly on and on but after 3 attempts it gave me &amp;quot;you are not authorized...&amp;quot; message.&lt;/p&gt;
&lt;p&gt;Please note that we can not set &amp;lt;authentication mode=&amp;quot;Forms&amp;quot; /&amp;gt; in web.config. &lt;/p&gt;
&lt;p&gt;Please let me know if you require more info.&lt;br /&gt;Thanks for early reply.&lt;br /&gt;Ashutosh&lt;/p&gt;</description></item><item><title>Problem loading controls to webpartzone dynamically</title><link>http://forums.asp.net/thread/3519010.aspx</link><pubDate>Wed, 18 Nov 2009 06:20:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3519010</guid><dc:creator>pavan496</dc:creator><author>pavan496</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3519010.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3519010</wfw:commentRss><description>&lt;p&gt;Hello All,&lt;/p&gt;&lt;p&gt;I am creating a page where users can compare models of phones. I am trying to use webparts. By placing the list of phones in one webpartzone and dragging them to another and comparing them.&lt;/p&gt;&lt;p&gt;I have the mobiles come from an external datasource(xml/database) so i will have to load them dynamically using code behind. So, i opted for user controls. so that i can display image and a label and treat is as a single control. And after dragging and dropping i can use the properties i write in user control and fetch the comparison details. &lt;/p&gt;&lt;p&gt;This is what i am looking for&lt;/p&gt;&lt;p&gt;http://www.nokia.co.in/find-products/products&lt;/p&gt;&lt;p&gt;Now, the problem is, when i try to add a control to the webpart zone, I get an error saying &amp;quot;WebPartZone&amp;quot; doesnot support child controls.&lt;/p&gt;&lt;p&gt;I have two queries.&lt;/p&gt;&lt;p&gt;How can a user control be added to the WebPartZone Dynamically&lt;/p&gt;&lt;p&gt;Is there a better way to do this? Other than web parts.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thank you&lt;/p&gt;&lt;p&gt;PaVaN&lt;br /&gt;&lt;/p&gt;</description></item><item><title>detailsview in webpart </title><link>http://forums.asp.net/thread/3508690.aspx</link><pubDate>Thu, 12 Nov 2009 12:29:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3508690</guid><dc:creator>sansknowledge</dc:creator><author>sansknowledge</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3508690.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3508690</wfw:commentRss><description>&lt;p&gt;hi, i am having a master page with a webpartzone inside the webpartzone
i am having a detailsview now i want to bind the data to the
detailsview from one of the content form i tried but it is not working
any ideas my code is
&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="vb.net"&gt;Dim myMaster As MasterPage = DirectCast(Me.Master, MasterPage) 
Dim webpt As WebPartZone = DirectCast(myMaster.FindControl(&amp;quot;WebPartZone1&amp;quot;), WebPartZone) 
If Not IsNothing(webpt) Then 
Dim dv As DetailsView = CType(myMaster.FindControl(&amp;quot;dvapqp&amp;quot;), DetailsView) dv.DataSource = ds.Tables(0) 
dv.DataBind() 
End If&lt;/pre&gt;p.s i have posted the same question in another site also&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Closing a web part causes script error related to ValidationSummary control</title><link>http://forums.asp.net/thread/3517329.aspx</link><pubDate>Tue, 17 Nov 2009 10:47:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3517329</guid><dc:creator>jonesri</dc:creator><author>jonesri</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3517329.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3517329</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m having trouble&amp;nbsp;finding a solution for a script&amp;nbsp;error I am getting&amp;nbsp;closing a web part.&amp;nbsp; It seems that the script&amp;nbsp;error is&amp;nbsp;related to the ValidationSummary control on the web part that is being closed.&amp;nbsp; The error only occurs when the edit modal pop-up on it has been opened.&lt;/p&gt;
&lt;p&gt;Here is the page set up:&lt;/p&gt;
&lt;p&gt;I have a page that contains a web part manager and several web part zones.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;In one of these web part zones I have a custom user control that displays read only information.&lt;/p&gt;
&lt;p&gt;On the custom user control there is an edit link, which opens&amp;nbsp;a modal pop-up that contains a couple of validation summary controls.&lt;/p&gt;
&lt;p&gt;If the user control is edited (i.e. the modal pop-up is opened and closed) and then the containing web part is closed a script error occurs.&amp;nbsp; The script error found is &amp;quot;Microsoft JScript runtime error: &amp;#39;document.getElementById(...)&amp;#39; is null or not an object&amp;quot; on the following line of code &amp;quot;headElements[0].appendChild(scriptElement);&amp;quot; in the ScriptResource.axd file.&amp;nbsp; The scriptElement object contains javascript referencing the validation summary control in the web part that is being closed.&lt;/p&gt;
&lt;p&gt;Hope this makes sense.&amp;nbsp; Any advice is welcome.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Rich&lt;/p&gt;</description></item><item><title>Web Parts Zoning???</title><link>http://forums.asp.net/thread/3510548.aspx</link><pubDate>Fri, 13 Nov 2009 09:23:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3510548</guid><dc:creator>bruticus</dc:creator><author>bruticus</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3510548.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3510548</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have 3 web part zones (A,B,C) and each one has a user control (1,2,3)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Is there a way that I can control them in such a way that uc1 can only go to A &amp;amp; B and uc2 can go to A&amp;amp;C zones respectively?&lt;/p&gt;&lt;p&gt;Any help is appreciated.&lt;/p&gt;&lt;p&gt;:)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>HttpException Creating Control Outside Web Part</title><link>http://forums.asp.net/thread/3496912.aspx</link><pubDate>Thu, 05 Nov 2009 20:51:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3496912</guid><dc:creator>squebler</dc:creator><author>squebler</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3496912.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3496912</wfw:commentRss><description>&lt;p&gt;I am getting&amp;nbsp;an HttpException stating:&lt;/p&gt;
&lt;blockquote&gt;An error has occurred because a control with id &amp;#39;ctl00$m$g_68955b2d_44ee_4f9e_a611_9a1b02fe9af3$ctl00$ASPxGridView2$ctl00$DXEditor2$DDD$ctl15$ctl05&amp;#39; could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error.&lt;/blockquote&gt;
&lt;p&gt;This error does not occur&amp;nbsp;if I use&amp;nbsp;this original code:&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;docList2 = new ASPxGridView(); 
docList2.ID = &amp;quot;ASPxGridView2&amp;quot;; 

GridViewDataColumn id = new GridViewDataColumn { FieldName = &amp;quot;ID&amp;quot; };
GridViewDataTextColumn LinkFilename = new GridViewDataTextColumn { FieldName = &amp;quot;LinkFilename&amp;quot;, Caption = &amp;quot;Filename&amp;quot; }; 
GridViewDataTextColumn Created = new GridViewDataTextColumn { FieldName = &amp;quot;Created&amp;quot; }; 
GridViewDataTextColumn Modified = new GridViewDataTextColumn { FieldName = &amp;quot;Modified&amp;quot; }; 

docList2.Columns.Add(id); 
docList2.Columns.Add(LinkFilename); 
docList2.Columns.Add(Created); 
docList2.Columns.Add(Modified); 

docList2.SettingsBehavior.AllowFocusedRow = true; 
docList2.Visible = true; 
docList2.EnableRowsCache = true; 
docList2.KeyFieldName = &amp;quot;ID&amp;quot;; 

dodocList2GridBinding(); 
docList2.Width = Unit.Percentage(100); 
table.Rows[8].Cells[2].Controls.Add(docList2);&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But I moved part of&amp;nbsp;the original code&amp;nbsp;to&amp;nbsp;a method in a class outside of the web part:&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;public static ASPxGridView GenerateASPxGridViewFileSelector(string ID) 
{ 
	ASPxGridView grdAsmList = new ASPxGridView(); 
	grdAsmList.ID = ID; 
	grdAsmList.SettingsBehavior.AllowFocusedRow = true; 
	grdAsmList.Visible = false; 
	grdAsmList.EnableRowsCache = true; 
	grdAsmList.KeyFieldName = &amp;quot;ID&amp;quot;; 
	grdAsmList.Width = Unit.Percentage(100); 

	// assembly grid view columns GridViewDataColumn colId = new GridViewDataColumn { FieldName = &amp;quot;ID&amp;quot; }; 
	grdAsmList.Columns.Add(colId); 
	GridViewDataColumn colLinkFilename = new GridViewDataColumn { FieldName = &amp;quot;LinkFilename&amp;quot;, Caption = &amp;quot;Filename&amp;quot; }; 
	grdAsmList.Columns.Add(colLinkFilename); 
	GridViewDataColumn colCreated = new GridViewDataColumn { FieldName = &amp;quot;Created&amp;quot; }; 
	grdAsmList.Columns.Add(colCreated); 
	GridViewDataColumn colModified = new GridViewDataColumn { FieldName = &amp;quot;Modified&amp;quot; }; 
	grdAsmList.Columns.Add(colModified); return grdAsmList; 
}&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then I changed the original web part code to use this new method, and this now I am getting the above HttpException.&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;docList2 = ArrowUtils.GenerateASPxGridViewFileSelector(&amp;quot;ASPxGridView2&amp;quot;);
dodocList2GridBinding();
docList2.Width = Unit.Percentage(100);
table.Rows[8].Cells[2].Controls.Add(docList2);&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I do not understand why this error is happening.&amp;nbsp; It seems to me that I am doing the exact same thing as before, the only difference is that I am now&amp;nbsp;creating the new&amp;nbsp;instance in&amp;nbsp;a different class.&lt;/p&gt;
&lt;p&gt;Can someone explain to me what&amp;nbsp;is going on?&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>web parts for site personalisation</title><link>http://forums.asp.net/thread/3508941.aspx</link><pubDate>Thu, 12 Nov 2009 14:40:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3508941</guid><dc:creator>Iain</dc:creator><author>Iain</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3508941.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3508941</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have an eCommerce&amp;nbsp;web site and want to change the content of certain zones on the home page - for special offers and so on.&lt;/p&gt;
&lt;p&gt;Basically I want my marketing people to be able to change this, but the end user just to see the page.&lt;/p&gt;
&lt;p&gt;It seems to me that web parts should be able to do this, but I&amp;#39;m struggling to find how I can have my marketing people make the changes and the end users just see them.&lt;/p&gt;
&lt;p&gt;To make matters slightly more complicated, I have (at least) two classes of user and each would want to see different layouts (all users are anonymous - the class is determined by a Querystring on entry to the site - in effect referred users see something different).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve googled this and spent a bit of time looking at samples, but I still don&amp;#39;t have any real idea if this is hard or easy.&amp;nbsp; Can anyone point me to resources?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Iain&lt;/p&gt;</description></item><item><title>Webparts for an enitity that is stored in db</title><link>http://forums.asp.net/thread/3489140.aspx</link><pubDate>Mon, 02 Nov 2009 12:11:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3489140</guid><dc:creator>cja100</dc:creator><author>cja100</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3489140.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3489140</wfw:commentRss><description>&lt;p&gt;I am building a website that hosts multiple little shops advertised on it. each shop needs to use web parts to personalise there own page and the a list of shops, the page is then viewable to non-authenctied users.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Is it possible to store how the web parts are stored and their custom content (such as a paragraph or 2) in a database?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;(Hope this makes sence)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="border:medium none;position:absolute;z-index:2147483647;opacity:0.6;display:none;" id="myFxSearchImg" height="24" width="24" alt="" /&gt;&lt;/p&gt;</description></item><item><title>Updating Profiles</title><link>http://forums.asp.net/thread/3508545.aspx</link><pubDate>Thu, 12 Nov 2009 11:24:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3508545</guid><dc:creator>bexasp</dc:creator><author>bexasp</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3508545.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3508545</wfw:commentRss><description>&lt;p&gt;Hi there I&amp;nbsp;have a User Control&amp;nbsp; that hase a ObjectDataSource and a FormView&lt;/p&gt;
&lt;p&gt;I have a class that ObjectDataSourse connects to.&lt;/p&gt;&lt;pre class="c-sharp:collapse" name="code"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The class retrives the data but does not update.&lt;/p&gt;
&lt;p&gt;What is wrong?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I Have&amp;nbsp;a C# class that works but i need the VB&lt;/p&gt;
&lt;p&gt;so i used the online&amp;nbsp;C# to VB &amp;nbsp;translation tool.&lt;/p&gt;
&lt;p&gt;thanks for looking&lt;/p&gt;</description></item><item><title>Web Application Projects and the ProfileCommon NOT working</title><link>http://forums.asp.net/thread/1236619.aspx</link><pubDate>Fri, 24 Mar 2006 13:10:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1236619</guid><dc:creator>jwfransen</dc:creator><author>jwfransen</author><slash:comments>11</slash:comments><comments>http://forums.asp.net/thread/1236619.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=1236619</wfw:commentRss><description>&lt;p&gt;&lt;font face=Verdana size=2&gt;Hi all,&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;We swapt to Web Application Project because that works nicely together with sourcegear. We run into the following problem.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;I'm retreiving some profile information of a specific user by:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana&gt;&lt;font size=2&gt;&lt;font color=#0000ff&gt;Dim&lt;/font&gt; u &lt;font color=#0000ff&gt;As&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=Verdana&gt;&lt;font size=2&gt; MembershipUser = Membership.GetUser(gvUsers.SelectedRow.Cells(2).Text)&lt;br /&gt;&lt;font color=#0000ff&gt;&lt;font color=#008000 size=2&gt;&lt;font color=#000000&gt;Dim p As ProfileCommon = Profile.GetProfile(u.UserName)&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=Verdana size=2&gt;&lt;br /&gt;and then i have control over the users profile&lt;br /&gt;p.&amp;lt;property&amp;gt;=value&lt;br /&gt;etc&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;This works fine when i'm not using a 'web application project' But when i use this project type i get a 'type profile common not defined' .. I have attached all in my opinion relevant namespaces.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;So any thoughts on this or a nice workaround how to get hold of the profiles from another user.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;thanks,&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;-- jan willem&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=2&gt;&amp;nbsp;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/p&gt;</description></item><item><title>Webpart Mode Error : ASP.NET</title><link>http://forums.asp.net/thread/3503444.aspx</link><pubDate>Tue, 10 Nov 2009 06:21:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3503444</guid><dc:creator>tamkeen.khan</dc:creator><author>tamkeen.khan</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3503444.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3503444</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve created user controls and am displaying them in various webpart zones on a web page and whenever i select the edit mode it should allow me to edit the web part properties. Every thing is working fine on my locals system, but when i deployed it on remote machine it is giving the error below : &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user. Parameter name: value&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So, I have changed the authentication mode to forms and i&amp;#39;ve included the below in the web.config&lt;/p&gt;
&lt;p&gt;&amp;lt;webParts&amp;gt;&lt;br /&gt;&amp;lt;personalization defaultProvider=&amp;quot;SqlPersonalizationProvider&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;providers&amp;gt;&lt;br /&gt;&amp;lt;add name=&amp;quot;SqlPersonalizationProvider&amp;quot; type=&amp;quot;System.Web.UI.WebControls.WebParts.SqlPersonalizationProvider&amp;quot; connectionStringName=&amp;quot;AspNetDBConnectionString&amp;quot; applicationName=&amp;quot;/&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/providers&amp;gt;&lt;br /&gt;&amp;lt;authorization&amp;gt;&lt;br /&gt;&amp;lt;allow users=&amp;quot;*&amp;quot; verbs=&amp;quot;enterSharedScope&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;allow users=&amp;quot;IUSR_RAY&amp;quot; verbs=&amp;quot;enterSharedScope&amp;quot;/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;lt;allow users=&amp;quot;*&amp;quot; verbs=&amp;quot;modifyState&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/authorization&amp;gt;&lt;br /&gt;&amp;lt;/personalization&amp;gt;&lt;br /&gt;&amp;lt;/webParts&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;After including the above the above in the web.config , it is working fine but is randomly giving the&amp;nbsp; error.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user. Parameter name: value&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Kindly help me to solve this issue. I am stuck up with this.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s very urgent.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item><item><title>Using AJAX Extenders on Web Parts</title><link>http://forums.asp.net/thread/3503006.aspx</link><pubDate>Mon, 09 Nov 2009 23:22:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3503006</guid><dc:creator>bruticus</dc:creator><author>bruticus</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3503006.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3503006</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to attach extenders to a server control that&amp;#39;s inside a webpartzone (ex: slideshowextender linked to image control).&lt;/p&gt;&lt;p&gt;I&amp;#39;m encountering an error that &amp;quot;the TargetControlID is not valid. A control with ID could not be found&amp;quot;&lt;/p&gt;&lt;p&gt;Any help is appreciated.&lt;/p&gt;&lt;p&gt;Using VS 2005, 3.5 Framework.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>can webparts be loaded for everyone but only edited by admin..code attached</title><link>http://forums.asp.net/thread/3496884.aspx</link><pubDate>Thu, 05 Nov 2009 20:32:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3496884</guid><dc:creator>BoostedH23a1</dc:creator><author>BoostedH23a1</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3496884.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3496884</wfw:commentRss><description>&lt;p&gt;Hey guys i am trying to come up with a way o can make a few of my pages easy to edit just as being admin. what i was thinking is have the user control dropdown thingy hidden for everyone except admin. i have already made the close button to False so they cant close it out. if there is an easier way to do this please by all means let me know. the only time i get the Edit button in my drop down list is when i am on the Default page(only one that has webparts) so i can not edit any other page, even though it is in the &amp;lt;asp.content&amp;gt; div. i a noob so please be gentle. my brain hurts from watching all these tuturials to no avail.&lt;/p&gt;&lt;p&gt;here is my current default master page .cs &lt;/p&gt;&lt;p&gt;this is just a part of it, but i would imagine this is what i would edit? i already have roles setup on my page.&lt;/p&gt;&lt;p&gt;www.frogmoreaeroclub.com&lt;/p&gt;&lt;p&gt;protected void Page_Init(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (HttpContext.Current.User.Identity.IsAuthenticated)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&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; foreach (WebPartDisplayMode wpdmDisplayMode in WebPartManager1.SupportedDisplayModes)&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;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;nbsp;&amp;nbsp;&amp;nbsp; if (wpdmDisplayMode.IsEnabled(WebPartManager1))&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;nbsp;&amp;nbsp;&amp;nbsp; {&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drpDisplayModes.Items.Add(new ListItem(wpdmDisplayMode.Name, wpdmDisplayMode.Name));&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;nbsp;&amp;nbsp;&amp;nbsp; }&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;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&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; drpDisplayModes.Visible = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;</description></item><item><title>Issues With Profiles on IE8 only</title><link>http://forums.asp.net/thread/3496842.aspx</link><pubDate>Thu, 05 Nov 2009 20:04:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3496842</guid><dc:creator>VeX_Harbinger</dc:creator><author>VeX_Harbinger</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/3496842.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3496842</wfw:commentRss><description>&lt;p&gt;Howdy All,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m having an odd issue with Profiles on IE8 only and so far cannot find any info on the topic.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;This issue is only occuring in my Live env as well and not in my dev env.&amp;nbsp; You can see the issue here;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.tripatourium.com/"&gt;http://www.tripatourium.com/&lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you click on either of the prints on the right hand side then, click on add to cart under the large picture.&lt;/li&gt;
&lt;li&gt;You will see the cart price (on the upper right) now reflects the change.&lt;/li&gt;
&lt;li&gt;Then if you click on the other print (not the same, I have to fix that pathing) you will see the cart value is now empty again.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This does not occur in Moz or Chrome or in IE8 when testing locally.&lt;/p&gt;
&lt;p&gt;Any info would be great.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>asp:menu bug in IE</title><link>http://forums.asp.net/thread/3188982.aspx</link><pubDate>Tue, 26 May 2009 20:52:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3188982</guid><dc:creator>eric.castoldi</dc:creator><author>eric.castoldi</author><slash:comments>7</slash:comments><comments>http://forums.asp.net/thread/3188982.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3188982</wfw:commentRss><description>&lt;p&gt;I have a problem with the &amp;lt;asp:menu&amp;gt; component.&lt;/p&gt;&lt;p&gt;In IE, when the page has vertical scrollbar and&amp;nbsp; asp:menu appears below the visible area, the subitems appear before the menu itself. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;BUT, it just happens when there&amp;#39;s no DOCTYPE defined in the masterpage. &lt;/p&gt;&lt;p&gt;Unfortunatelly i can&amp;#39;t put the doctype in the masterpage because i&amp;#39;am using MOSS and when i put the DOCTYPE declaration in the masterpage, the whole application layout turns into trash, if you know what i mean.&lt;/p&gt;&lt;br /&gt;</description></item><item><title>Need to display PDF file's thumbnail and link on page..</title><link>http://forums.asp.net/thread/3502011.aspx</link><pubDate>Mon, 09 Nov 2009 13:29:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3502011</guid><dc:creator>Spydaios</dc:creator><author>Spydaios</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3502011.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3502011</wfw:commentRss><description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I want Thumbnail of pdf&amp;#39;s 1st page to be displayed of page with its &lt;/p&gt;&lt;p&gt;link to download...&lt;/p&gt;&lt;p&gt;Downloading is not an issue...&lt;/p&gt;&lt;p&gt;But what are all the things i will have to do if i want to get &lt;/p&gt;&lt;p&gt;thumbnail of pdf&amp;#39;s&amp;nbsp; st page..?...&lt;/p&gt;&lt;p&gt;Please help...Give me some idea&amp;#39;s what i should do?..&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>