Collapse/Expand Images - asp.net

Ok so this is super basic. I just got done implementing the collapsible panel using the MS AJAX Toolkit and was wondering if anyone knew where to get the collapse and expand images that they use in their demo?
One would think these images would be distributed with the toolkit...if so - where are they found? Any recommendations for collapse/expand images in open-source-creative-commons domain?

you can set them using the properties
ExpandedImage="~/images/collapse.jpg"
CollapsedImage="~/images/expand.jpg"
the images can be found inside the toolkit
if you want to add your custom image you can get them from http://www.iconfinder.net

you can find them if you view the source code on the sample page... no they're not included, though. this is so you can provide your own images.
on a side note, have you tried implementing this functionality using jquery? :)

Related

Alternative to fancybox?

The site I am working on was using a fancybox to display checkboxes and such so that an admin can easily add more items to a specific product. After messing with it for way too long, I have to scrap that fancybox, but now that the page is broken, I'm not sure what to do. The checkboxes that were displayed are in such a large quantity that using collapsible divs would just make the page a huge mess.
Is there a different modal pop-up that might work better than fancybox? I read that modals just don't work with ASP and that is what I am using for this site. ASP.net 4.0 using VB. If anyone has ideas or suggestions I would love to hear them. I'm struggling with where to take this project now.
There are hundreds of jQuery plugins with modal windows and close functionality. For example check this . I personally use colorbox

Joomla - wrapper | is there any disadvantage?

I'm using Joomla 1.5 and I need to create a simple gallery in my site but I don't want to create new component because it's takes a lot of time to learn...
So I wanted to ask:
if I create a simple jQuery gallery in standalone .html file and then I embed it using Wrapper into Joomla, will there be any heavy problems?
Thanks
You don't need to do a full-blown MVC component for this: a quick one will work. Add the file components/com_jquery_gallery/jquery_gallery.php and add your HTML code there. The HTML will be accessible through index.php?option=com_jquery_gallery.
Joomla Wrapper is essentially an IFRAME. If your gallery works in an IFRAME without any issues, and you're completely happy with updating the embedded HTML file manually, then the only downside is that it is a usability "hack", and it may make it more difficult to manage it in the future.
The wrapper is very limited and you could use a "custom" code plugin instead of the wrapper, which allows you to place html, javascript, PHP into an article, IMO it's better than the wrapper because it gives more control.
I recommend Sourcerer It's great and was updated yesterday :)
Why not just use one of the many free photo gallery extensions??
http://extensions.joomla.org/extensions/photos-a-images/photo-gallery
No code work, plenty of features, and much faster than even the simplest component.

How to edit the Ajax HTML Editor, that I only need a few buttons of it?

I use the HTML Editor from ASP.NET Ajax AjaxControlToolkit http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/HTMLEditor/HTMLEditor.aspx.
Its like: http://s3.imgimg.de/uploads/2889172fdJPG.jpg
But I want to have it like: http://s3.imgimg.de/uploads/3eda09893JPG.jpg
So the default buttons are much overpowered for my users.
Is there a way to reduce the ajax HTMLEditor to this few buttons?
Or is there another controle you can help me with?
You haven't said which one you're using. I would recommend using TinyMCE: http://tinymce.moxiecode.com/
It will be easy to achieve what you want with it.
The best way to achieve this is to take advice from Ed Pitt, I did it this way and I was able to create different versions with different tools. The basic premise is to copy the HTMLEditor.Samples.cs file from the AJAX Control Toolkit source into your app and modify it to only print out the toolbars you want:
http://dot-net-web-developer-bristol.blogspot.com/2009/11/using-ajax-htmleditor-top-toolbar.html
Hope this is what you are looking for

asp.net: dynamically extend content

i'm not sure how to call that. i'm looking for some samples guiding me how to implement a automatic page extend. i'm mean something like the friends list on facebook. first only a few friends are loaded. after you scroll down, some others get loaded.
thx in advance
The solution to your problem relies more on AJAX then anything else.
I suggest using jQuery Ajax, and here is a nice article that will get you started with calling ASP.NET web services via client side script.
enter link description here
If you don't have experience using ajax this will probably be a lot for you to grasp. Especially if you're going to dive in with a feature like you described above.
Edit: It may be more practical to use a plugin to achieve this:
scrolling jQuery plugin

Embed a website/page into Silverlight

Yes that sounds backwards. I want to create an area or frame in my Silverlight app to host another page from my site. I've seen it done before but I can't seem to find any examples.
This way I can control the entire page layout using SL but still use existing aspx pages.
thanks
Yes, it can be done and its quite easy to do. I plan on blogging about my HtmlBrowser control and posting the source. The basics are to make sure the Silverlight control is hosted with the isWindowless parameter enabled and then you can at runtime through the HtmlPage class create an IFRAME element and set the src attribute to the HTML page location. The fun part is getting the sizing right, but its not too difficult.
Follow my blog http://craign.net/ over the next couple of days as I'll post my control.
Will frame break out code break out or not when using this technique.

Resources