Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
556 views

I need to move selected items from a RadList box to two other listboxes depending upon which button a user clicks. I cannot use the built-in TransferToID because that will only handle one source and one target.

The RadListBox get populated with a databind on the first load ...

if (!Page.IsPostBack)

{

    RadListBox1.DataSource = dt;

    RadListBox1.DataValueField = "UserID";

    RadListBox1.DataTextField ="FullName";

     RadListBox1.DataBind();

}

 
When I try accessing the selected items during a button-click event I do NOT get any hits ... nothing shows up in the SelectedItems collection of the RadListBox.  How can I solve this problem ? 

Thanks.




protected void btnFindSelected_Click(object sender, EventArgs e)

{
StringBuilder sb = new StringBuilder();


foreach
(RadListBoxItem item in RadListBox1.SelectedItems)  
{

    sb.Append(item.Text);

        // THIS IS ALWAYS EMPTY NO MATTER HOW MANY ITEMS I SEE ON THE PAGE THAT AREA SELECTED
}

 

 

for (int i = 0; i < RadListBox1.Items.Count; i++)

{

if (RadListBox1.Items[i].Selected)

    {

    sb.Append(RadListBox1.Items[i].Text);

    }

 }

}

string thisList = sb.ToString();  
// THIS IS ALWAYS EMPTY NO MATTER HOW MANY ITEMS I SEE ON THE PAGE THAT ARE SELECTED

 

 

 

 NOTE:  I was able to get a similar version of this to work successfully in a new project ... so there must be something else affecting the original that I haven't spotted.

Steve
Top achievements
Rank 1
 answered on 29 Jul 2011
1 answer
89 views
Hi

I want to use "Grid / Persisting Grid Settings" feature and save in ASPNETDB.MDF.

I refered http://www.telerik.com/community/code-library/aspnet-ajax/grid/storing-multiple-grid-settings-in-database-via-profile.aspx
 and grid preference is  saving in database.

My Question
-------------------

In our application we have username and password and we maintain "username" in  session .

So if I refere the above url , it is saving the windows login id(select UserName from dbo.aspnet_Users)

But i want my  grid setting should be saved based on my user name(which is in session).

so next time if i login with username and password  , grid preference should load automatically


Regards,
Ramkumar


Maria Ilieva
Telerik team
 answered on 29 Jul 2011
0 answers
123 views

Hi

             I am uploading files to server from webpage. Here I am checking whether file exist or not in server if exist I would like to ask Confirmation message like ‘File already Exist on Server, do you want to Override, if YES I want to Override, if NO  I want to skip that file and go for next file.

Here I am using Telerik:RadUpload control to upload multiple files.

Can you please help me to solve this issue.

Suresh K
Top achievements
Rank 1
 asked on 29 Jul 2011
1 answer
109 views
I'm currently using Safari 5.1 on Windows 7 to test the AsyncUpload component both on my own website and the telerik demo site.  After selecting either 1 or multiple files it seems to have a chance of refreshing the page and losing the selected files.  In the case of my own upload page I require the user to be logged in and when it does the refresh it logs the person out.

Is this a known issue with Safari?  Is there anything I can do to keep it from happening?

Peter Filipov
Telerik team
 answered on 29 Jul 2011
1 answer
154 views
Hi All,
I have RadColorPicker Having Id="RadColorPicker1" and also Have a asp Label..
I have Question that once i select the color from RadColorPicked ; That should apply to Asp Label..
Please suggest me out..
I'm beginner of Telerik technology..
Slav
Telerik team
 answered on 29 Jul 2011
3 answers
135 views
Hello,

I'm looking at making a schedule/calendar for a hockey team website and would like to include 2 or 3 resources to add to any given event: Home Team (always set), Away Team and Venue. Additionally, I'd like a descriptor flag to indicate a Practice or Game

My Teams and Venues are held in two tables in the db. Assume I retrieve the data into List<Team> and List<Venue> lists.

Can someone please explain how I could dynamically add Teams and Venues to two resource lists in the AdvancedForm? Can I bind resources to the lists?

Thanks
Plamen
Telerik team
 answered on 29 Jul 2011
1 answer
220 views
Hi,
I have sitemap datasource which will contain the url to the webpage, text to be displayed, tool tip, url to the icon image. I was able to bind this appropriately to a tabstrip by using the item data bound event.
But am not sure, how to achieve the same in RadPanelBar. (I know how to do it from aspx side by giving <Items>. But I want to achieve it from code behind as I never know what will be the number of items in the panel bar)
Kindly guide me to an example or let me know how to do this.

Thanks
Peter
Telerik team
 answered on 29 Jul 2011
2 answers
117 views
Hi all,
The problem is:
I have a RadToolTip Modal="true"
inside the tootip there is a combobox.
When i open the combobox the list of the databound elements appear behind the tooltip so I'm not able to choose any item.

I'm using the latest realease of the ASP.NET Ajax controls.

Any idea what I'm doing wrong?

Thanks,
Mattia
Mattia
Top achievements
Rank 1
 answered on 29 Jul 2011
7 answers
110 views
Dear Telerik Team,

This is an offshoot of this discussion (http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/how-to-disable-the-rad-update-prompt-in-visual-studio.aspx)

Is there a way we can decouple Telerik from integrating from Visual Studio 2010?

Thanks and Regards,

Deepak Vasudevan
Biliana Ficheva
Telerik team
 answered on 29 Jul 2011
3 answers
123 views
Hello!

I have a question:

Can we configure multi-level context menu on a RadTreeeView to behave the following way:

if user clicks on the selected item, which leads to another sub-menu, this sub-menu becomes visible and stays this way (usually all menus disappear when the user takes cursor off them).

Thank you,

Irene Troupansky

Plamen
Telerik team
 answered on 29 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?