Programmatically setting up the Image gallery path

  •  07-01-2009, 6:42 AM

    Programmatically setting up the Image gallery path

    Hello all,
     
    I am trying to Programmatically specify the Image gallery path using:
     
    Editor ed = (Editor) FormView1.FindControl("Editor2");
    ed.SetSecurityImageGalleryPath("~/uploads");

    I got the Error:

    Object reference not set to an instance of an object
     
    can any one help
     
    thanks
View Complete Thread