views:

15

answers:

1

hi everybody,

I want to make an html editor like ajax editor. I mean to say everything is merged in a single dll(images,javascript,class).

How to accomplish this.

Plz Help

A: 

You could use WebResourceAttribute. This article might be helpful as well.

Darin Dimitrov
that's fine. I know some basics to include javascript and css. Main problem is images. Images are embedded but not displayed.
Mohan
Images are static resources just as css and javascript, so if you successfully embed css and javascript and are capable of referencing them in a web page, there's no reason why images won't work. Do you get some errors or the links are broken?
Darin Dimitrov
Thanks,ButIf i do something like thisImage _img = new Image(); _img.ImageUrl = this.Page.ClientScript.GetWebResourceUrl(typeof(MyCustomControl), "image1.jpg"); this.Controls.Add(_img); then images are displayed. For this i will have to make many instances of Image Control. Is this a must. There are many images. How to do that.
Mohan
Any Clue, It's urgent.
Mohan