Forum  Community Devel...  Using the FCKEd...  How to set fckEditgor UserData folder at runtime
Previous Previous
 
Next Next
New Post 11/26/2007 7:03 AM
  bzamfir
260 posts
www.zbconsulting.eu
4th Level Poster




How to set fckEditgor UserData folder at runtime 

Hi,

To set the fckEditor userdata folder at runtime, in asp.net we have to set a session variable in page_init method, as below

Session("FCKeditor:UserFilesPath") = "~/MyOwnDataDir"

See Integration with ASP.Net , section Changing the UserFilesPath by code

But not sure how to accomplish this in VWG.

I tried to setup a VWG session variable before InitComponents in user control's constructor, but it didn't worked, fckEditor's browser still used the UserData folder setup in Web.config.

How can I accomplish this in VWG?

Thank you


Bogdan Zamfir
Consultant / Developer / Programmer
www.zbconsulting.eu
View Bogdan Zamfir's profile on LinkedIn
 
New Post 11/26/2007 7:21 PM
  Guy
2346 posts
1st Level Poster




Re: How to set fckEditgor UserData folder at runtime 
Hi,

You should do as following:
VWGContext.Current.HttpContext.Session("FCKeditor:UserFilesPath")="~/MyOwnDataDir"

Cheers,
Guy
 
Previous Previous
 
Next Next
  Forum  Community Devel...  Using the FCKEd...  How to set fckEditgor UserData folder at runtime
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS