radgrid

RadGrid Doubleclick

I would like to fire off the server side selectedindexchanged method of a radgrid on doubleclick and not on click. Is it possible to do this??? <telerik:RadGrid ID="RadGridCashier" runat="server" AllowMultiRowSelection="False" DataSourceID="SqlDataSourceCashier" Skin="WebBlue" AutoGenerateColumns="false" AllowFilteringByColumn="true" ...

How to find a dynamically-generated HTML element?

I need to get the client-side instance of a RadComboBox (or the newly-selected value of a RadComboBox) when my RadGrid is leaving edit mode so I can post back the changed value to the server. The problem is, the client-side id of the object always changes. Also, the RadComboBoxes aren't created at runtime -- they're only created after ...

Telerik RadGrid refreshing a single row instead of using Rebind

I am using a RadGrid to display stock information. The data bound is a combination of 2 views and 2 tables. This is quite an intensive query, and the data behind it changes a lot. Now, when I update a value in a single row, I have to Rebind the data to update my grid (I use UpdateValues on the item, but it has no visible effect). This is...

How to change data context and re-render single RadGridRow

After rendering full grid I need to change data context of selected Row since initially "simple" objects are filled as data source and when single item is selected (looking at RowDetailsVisibilityChanged event), then I want to change DataContext to complex object, that shows much more info in details than in collapsed row. Using GridVie...

How to set BackColor of a table cell dynamically with a database value?

As a bonus to the project I'm currently working on, the people would like it if I could change the background color of individual table cells depending on what their value is. So in the RadGrid_ItemDataBound event handler I have, I'm trying to set the BackColor of the cell if the cell's text equals a certain value from a dataset in my da...

Code Behind Update Command in RadGrid Telerik (help)

Greetings Everyone I am new in asp.net and i'm using RadControls for Asp.net Ajax now. I tried to follow the Asp.Net GridDemo - Insert/Update/Delete and it seems to be not all working pretty fine with me so i did few changes and turned out to be somehow doing well but the update button still not working... I have this 2 tables tblUse...

How to read multilevel xml in vb.net, bind to radgrid

Hello, Please help me in reading this multilevel xml to a RadGrid. 1) I am planning not to use Aspx for this 2) The node named Item would eventually change as per app Requirements. So, I don't want to restrict my xpath to something like "//Product/Item" <Products> <Product ProductID="1"> <Item ItemID="1"> ...

Viewstate, datatable and properties!

Hello, Im developing a user control that contains two RadGrids. When a user selects a row in grid 1, the page postsback. At that point, I create a Datatable and DataRow and add it to grid 2's datasource. The problem I am experiencing overall is that the datatable is lost and re-created every time the page is posted back. I therefore t...

RadGrid doesn't update immediately with LINQ query in CustomValidator

Hi, I have a RadGrid that was working fine. I then added a CustomValidator which contains a LINQ. Now when you update the updates aren't shown immediately, the old data is there. You have to do a Refresh for the updated data to come through. I narrowed the problem down to a LINQ query in the CustomValidator. It goes something like this: ...

RadAsyncUpload not appearing in RadGrid edit

Hi, I have a RadAsyncUpload in a RadGrid EditItemTemplate. When I go Add New it appears fine. However when I attempt to Edit a current item it doesn't appear. The problem is only apparent when the RadGrid is ajaxified. Has anybody else experienced this, know how to fix it? ...

Getting ClientID of control in RadGrid edit form

I have Telerik RadGrid with a custom edit form. In my edit form there is a RadDatePicker to which I have added a custom footer template containing a 'Today' button. In the OnClick event of the button I call a Javascript function which takes the control ID to set the selected date. However, because the control is inside the edit form th...

How do you change the color of a Telerik GridGroupByExpression arrow?

Does anybody know how to change the color of GridGroupByExpression arrow shown at the link below? http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx I haven't figured out how to change the color from the default black. I'd like to change the several I have in my project to white (in the above demo it'...

Add Title Row to RadGrid exported Excel Sheet

I would like to add a Title row to an exported File from a Rad Grid. How can I do this? <telerik:RadGrid ID="RadGridHist" runat="server" DataSourceID="SqlDataSourceHist" Visible="false" AutoGenerateColumns="false" AllowPaging="true" AllowSorting="true" OnPageIndexChanged="RadGridHist_PageIndexChanged" OnPageS...

Radgrid: If click on edit or cancel => redirect Radsplitter(radpane) to external

ello to everybody, I have a radgrid page in edit modus inside a radpane. When you click on the edit or cancel buton of the radgrid then it gets only reloaded inside the radpane. As the radpane is quite long, you don't see the buttons opn the top. Does somebody how I might catch the edit/cancel click inside the radpane in order to get th...

Telerik RadGrid's paging section not refreshing

Hello All I have a problem with a telerik RadGrid where the paging section is not refreshing. If, for example, the first search returns 15 records and the second search only 5 records, I see '... page 1 of 2...' in the second search which is incorrect info caused by the paging section of the grid not refreshing. My page count is set to ...

DotNetNuke Skins dnn:Styles Condition and AJAX Problem

Hey there, We have a set of Skins which implements a condition for IE6 and is only supposed to load the IE6fixes.css file if it's IE6 making the request. Oddly though, when we use AJAX to update parts of the page we find a div which uses the class generalContentFormat to suddenly start using the IE6 fixes CSS. So on the initial call ...

Customizing the RadGrid EditItemTemplate Telerik

I created a RadGrid and added in the default edit stuff so that I can edit the data in my table. However, there is no validation for the controls that were generated and it is not very user friendly. I want to add some validation to the controls and also style them with css. What would be the best way to go about doing this? Is it possi...

Telerik RadGrid will not maintain spacing on editgrid setting

Telerik RadGrid will not maintain spacing on editgrid setting, it collapses on a null value. All null columns do not appear and cause the entire grid to not line up properly. Any suggestions on how to correct this issue? Thanks! ...

How to read xml child nodes, bind to GridTableView

For the below xml, Is there some way that I can read the nodelist Products, which comes in dynamically with many number of Childnodes, with its child nodes and having multiple number of Attributes in it? The motive being: Binding the xml to Radgrid with a hierarchial representation just like this <Results> <Products ID="1" B_Id="12" ......

Adding a RadDatePicker to a custom RadGrid Form Template

I have a RadGrid, with the EditFormSettings set to Template. Within my <FormTemplate> I have a RadDatePicker that I need to databind. My code: <telerik:RadDatePicker ID="rdpStartDate" runat="server" SelectedDate='<%# Bind("StartDate") %>'> </telerik:RadDatePicker> "StartDate" references the column name in my DB. I have attempt...