Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
212 views
Hi all,

  I am trying to do a drag and drop shopping cart very similiar to the  http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/templates/defaultcs.aspx.  I am using Item Templates with a style override of list tag to display inline creating a horizatal layout of products.  




  Currently I am pulling my data of products in using LingtoSql then binding the data with this:
 var db = new Products.ProductsDataContext();  
        var floorthumbs = (from c in db.Floorings  
                           select c);  
 
        RadListBox1.DataSource = skus;  
        RadListBox1.DataBind(); 

  I  tried using <img class="product-image" src='Images/<%# DataBinder.Eval(Container, "Value")%>' /> to bind the image tag.  I ended up dropping DataBinder.Eval to use just Eval to get image to display.

When I attempt to transfer an item from the Product list to the Detail View & Purchase, the RadListBox2 does not bind the image name. 

What is the best method to duplicate the example with pulling in live data from a database?
Is it possible to load to the RadListBoxItem dynamiclly in the code behind?

Thanks,
David
Genady Sergeev
Telerik team
 answered on 19 Jan 2010
2 answers
170 views

I'm having this problem for a long time and I just dont knowhow to solve it. 

When I use footer aggregate SUM in radgrid, with more thanone group by expression, calculated totals are wrong.

I tried to use new controls (Q3 2009) but that didn't fixthe problem either. Actualy I had even more problems when replacing oldercontrols with new ones, because of broken styles in the entireapplication.

I'm curently using Q3 2008 controls. Is there any workingsolution for this problem?

Best regards

Marko
Top achievements
Rank 1
 answered on 19 Jan 2010
7 answers
331 views
I cannot seem to locate all the PSD's for 2008.2

I need the psd's for each skin: Gray, Black, etc..

Where do I find them? The skin downloader does not seem to have them?
Roland
Top achievements
Rank 1
 answered on 19 Jan 2010
1 answer
108 views
Hi,

The delete button is disabled into my ImageManager of the RadEditor.
I don't understand why. I can't delete an image or a directory.
I am using 2008,2,723,20 of Telerik.

How may I to correct that ?

Thank you in advance,

Suzanne.
Rumen
Telerik team
 answered on 19 Jan 2010
1 answer
201 views
I'm binding the RadGrid from a collection of business objects.  Some date/time properties, which are null in the database, are set to DateTime.MinValue.  These display as 01/01/0001 12:00:00 AM in the grid.  What's the recommended approach to displaying these as null value (i.e. no value displays in grid)?
Daniel
Telerik team
 answered on 19 Jan 2010
2 answers
356 views
Hello,
I'm trying to dynamically change my slider's values based on what the user chooses from a radio button list.  For this example, we'll say my range starts at 500-600 with large ticks every 20 and small ticks every 4.  Initially this works fine.  When I change my values client side using AJAX, the new range is 1000-1200.  I'm using the following to change the values:

function pricesSuccess_method(results, userContext, methodName) { 
                    var slider = $find('<%= uxPriceRangeSlider.ClientID %>'); 
                    slider.set_minimumValue(results[0]); 
                    slider.set_maximumValue(results[results.length - 1]); 
                    slider.set_selectionStart(results[0]); 
                    slider.set_selectionEnd(results[results.length - 1]); 
                    slider.set_smallChange((results[results.length - 1] - results[0]) / 25 > 1 ? (results[results.length - 1] - results[0]) / 25 : 1); 
                    slider.set_largeChange((results[results.length - 1] - results[0]) / 5 > 1 ? (results[results.length - 1] - results[0]) / 5 : 1); 
                    slider.Redraw(); 
                } 

This again works fine.  However, when I change the radio button back to its original setting, the values become unreadable and there are a ton of ticks.  I investigated using FireBug and found that there are list items inside the containing UL of the slider going from 500 to 1200.  All of the values on the slider appear to be correct (min, max, selection start and end), but for some reason, its adding all these list items.  I've tried removing them through jQuery but they just show right back up.  Any ideas?

I've attached images below.  First is initial, second is after the first radio button change, and third is after going back to the intial state.

*Ahem* I tried to attach images, but they disappeared and do everytime I try to upload them.
Zach
Top achievements
Rank 1
 answered on 19 Jan 2010
3 answers
366 views
I am new to the radGrid api, so bear with me.

Is there a way to add data (rows) to the grid from the client (javascript) WITHOUT binding the grid? I am thinking of something along the lines of a Rows() collection with an Add() method?

If not,  is it possible to late-bind the grid from the client using ADO.Net objects?  How about List<> or Dictionary<> objects - late-binding still being the key?

Thanks
seevo315

Paul Severson
Top achievements
Rank 1
 answered on 19 Jan 2010
1 answer
106 views
hi to give a brief description of how this would work...
panel bar will start with all panels open,
then as per user selection the panels will be open or closed as they browse the rest of te site...
ie 5 different panels available, but only panels 12 and 4 are open.
i think that this would be best worked through session information, but welcome ideas...
Thanks


Schlurk
Top achievements
Rank 2
 answered on 19 Jan 2010
6 answers
223 views
I have noticed the text in my context menu items are not left-aligned as it should be. Perhaps it is picking up a style from something else. Is there a way to ensure that these item texts get left-aligned?
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
 answered on 19 Jan 2010
1 answer
85 views
Hi.

When using RadEditor in SharePoint, will the HTML-code and corresponding styles be saved the same way in the SharePoint database? If the server would crash and we restore a database with Wiki-pages made with RadEditor to a Sharepoint-site not using RadEditor, will the files be displayed correctly?

Just want to be 100% sure that RadEditor won't do anything crazy to the database so that restoring a backup of a SharePoint database will be problematic.

Thanks,
Daniel.
Stanimir
Telerik team
 answered on 19 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?