Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
118 views
Hello There,

I kinda have a problem because i would like to set the header data (titles) using the code behind.
cbxName.Header.FindControl("id") doesn't really do the trick.

Why do I need this? Well I need to set the titles in the proper languages.

Thanks in advance.
Guido S
Top achievements
Rank 1
 answered on 27 Nov 2012
7 answers
747 views
I have a RadGrid with paging.  There are 45 pages with 10 items per page.  If I call RadGrid1.Items, I only get the 10 items on the first page.  I want to get all 450 items.  How would I go about doing this?  Thanks.
Eyup
Telerik team
 answered on 27 Nov 2012
13 answers
644 views

We have been trying to use a combination of features of the RadComboBox. We want to use Load-on-Demand with CustomText AND also set/persist a SelectedValue, with a large number of records. We have encountered a couple issues that prevent us from accomplishing our goal.

The online demo ( http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx ) narrowly avoids one of the major issues we have encountered with the suggested implementation of load-on-demand. The online demo loads just enough records per request (10) that no matter what custom text is entered, there is never more than one request worth of filtered items to load. We often need multiple requests to load all of the matching/filtered items for the custom text, but the demonstrated method reverts to loading unfiltered items after the first request. We tried working around this issue ourselves, but then ran into another quirk of the load-on-demand mechanism.

The demonstrated method seems to only be feasible in the context of a single pass questionaire. Our application requires users be able to view and edit previous selections in fields with load-on-demand enabled. We are able to set a selected value, but then load-on-demand breaks. Every time the user clicks the load more results button, another duplicate of the selected value is added to the list. We tried various workarounds without success. We cannot distinguish between the first request (showing the selected value) and subsequent requests (showing filtered or unfiltered items based on the custom text).

We need to accomplish the following with the RadComboBox:

  1. Load-on-demand (we have very large lists of items to select from in our application)
  2. Custom text/filter (loading multiple pages of items isn't enough, we need to filter the list)
  3. Selected value (on returning to the page, the user needs to be able to see what they selected previously as well as select a new value)

 

We are very close to having all three features working together, but are missing a piece. When the user opens the combobox, sees the selected value listed as the only item, and clicks the load more results button, we need to load unfiltered items instead of filtered items. We can always load the unfiltered items, but then we have the opposite problem: the custom text is never used to get a filtered list of items. This is the last obstacle to overcome in order to get load-on-demand working in our application the way it should (we think) by design.

Golem
Top achievements
Rank 1
 answered on 27 Nov 2012
3 answers
162 views
Hi,

I need to provide a grid with the possibility of fast input. My "dream scenario" is:

1. Grid loads existing items. We have two columns one invisible with database ID and one text column "Name".
2. Then I want the user to client-side be able to fast add new items without the need of pressing a "New item" button and just press enter to confirm the actual row to begin editing another new row. Then the button "Save" is pressed, a post-back is generated and on the server I can iterate through "RadGrid.ClientChanges" and add all newly added rows to the database.

Is this possible?

Thanks!
Eyup
Telerik team
 answered on 27 Nov 2012
1 answer
71 views
hi all,
  Can any one help to find that Is Telerik product support for Visual Studio Express? If yes which version 2008 / 2010/ 2012?
Iana Tsolova
Telerik team
 answered on 27 Nov 2012
7 answers
114 views
Hi Telerik team,

I have a problem with RadMenu on fifefox (please see error_firefox.jpeg) but on IE, it works fine (please see fine_ie.jpeg)

Please give me a solution to solve this.

Thanks,
Kate
Telerik team
 answered on 27 Nov 2012
4 answers
75 views
Forgive me as this post is not very specific. We are using a PeterBlum.DES.Web.WebControls.DateTextBox on a webpage. It works fine until we do a search and a postback occurs. Now clicking on the calendar control dropdown arrow to show the calendar produces this error:

Unhandled exception at line 8, column 21447 in http://localhost:16007/CESIReportExec/DES/GetFiles.aspx?type=scripts&version=5.0.1.5000&files=0_1_2_4_7_8_9_15_16_17_18_20_22_24_27_31_33_41_44_49_54

0x800a138f - Microsoft JScript runtime error: Unable to get value of the property '10': object is null or undefined

The code that produces this appears in teh IE debugger: "vMO.MYMonth.innerHTML=(vMO.AMN?vCI.AMN[vM]:vCI.MN[vM]);"
which is in DES\GetFiles.aspx. I know that vMO.AMN is undefined and vM=10; This code is just a small part of a large amount of Telerik code. Is there anything else you need from me to give me some idea as to what I can do?

Thank you.

Lee
Top achievements
Rank 1
 answered on 27 Nov 2012
2 answers
34 views
Hi. my question is pretty simple ( i think)
i have a standard html table. in a asp.net page.
i do not want to use radGrid or any other controls for this. (long story)
all i want is some how the ability to send to the api the entire DOM element and have that save on pdf.
is that possible? or must i use the RadControls on the page?

thanks
Kostadin
Telerik team
 answered on 27 Nov 2012
1 answer
148 views
Hi All,

I have a server control that contains a RadButton, and an associated RadMenu. I have this all working on the page as a stand-alone control.

However, when I click the RadButton, it raises the ItemCommand event for the grid, against the selected GridRow. When I click a menu item, it raises the internal event on the server control, but it is never passed out to the host page.

Ideally, I would like the Button and the Menu portions to expose their events to the host page through the same route (I've got a click event on the server control that both are raising, but I don't think I can hook into this from inside a grid unless I manage some ItemDataBound events - which I don't want the developer to have to do).

I know you can associate a context menu with the grid itself, but this isn't how I want the control to work. Each row has one of these controls, and each has it's own associated RadButton, and RadMenu. Unique to the row.

Is it possible to have the RadMenu inside my control raise the ItemCommand event on the associated grid? Alternatively, is there a way to handle the button click events on the row, without it raising the ItemCommand event?
Fergal
Top achievements
Rank 1
 answered on 27 Nov 2012
3 answers
92 views
Hi,

I'm having trouble getting the filtering to work on a RadGrid that I'm using.

I have a static RadGrid object on the .aspx page like this:
<telerik:RadGrid ID="rgCustomReport" AllowSorting="true" DataSourceID="odsCustomReport" PageSize="50"
 runat="server" OnItemCreated="rgCustomReport_ItemCreated" AllowPaging="true"
 AllowFilteringByColumn="true" EnableViewState="true"
 ShowFooter="true" AutoGenerateColumns="false" OnItemDataBound="rgCustomReport_ItemDataBound"
 Skin="WebBlue" OnPageSizeChanged="Grid_SizeChanged"
 OnSortCommand="rgCustomReport_SortCommand">
 <PagerStyle Mode="NextPrevAndNumeric" Position="TopAndBottom" AlwaysVisible="true" />
</telerik:RadGrid>

The data for this grid is bound ultimately from a DataTable.AsDataView() call on a table that is generated through many functions on every single page postback.

The filter boxes show up fine on top of each column, but when I type in a value, then hit 'Contains' (for example) I get a really weird behaviour.  And I'm not sure how to evaluate it.

After the filter is entered the grid looks like this :

http://tinyurl.com/cjf6d66

Its adding blank columns on, and filter on the wrong column.

Any help is appreciated 
Thanks!


Andrey
Telerik team
 answered on 27 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?