victorantos
2008-12-09T11:37:33Z
How To modify BoardID at runtime?

I tried YafControlSettings forumSettings = new YafControlSettings();
forumSettings.BoardID = 2;
Response.Redirect("~/default.aspx");

But it's not working
Sponsor
victorantos
2008-12-09T12:13:12Z
found soluction:

ConfigurationManager.AppSettings["boardID"] = "1";
ConfigurationManager.RefreshSection("appSettings");
Response.Redirect("~/default.aspx");

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved