Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
I'm using 2011_2_712 and have Uploaded a project here.

I'm using a RadTabStrip to dynamically load various User Controls. Events on these user controls sometimes take multiple firings for them to land on the event handlers.

To see this,
1. Put a breakpoint on the Select statement of rgOrders_ItemCommand()
2. Navigate to Default.aspx
3. Press "Select" for one of the customers. (The first one, Alfreds Futterkiste has orders)
4. Click the Orders tab.
5. Click Select for one of the orders.
Notice the postback is lost.

6. Press Select again and the postback is correct.

In my real project it takes 2 postbacks for one telerik control and 3 for another.  Can anyone make sense of this or tell me what I'm doing wrong?

Thanks,
Dan
Dan Lehmann
Top achievements
Rank 1
 answered on 18 Jul 2011
4 answers
120 views
When exporting a Radgrid using ExcelML format, how can I set a property that is not defined in the WorkSheetOptionsElement?  For example, within the WorkSheetOptions XML, there can be a property named Zoom that allows you to set the Zoom of the Worksheet.  Can these be added using the InnerElements.Add Method and if so, how?

<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
   <Print>
    <ValidPrinterInfo/>
    <VerticalResolution>0</VerticalResolution>
   </Print>
   <Zoom>75</Zoom>
   <Selected/>
   <Panes>
    <Pane>
     <Number>3</Number>
     <ActiveRow>18</ActiveRow>
     <ActiveCol>4</ActiveCol>
    </Pane>
   </Panes>
   <ProtectObjects>False</ProtectObjects>
   <ProtectScenarios>False</ProtectScenarios>
  </WorksheetOptions>
Chris
Top achievements
Rank 1
 answered on 18 Jul 2011
7 answers
300 views
Does not look like the RadListBox (SelectionMode="Multiple) has a "max # of allowable selected items" attribute, so how may I programmatically limit it client side?

I've got the following so far. But how do I basically say if the # of selectable items is greater than 5, then remove the last selected item?

Thanks! (fyi, I did an extensive search of the forums, and documentation but could not find something that shows me how to do this).
How do i set "item" to the last selected item of the listbox? sounds like
listbox.get_selectedItem();

in a multi select listbox gets the first selected, not the "last selected".


function onSelectedIndexChanged(sender, args) {
    var listbox = $find("<%= MyListBox.ClientID %>");               
    var items = listbox.get_selectedItems();
 
    if (items.length > 5) {
        // var item = get last selected item ??
        listbox.trackChanges();
        listbox.get_items().remove(item);
        listbox.commitChanges();
         
    }
Paul J
Top achievements
Rank 1
 answered on 18 Jul 2011
6 answers
190 views
Hi

I have a grid with multi-row in-line edit that uses a command item template for edit/update/cancel.  When edit is selected all rows are put into edit mode with just the far right of many columns being editable.  This work fine, but I am wondering if there is a way to indicate which row is being edited so the user can easily folllow the row back to the columns on the left as they are doing data entry?  I would like to change the background or add some kind of indicator on each side of the grid indicating the row currently being edited.  Is this possible?

Thanks,
Gerald
Gerald
Top achievements
Rank 1
 answered on 18 Jul 2011
1 answer
42 views
I am working on putting together a proof of concept to provide an excel-like grid where the user can enter in all of the information first, add as many rows as needed, then save, etc. I have a prototype of that now, but there are two columns which allow large text entries. So when a user is typing in the grid and tabbing through, for basic fields (small text fields, numeric, dates, etc) this is fine, but when they get to the large text fields, they need more real-estate to view and enter data and would like to use the HTML Editor. Using the HTMLEditor in place doesn't look so nice, distorts the rows and columns, and they can't tab out of it to the next field. I would rather provide a link or button which will then popup an HTMLEditor (similar to Edit mode being set to popup, but only for those fields, and if the user hits the link/button to do so, either by clicking or hitting the Enter key when focus is on it).  Can this be done, and if so, what would be the best approach to handle this scenario?
Lori
Top achievements
Rank 1
 answered on 18 Jul 2011
2 answers
76 views
One of the things I've noticed in the help is the ability to expand or collapse a section. This feature is also very useful for our apps. Attached, you can see two pics showing open and close.
Which Telerik control is used to create these container with +, - to open/close?
Thanks!
..Ben
Ben Hayat
Top achievements
Rank 2
 answered on 18 Jul 2011
6 answers
135 views
Hi;
I just installed the new skin by copying it to my Bin and reference it from my project. However, if you go to the skin manger Smart tag, the list does not show in the dropdown list. But in other controls, you can see the new skins in the dropdown.
I'm including two screen shots.
..Ben
Ben Hayat
Top achievements
Rank 2
 answered on 18 Jul 2011
1 answer
67 views
Hello.

How can I change appearance of the days of month that overlap when using MultiView mode in RadCalendar. I mean that days that have cssClass rcOtherMonth.
I need that these days was distinguished from another when SELECTION IN CALENDAR ARE MADE. But trouble is that after selection all days that selected have only one cssClass rcSelected.

See attached picture please.

Please help me find the answer to this issue.

Thank you.
Martin
Telerik team
 answered on 18 Jul 2011
0 answers
80 views
Hi,

I have a Radgrid 1 whose data changes onclick of linkbutton in another RadGrid 2.
My problem is the RadGrid page index retains the same index selected when i click any link in Radgrid 2.
Actually for each click the Grid data changes so the page index also should reset to 0.
I had tried setting the Page index in viewstate to 0 but no luck.
Please help with example.


Thanks,
Priya
priya
Top achievements
Rank 1
 asked on 18 Jul 2011
2 answers
93 views
Our Telerik is Q2 2010. I recently updated our ASP.NET project from 3.5 to 4.0.
First problem I noticed is none of CustomValidators (inside ASP Panel, that is loaded through AJAX) are working. They actually render as spans, but without any of the usual attributes:
<SPAN style="VISIBILITY: hidden" id=TextBoxValidator></SPAN>
This is how they look, if I comment our RadAjaxManager:
<SPAN style="VISIBILITY: hidden" id=TextBoxValidator controltovalidate="RadTextBoxValue" clientvalidationfunction="RadTextBoxValue_Validate" validateemptytext="true" isvalid="true" enabled="false"></SPAN>
Next issue is the RadAjaxLoadingPanel that keeps spinning even after the AJAX request is completed.
When I comment out RadAjaxManager, everything seems to be working fine.
Alex
Top achievements
Rank 1
 answered on 18 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?