Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
229 views
I have upgraded a listbox to the new verison, looks good but there is an issue with the selected flag.

Scenario: The list box has 2 items (a & b).  I have selected item a via a mouse click and clicked the transfer button, then run the following code:

        protected void lbxAssigned_Transferred(object sender, RadListBoxTransferredEventArgs e) 
        { 
            foreach (RadListBoxItem listItem in lbxAvailable.Items) 
            { 
                if (listItem.Selected) 
                { 
                    ProductCarriers objPC = new ProductCarriers(); 
                    string test = listItem.Text; 
                    objPC.Allocate(Convert.ToInt32(listItem.Value), Convert.ToInt32(cbxProducts.SelectedValue)); 
                } 
            } 
            PopulateLists(); 
        } 

However when I debug the loop the first iteration (item a) passes the selection check, but the listitem.text and listitem.value are from item b.

I will attempt to code this another way for the moment, thought you would want to be aware.

Thanks,
Lee




ManniAT
Top achievements
Rank 2
 answered on 20 Jul 2009
1 answer
55 views
Hi,

I have just downloaded the Q2 2009 trial of the RadControls for ASP.NET AJAX for doing some testing with the Editor!
I also have downloaded the Q1 2009 dutch language files from http://www.telerik.com/community/forums/aspnet-ajax/editor/radeditor-for-asp-net-ajax-localizations.aspx and added these files to the App_GlobalResources folder.

In a simple test page, where I have added the Rad Editor, I have set the Language property of the Editor to "nl-NL". When I run this page the tooltips of the buttons on the toolbar still show the english version. Did I forget something or does the Q1 language file not work with the Q2 Editor?

Thanks,
Danny
Svetlina Anati
Telerik team
 answered on 20 Jul 2009
5 answers
173 views
Hi,

first of all - you did a good job with this control - and you did it at the right time - because I need something like this at my current project.

Two things about the listbox:
a.) In Safari 4 (for windows) Enabled="false" does not disable the listbox
b.) In IE8 vertical scrolling is a bit "strange" (not really a problem)
-- sometime the thumb "jumps" a bit (the larger the thumb is the better you can see it)
--You can see this when you make a scrolling listbox and simply keep the mouse pressed on the down button.
--- it will start scrolling - and then jump back up - followed by "normal scrolling"

a.) is important
b.) is just "2 pixels away from perfection" :)

Another thing - I messed around a bit with the thing - searched the documentation and found nothing about
"Serverside Data extraction".

First I was afraid that this is not possible (there is a sample which tells "Autopostback must be true to update...");
but later I found that this is possible - it's only not documented.

I would suggest to provide a sample which show's such a scenario like adding "extras to an item".
Example - provide a user with "Shipping options" where he  can choose from a list like "Overnight, FastTrack, Insurance, GPS Tracked".
On the server the data is extracted from the "RadListBox2.Items" collection.
And that - combined with a Grid (Add new item) would be an interesting (and I guess common) scenario.

This is just an example - maybe I'll provide such a thing in the Code Library if I find time.

Regards

Manfred


ManniAT
Top achievements
Rank 2
 answered on 20 Jul 2009
2 answers
163 views
Hi,

I'd like to override the default loading image set in the various skins.  What is the CSS style that I'd need to do this for?

Changing the css based image will be a lot quicker than setting the image for each panel in each page...

Regards,

Jon

Jon
Top achievements
Rank 1
 answered on 20 Jul 2009
5 answers
198 views
Please I will like to know if RadMenu and RadCombo plus several other controls work on mobile devices such as blackberry and other windows mobiles phone? Cuurently, they behave as disables and does not respond to click. Thank you
Paul
Telerik team
 answered on 20 Jul 2009
3 answers
90 views
Hi Telerik,

I am using ajax rad tree view in our application and it contains nodes in two levels(0,1). There is requirement to show level 0 nodes in one style and level 1 nodes in another. I have tried with custom skin unsuccessfully.

Could you please suggest me how can I achive this functionality.

Thanks in advance,
Balaji Velasiri
Atanas Korchev
Telerik team
 answered on 20 Jul 2009
4 answers
182 views
As the thread title says, the menu's dropdown submenus do not display in Safari 4.  Even your website's main menu doesn't dropdown in Safari 4.  I am currently using build 2009.1.527.35.

Please advise.

Thanks,
Joshua
Paul
Telerik team
 answered on 20 Jul 2009
8 answers
350 views
Hi,

Is there a known reason why a RadTextBox would resize itself smaller by one pixel when the mouse moves over it?  This only happens the first time and then the box stays the same size until a refresh.

Also on IE7 there seems to be a 5 pixel right margin, I've tried changing the SPAN.RADINPUT, SPAN.RADINPUT_WEB20, INPUT.RITEXTBOX and INPUT.RIENABLED css to have margin-right:0px ! important and it doesn't fix it.  On firefox there is no right margin.

Hopefully these are known issues with simple solutions ;)

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 20 Jul 2009
1 answer
161 views
Hi,
 I m using 2009.1.527.20 the callout arrow cannot be seen even when I set it to true. How to resolve?


<HeaderTemplate><asp:LinkButton ID="ibProbramHeader" runat="server" Text="Program" CommandName="Sort"CommandArgument="program_id" ToolTip="Click here to sort"></asp:LinkButton><asp:Image ID="imgProgramHeader" runat="server" ImageUrl="~/images/icons/question_mark_up.gif" /><telerik:RadToolTip ID="RadToolTip1" runat="server" TargetControlID="imgProgramHeader"Position="BottomRight" Width="200px" HideEvent="LeaveToolTip"skin="Web20_2009" EnableEmbeddedSkins="False" ShowCallout="True"><b>Program</b><br /></telerik:RadToolTip></HeaderTemplate>

I m having this within headertemplate of radgrid

Thanks

Svetlina Anati
Telerik team
 answered on 20 Jul 2009
2 answers
320 views
hey guys, i was just wondering if there's a way for us to have header for the listbox and don't allow users to select the header. and when you move item from listbox2 back to listbox1, that item goes into the right section like this

section1
    1
     2
section2
     3
     4

then say you move 1 and 3 to listbox 2, that's fine. header will stay the same, you can't move header section1 and section2. then when you move 1 and 3 back to listbox1, it will go into the correct section. if there's a way please let me know. thanks
ManniAT
Top achievements
Rank 2
 answered on 20 Jul 2009
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?