Webparts problems

Last post 07-16-2007 7:41 AM by san_kumar_r. 4 replies.

Sort Posts:

  • Webparts problems

    02-16-2007, 12:27 PM
    • Loading...
    • ganzi
    • Joined on 08-17-2006, 7:10 PM
    • Posts 4

    hi, im trying to use ajax with webparts. the problem is that i can move the webpart from one webpartzone to another, just i can change the DisplayMode.

    i read that i must change the webconfig but i cant do well :S.

    When i want to put  this  inside the webconfig:

    <pages>
          <tagMapping>
                                    <add tagType="System.Web.UI.WebControls.WebParts.WebPartManager"
    mappedTagType="Microsoft.Web.UI.Controls.WebParts.WebPartManager"/>
                                    <add tagType="System.Web.UI.WebControls.WebParts.WebPartZone"
    mappedTagType="Microsoft.Web.UI.Controls.WebParts.WebPartZone"/>
                            </tagMapping>

    </pages>

     

    the error is could not load type Microsoft.Web.UI.Controls.WebParts.WebPartManager.

    i just want to have a page with 2 webpartzone and use the funcionality of the webparts.

    thanks for all and sorry for my english. 

    .scripthide { display: none; } .scriptinline { display: inline; } .scriptblock { display: block; }'); //-->

    .scripthide { display: none; } .scriptinline { display: inline; } .scriptblock { display: block; }.script12hide { display: none; } .script12inline { display: inline; } .script12block { display: block; } .lnav { position: absolute; } .lnavch { margin-left:23.0ex;}'); //-->.script12hide { display: none; } .script12inline { display: inline; } .script12block { display: block; } .lnav { position: absolute; } .lnavch { margin-left:23.0ex;}.script13hide { display: none; } .script13inline { display: inline; } .script13block { display: block; }'); //-->.script13hide { display: none; } .script13inline { display: inline; } .script13block { display: block; } 260 ? (this.parentNode.clientWidth > 500 ? "500px" : "100%") : "260px"); } .f,.f:link,.f a:link {color:#6f6f6f} .fl:visited {color:#551a8b} .fl:active {color:#f00} .fl:link {color:#7777CC} .z {display:none} .on, .on:visited, .on:link {color:#0000cc} .on:active {color:#f00000} .don, .don:visited, .don:link { color:#0000bb} .don:active {color:#f00000} .q a:visited,.q a:link,.q a:active,.q {color:#0000cc} .qo a:visited,.qo a:link,.qo a:active,.qo {color:#0000cc} .mbody {margin-top:4px} body,td,input,textarea,select {font-family:arial,sans-serif} body {font-size:83%} table {font-size:inherit} input,textarea,select {font-size:100%} form {margin:0} .tick {font-family:webdings;text-decoration:none !important} .qr {width:100%;padding:4px;font-family:arial,sans-serif} .nu { text-decoration:none; } .ohu:hover { text-decoration:underline; } .gt { border-collapse:collapse; } .gt td { padding: .3em 4px; border-right:1px solid #7799dd; } .gm td { padding: .3em 1em .3em 0px;} .bnk { border: 1px solid #7799dd;} .bnk td { border-right-width:0px !important;} .sel td.seltd { padding: 4px 4px 4px 4px; border:1px solid #7799dd; border-right:none; font-weight: bold; } .al,.al:link,.al:active,.al:visited { color: #990066; } .dal,.dal:link,.dal:active,.dal:visited { color: #880059; } .blk,.blk:link,.blk:active,.blk:visited,.blk:focus,.tlc a { text-decoration:none;color:#000;outline:0;-moz-outline:0; } .ucl, .ucl:link, .ucl:active, .ucl:visited { color: #7777cc; } .gl,.gl:link,.gl:active,.gl:visited { color: #008000; } .groupname:link,.groupname:visited,.groupname:active,.groupname:hover { color:#008000; } p.b { margin-bottom: 1.5em; margin-top:.3em; } .adb, .adbrnav { border-left: 1px solid #e8eef7; } .msgdate { color: #676767; } .md { color: #555555; } .st { margin-left:-1px; } .nb { white-space:nowrap; } .np { padding:0px; } .p { font-weight:bold; } .mo { margin: .5em 0 0 0 ; } .oa { padding: 2px .5em; } .sbox { margin-top:1em; margin-bottom:1em; } button a:link {text-decoration:none;color:black; } button a:hover {text-decoration:none;color:black; } .b {font-weight:bold} .fontsize0 {font-size:78%} .fontsize1 {font-size:83%} .fontsize2 {font-size:91%} .fontsize_25 {font-size: 100%} .fontsize3 {font-size:106%} .fontsize4 {font-size:114%} .fontsize5 {font-size:129%} .fontsize6 {font-size:150%} .fontsize7 {font-size:189%} .cv {width:100%;} .lk {color:#0000CC;text-decoration:underline;cursor:pointer;} .nl {padding:5px 0 2px 5px;} .tsh { border-top: 1px solid #7799dd;} .tlsh { border-top: 1px solid #7799dd;} .blsh { border-bottom: 1px solid #7799dd;} .bsh { border-bottom: 1px solid #7799dd;} .lsh, .tlsh, .blsh { border-left: 1px solid #7799dd;} .lnav { left: 9px; width: 23.0ex; overflow: hidden; } .lnavch { } .lnavi { font-size:100%; } .lnavim { margin-left: -2px; } * html .lnav { left: 11px; } .alertboxout { margin: 5px 15px 0px 10px; clear:left; } .alertboxin { clear:left; color: black; background-color: #d9d9d9; font-weight: bold; text-align: center; padding: 0px 15px 0px 15px; position: relative; margin: -1px 0px; } .vamdl { vertical-align : middle; } .errbnr { text-align: center; border: 2px solid #FAD163; background-color: #FFFFCC; margin: 5px 15px 15px 15px; padding: 7px 10px 7px 10px; max-width: 650px; width: expression(this.parentNode.offsetWidth > 650 ? '650px' : 'auto'); } .thread_star {padding:0 0 4px 0} * html .thread_star {padding:0 0 0 0} .blurb_star {padding:0 0 0 2px} * html .blurb_star {padding:2px 0 0 2px} .msg #ftr_sep { background: rgb(238, 238, 238) none repeat scroll 0%; } .msg .exh {margin: 0pt 16px; padding: 2px; background: rgb(238, 238, 238) none repeat scroll 0%;} .sel_cb_t {padding: 0pt 6px; background: #c3d9ff none repeat scroll 0%;} .nsel_cb_t {padding: 0pt 6px;} .msg .l {color:#0000CC;cursor:pointer;white-space:nowrap} .msg .lc, .msg .lc:visited, .msg .lc:active, .msg .lc:link .msg .lc:focus {color:#0000CC; outline:0; -moz-outline:0; } .msg .h {cursor:pointer;} .msg {display:block} .msg_meta {width:100%} .msg_meta td {white-space:nowrap} .msg .rc {width:100%;table-layout:fixed} .msg .rc div {white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .msg .author {font-weight:bold} .msg .mb {padding:6px 8px 0px 14px} .msg .mb .fixed_width { font-family: fixed-width, monospace; font-size: 100%} .msg .cg {background:#eee} .msg .cf {background:#c3d9ff} .msg .cb2 #cft, .msg .cb2 #cfb {display:none} .msg .ci {background:#e0ecff} .msg .ctb {height:100%} .msg .cpb2 .mchc { font-size: 91%;} .msg .cd {padding:4px 5px 2px 10px;} .msg .cd button {text-align:center;font-size:80%} .msg .sm {position:absolute;display:none;margin:2px 0px;font-family:arial,sans-serif;background-color:#c3d9ff;border:2px solid;border-color:#e8f1ff #9daecd #9daecd #e8f1ff;z-index:1} .tl {background:url(/groups/img/corner_tleft.gif) top left} .bl {background:url(/groups/img/corner_bleft.gif) bottom left} .tr {background:url(/groups/img/corner_tright.gif) top right} .br {background:url(/groups/img/corner_bright.gif) bottom right} .tl, .bl, .tr, .br, .gtl, .gbl {background-repeat:no-repeat;padding-left:4px;width:4px} .ctop {background:url(/groups/img/card_top.gif) top repeat-x;padding:1px;width:100%} .ctopd {background:url(/groups/img/card_top_dark.gif) top repeat-x;padding:1px;width:100%} .ctl {background:url(/groups/img/card_tleft.gif) top left} .ctld {background:url(/groups/img/card_tleft_dark.gif) top left} .cttl {background:url(/groups/img/card_ttleft.gif) top left} .ctr {background:url(/groups/img/card_ttright2.gif) top right} .str {background:url(/groups/img/card_ttright2.gif) top right} .strdd {background:url(/groups/img/card_ttright2_dark_on_dark.gif) top right} .strdw {background:url(/groups/img/card_ttright2_dark_on_white.gif) top right} .strwd {background:url(/groups/img/card_ttright2_white_on_dark.gif) top right} .stl {background:url(/groups/img/card_stleft.gif) top left} .stldd {background:url(/groups/img/card_stleft_dark_on_dark.gif) top left} .stldw {background:url(/groups/img/card_stleft_dark_on_white.gif) top left} .stlwd {background:url(/groups/img/card_stleft_white_on_dark.gif) top left} .stlwd, .stldd, .strwd, .strdd {background-color: #eee} .sbl {background:url(/groups/img/card_sbleft.gif) bottom left} .cbot {background-image:url(/groups/img/card_bot.gif);background-position:bottom;background-repeat:repeat-x;padding:1px;width:100%} .cbl {background-image:url(/groups/img/card_bleft.gif);background-position:bottom left} .cbr {background-image:url(/groups/img/card_bright2.gif);background-position:bottom right} .msg .cb {background-image:url(/groups/img/card_left.gif);background-position:left;background-repeat:repeat-y;border-right:1px #e8e8e8 solid;} .msg .cb2 {background-image:url(/groups/img/card_left2.gif);background-position:left;background-repeat:repeat-y;border-right:1px #e8e8e8 solid;} .ctl, .ctld, .cttl, .ctr, .str, .strdd, .strdw, .strwd, .stl, .stldd, .stldw, .stlwd, .cbl, .cbr, .sbl {background-repeat:no-repeat} .ctl, .ctld, .cttl, .cbl, .stl, .stldd, .stldw, .stlwd, .sbl, .pd10 {padding:0 10px 0 0} .ctr, .str, .strdd, .strdw, .strwd, .cbr, .pd9 {padding:0 9px 0 0} .pd8 {padding: 0 8px 0 0 } .msg .phd {padding:6px 30px 5px 30px; text-align:center;} .msg .ph {padding:3px 6px} .msg .pokh {padding:0px 12px; font-weight:bold; font-size: 91%} * html .stimg { padding: 1px 0px 4px 0px;} .adbrnav { border: 0; } .ghgrn { color: #333333; font-size: 189%;font-weight: bold; } .ghgrn .ln, .ghgrn .ln:visited, .ghgrn .ln:active, .ghgrn .ln:link { color: #333333; text-decoration: none; } .ghgrn .ln:hover { text-decoration: underline; } .ghgrn .uln, .ghgrn .uln:visited, .ghgrn .uln:active, .ghgrn .uln:link { color: blue; } .rnsecs { padding-top: 10px; } .rnsecs .sec { padding: 0px 10px 5px 10px; } .rnsecs .sec .secln, .rnsecs .sec .secln:visited, .rnsecs .sec .secln:link, .rnsecs .sec .seclnact, .rnsecs .sec .seclnact:visited, .rnsecs .sec .seclnact:link { color: #0000cc; text-decoration: none; font-size: 114%;font-weight: bold; } .rnsecs .sec .secln:hover, .rnsecs .sec .seclnact:hover { text-decoration: underline; } .rnsecs .sec .seclnd { font-size: 114%; color: #7777cc; text-decoration: none; font-weight: bold; } .rnsecs .sec .seclnlt, .rnsecs .sec .seclnlt:visited, .rnsecs .sec .seclnlt:link { color: #0000cc; } .rnsecs .sec .seclnltd { color: #7777cc; } .rnsecs .selsec { border: 1px solid #7799dd; border-left: 0px; background-color: white; padding: 5px 5px 5px 11px; position: relative; left: -1px; margin-right: -1px; margin-bottom: 4px; } .rnsecs .selsec .secln, .rnsecs .selsec .secln:visited, .rnsecs .selsec .secln:link { color: black; text-decoration: none; font-size: 114%;font-weight: bold; } .rnsecs .selsec .secln:hover { text-decoration: underline; } .rnsecs .selsec .seclnact, .rnsecs .selsec .seclnact:visited, .rnsecs .selsec .seclnact:link { color: #0000cc; text-decoration: none; font-size: 114%;font-weight: bold; } .rnsecs .selsec .seclnact:hover { text-decoration: underline; } .rnsecs .selsubsec { padding: 5px 5px 5px 26px; background-color: white; position: relative; margin-left: -1px; border-top: 1px solid #bbccee ; border-left: none; } .rnsecs .selsubsecact { padding: 2px 5px 2px 25px; } .rnsecs .selsec .subsecln, .rnsecs .selsec .subsecln:visited, .rnsecs .selsec .subsecln:link { color: black; text-decoration: none; font-size: 114%;font-weight: bold; } .rnsecs .selsec .subsecln:hover { text-decoration: underline; } .rnsecs .selsec .subseclnact, .rnsecs .selsec .subseclnact:visited, .rnsecs .selsec .subseclnact:link { color: #0000cc; text-decoration: none; font-size: 114%; } .rnsecs .selsec .subseclnact:hover { text-decoration: underline; } .rnsecs .selsec .seclnd { font-size: 114%; color: ; text-decoration: none; font-weight: bold; } .rnsecs .selsec .seclnlt, .rnsecs .selsec .seclnlt:visited, .rnsecs .selsec .seclnlt:link { font-size: 100%; color: black; text-decoration: none; font-weight: bold; } .rnsecs .selsec .seclnlt:hover { text-decoration: underline; } .rnsecs .selsec .seclnlt { font-size: 100%; color: #7777cc; text-decoration: none; font-weight: bold; } .rnsecs .selsec .seclnlt:hover { text-decoration: underline; } .rnsecs .actlns { font-size: 91%; padding-top: 2px; padding-bottom: 3px; } .rnsecs .actlns, .rnsecs .sublevel { padding-left: 10px; } .rnsecs #add_page_box { font-size: 95%; padding-top: 8px; padding-bottom: 3px; } .rnimc { padding-top: 5px; padding-left: 10px; } .maincontheaderbox { padding: 10px 10px 0px 10px; } .maincontheaderboxatt { padding: 0px 10px 0px 10px; } .maincontbox { padding: 10px 20px 10px 20px; } .maincontboxhead { padding: 10px 20px 0px 20px; } .maincontboxfoot { padding: 0px 20px 10px 20px; } .maincontboxatt { padding: 0px 20px 0px 20px; } .maincontoutboxatt { padding: 0px 20px 0px 10px; } .modtab td { color:#333333; padding-top:0px; padding-bottom:4px; } .secttlbarwrap { width: 100%; } .secttlbar { background-color: #7799dd; padding: 0px 10px 0px 10px; border-top : 1px solid #7799dd; } .secttlbar .secttl { color: #ffffff; background-color: inherit; font-size: 129%;font-weight: bold; } .secttlbar .secttl .ln, .secttlbar .secttl .ln:visited, .secttlbar .secttl .ln:active, .secttlbar .secttl .ln:link { color: #ffffff; text-decoration: none; } .secttlbar .secttl .ln:hover { text-decoration: underline; } .secttlbar .secmsg { color: #ffffff; font-size: 114%; } .secttlbar .frtxt, .secttlbar .frtxt a, .secttlbar .frtxt a:visited, .secttlbar .frtxt a:active { color: #ffffff; } .secttlbaroptpane { border-top: 3px solid #7799dd; background-color: #c3d9ff; padding: 6px 6px 6px 10px; } .gtopbar { padding: 1px 10px 1px 4px } .gtopbar td.maincell { font-size:91%; } .topbar { padding: 0px 0px 4px 4px } .topbar td.maincell { font-size:100%; } .lf { float: left; width: auto; text-align: left; } .rf { float : right; width : auto; text-align : right; } .clear { clear : both; } .hspace5 { padding-left : 5px; display : inline; } .hspace { padding-left : 10px; display : inline; } .vspace { padding-top : 10px; } img.icon32 { height: 32px; width: 32px; } img.icon24 { height: 24px; width: 24px; } img.bigicon { height: 50px; width: 50px; } .hsep { margin-top : 3px; margin-bottom : 3px; border-bottom : 1px solid #7799dd; } .grdk { color: #707070 } .grlt { color: #999999 } .grltl, .grltl:link, .grltl:active, .grltl:visited { color: #7777cc } .uit { color: #707070; font-size:91%; } .uitl, .uitl:link, .uitl:active, .uitl:visited { color: #7777cc; font-size:91%; } .msghk, .msghv { font-size:106%; color: #555; } .msghk { font-weight: normal; } .msghv a, .msghv a:link, .msghv a:active, .msghv a:visited { color: #7777cc; } .tr_pseudo-link { color: #0000cc; text-decoration: underline; cursor: pointer; } .thrdisp_hdr { background-color: #c3d9ff; padding: 4px 4px 4px 4px; } .commentsdisp { padding-top: 5px; } .ac-renderer { border: 1px solid #666; background: #E0ECFF; color: #00C; margin: 0px 0px; padding: 0px 0px 1px 0px; z-index: 10; position: absolute; } .ac-renderer div { margin: 2px; cursor: pointer; padding: 0px 10px; } .ac-renderer div b { color: #00F; } .ac-renderer div.active { background: #C3D9FF; } -->

  • Re: Webparts problems

    02-19-2007, 1:36 PM
    • Loading...
    • chenriks
    • Joined on 09-27-2006, 5:07 PM
    • Redmond, WA
    • Posts 50
    • AspNetTeam

    The web parts classes are in the Preview namespace: 

    Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager and Microsoft.Web.Preview.UI.Controls.WebParts.WebPartZone

    Christy Henriksson
    ASP.NET Team
  • Re: Webparts problems

    03-11-2007, 7:02 AM
    • Loading...
    • gurusingh
    • Joined on 03-11-2007, 10:44 AM
    • Posts 1

    Hi there,

    I have a somwhat similar problem.....

    I wanted to implement the ajax on webparts.

    i have implemented ajax on it but i am facing one issue.

    i will post the coding

    '- - - - - - - - - - - - - - - - - - - - - - UPDATE PANEL - - - - - - - - - - - - -
     <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
    '- - - - - - - - - - - - - - - - - - - - - - UPDATE PANEL - - - - - - - - - - - - -
    '- - - - - - - - - - - - - - - - - - - - - - WEB PART MANAGER - - - - - - - - - - - - -     
            <asp:WebPartManager ID="WebPartManager1" runat="server"></asp:WebPartManager>
    '- - - - - - - - - - - - - - - - - - - - - - WEB PART MANAGER - - - - - - - - - - - - -     
    '- - - - - - - - - - - - - - - - - - - - - - WEB PART ZONE - - - - - - - - - - - - -     
     <asp:WebPartZone ID="WebPartZone1" runat="server" Width="100%">
                        <ZoneTemplate>
                            <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="White"
                                BorderWidth="1px" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="190px"
                                NextPrevFormat="FullMonth" Width="350px">
                                <SelectedDayStyle BackColor="#333399" ForeColor="White" />
                                <TodayDayStyle BackColor="#CCCCCC" />
                                <OtherMonthDayStyle ForeColor="#999999" />
                                <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" VerticalAlign="Bottom" />
                                <DayHeaderStyle Font-Bold="True" Font-Size="8pt" />
                                <TitleStyle BackColor="White" BorderColor="Black" BorderWidth="4px" Font-Bold="True"
                                    Font-Size="12pt" ForeColor="#333399" />
                            </asp:Calendar>
                        </ZoneTemplate>
                    </asp:WebPartZone>
    '- - - - - - - - - - - - - - - - - - - - - - WEB PART ZONE - - - - - - - - - - - - -     
    '- - - - - - - - - - - - - - - - - - - - - - SECOND WEB PART ZONE - - - - - - - - - - - - -     
     <asp:WebPartZone ID="WebPartZone2" runat="server" Width="100%"><ZoneTemplate><uc1:sportsfeed ID="Sportsfeed1" runat="server" /></ZoneTemplate></asp:WebPartZone>
    '- - - - - - - - - - - - - - - - - - - - - - SECOND WEB PART ZONE - - - - - - - - - - - - -     
    '- - - - - - - - - - - - - - - - - - - - - - END OF UPDATE PANEL - - - - - - - - - - - - -
      </ContentTemplate></asp:UpdatePanel>
    '- - - - - - - - - - - - - - - - - - - - - - END OF UPDATE PANEL - - - - - - - - - - - - -

     after implementing i get the two webpart zone on my aspx page, i click on black arrow button to select minimize or close button. its working fine for the first time (it minimize webpart with partial postback). but if wanted to restore my webpart i am not able to do it. when i click on the arrow button... its not opening menu to select minimize or close link.

     

    plz help thanks

    Guru
    singh.guru@gmail.com

     

    Filed under:
  • Re: Webparts problems

    03-11-2007, 11:37 PM

    Web Parts are not compatable with ASP.NET Ajax 1.0

    Read this article : http://forums.asp.net/thread/1545256.aspx

     

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Webparts problems

    07-16-2007, 7:41 AM
    • Loading...
    • san_kumar_r
    • Joined on 06-19-2007, 9:40 AM
    • Bangalore
    • Posts 5

    I am also facing exactly the same problem. If you have found any solution for the problem, please update here!

Page 1 of 1 (5 items)
Microsoft Communities
Page view counter