I see what's the Burrow's problem and the resolution.
but on the other hand, I don't think Burrow httpModule should be
loaded for your BBS.


On Feb 26, 12:18 am, cake <[email protected]> wrote:
> Hello ,
>    I added Discuz!NT bbs to my web site, when login admin page.
> Burrow throw exception :
> "HttpException (0x80004005): 控件包含代码块(即 <% ... %>),因此无法修改控件集合。"
> (It's chinese system ). It means control includes codes like <%....
> %>,so wouldn't modify this controls collection.
>     So I have to change
> NHibernate.Burrow.WebUtil.Impl.GlobalPlaceHolder like that,
>      public GlobalPlaceHolder(Page p)
>       {
>             this.page = p;
>                         holder = new PlaceHolder();
>                         holder.ID = holderId;
>             //p.Init += new EventHandler(p_Init);
>             p.PreInit += new EventHandler(p_Init);
>             //p.InitComplete+=new EventHandler(p_PreRender);
>         }
>
>         void p_Init(object sender, EventArgs e)
>         {
>            if(IsInAjaxMode())
>            {
>                up = new UpdatePanel();
>                up.ID = UpdatePanelId;
>                up.UpdateMode = UpdatePanelUpdateMode.Always;
>                page.Form.Controls.Add(up);
>            }
>             p_PreRender(null, null);/*here call PreRender function */
>         }
>
>         BBS works well, but I don't know whether it makes bad or not.
>         Thanks and I am sorry for my poor english.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NHibernate Contrib - Development Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com.ar/group/nhcdevs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to