Hello everyone,
I need your help, i have 2 RadGrid which each depend on other grid.
Each grid can sort. But if i sort the first grid i lost the first row
selected item and the second grid give me error of grid1 cant be null
So, i would like to know how i can set the focus on the last selected item or just focus on the first row?
I use VB.NET
I have tried sample i found here, and nothing change like
RadGrid1.MasterTableView.Items(0).Selected = True
for now in my Page_Load to get the focus i use radgrod1.items(0).focus()
but it doesn't work on the SortCommand sub, i get a javascript error message
In this sub, i get a new DataSource and i rebind the radgrid.
I have tried RadGrid1.SelectedIndexes.Add(0) with my .focus and same JS error.
Thanks for your help.

public class MyAsyncImageUpload : AsyncUploadHandler{ protected override IAsyncUploadResult Process(UploadedFile file, HttpContext context, IAsyncUploadConfiguration configuration, string tempFileName) { var result =base.Process(file, context, configuration, tempFileName); int imageWidth = 0; int imageHeight = 0; var imageExists = File.Exists(context.Server.MapPath("~/App_Data/RadUploadTemp" + "/" + tempFileName)); using (var fs = new FileStream(context.Server.MapPath("~/App_Data/RadUploadTemp" + "/" + tempFileName), FileMode.Open, FileAccess.Read)) { var imageByteSize = fs.Length; using (var image = Image.FromStream(fs)) { imageWidth = image.Size.Width; imageHeight = image.Size.Height; } } return result; }}Hi,
I'm attempting to show the end user some feedback on the items they've checked in a combobox and I want to send the checkedItems to a ListBox underneath showing what the user has checked. I'm having no luck with what I am trying.
Something like this:
ListBox1.Items.Add(ComboBox.CheckedItems.ToString());
<telerik:RadComboBox ID="rcbDaysOfWeek" runat="server" Width="150px" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" EmptyMessage="No day selected"> <Localization AllItemsCheckedString="All days" CheckAllString="Select all" /> <Items> <telerik:RadComboBoxItem Text="Monday" Value="1" Checked="true" /> <telerik:RadComboBoxItem Text="Tuesday" Value="2" Checked="true" /> <telerik:RadComboBoxItem Text="Wednesday" Value="3" Checked="true" /> <telerik:RadComboBoxItem Text="Thursday" Value="4" Checked="true" /> <telerik:RadComboBoxItem Text="Friday" Value="5" Checked="true" /> <telerik:RadComboBoxItem Text="Saturday" Value="6" Checked="true" /> <telerik:RadComboBoxItem Text="Sunday" Value="7" Checked="true" /> </Items></telerik:RadComboBox> var tabPanel = new RadTabStrip(); tabPanel.OnClientTabSelected = "onTabSelected"; var newTab = new RadTab() {Text = "All", Selected = true}; newTab.Attributes["type"] = "0"; tabPanel.Tabs.Add(newTab);........ foreach (var department in deparmentsDt) { var newTab = new RadTab() {Text = department.strDepartmentGroup_Name}; newTab.Attributes["type"] = department.intDepartmentGroup_ID.ToString(); tabPanel.Tabs.Add(newTab); }function onTabSelected(sender, args) { var tab = args.get_tab(); var attr = tab.get_attributes(); alert(attr.get_count()+" - " +attr.getAttribute("type") + " - " + tab.get_text());}