Forms Data Controls :: How To Select Row In Telerik Grid And Get Value Of Column 1

Jun 29, 2010 03:31 AM

I want to select the row of telerik radgrid and get the value of column 1For thi can't use select or deselect columns, Here i want to select row by clicking I also require code to get the value of column 1 of selected row


Forms Data Controls :: How To Select And Pass A Grid Column Value To A Text Box For Other Work

Oct 20, 2010 04:11 PM

i want know, How we can select and pass a grid column value to a text box for other work

View 3 Replies View Related

DataSource Controls :: How To Select Column Value From Grid And Hide A Column

Oct 19, 2010 01:35 PM

I'm trying to retreive a column value from gridview5 to use it in a query to display resuls in gridview, Also how do you hide a column in the grid?

Where (p.Link_ID Like GridView5.?


View 3 Replies View Related

Telerik MVC Grid - Putting A Button In A Column?

Oct 25 10 at 16:16

What im trying to do is have an edit button that instead of opening the line for editing, it forwards you to a page where you can edit. Is this possible? I tried something with the client template, but the grid render is ignoring it completely.

View 1 Replies View Related

C# - Telerik Grid With A JavaScript Confirm Box To Update A Column?

Mar 8 at 13:45

I have a Telerik grid. For each row there is a details table. The row is of type NominationTypeClass and the rows in the details table is of type Nomination. So what this means for each nomination type there is a list of nominations. The grid's code:


I have an action column that has a link that says Withdrawn. When clicked I have a JavaScript confirm box with a Yes or No option. If yes, then the nomination status is updated to withdrawn. Then I want the grid to be refreshed to show the updated status. I used the grid's update command to to show the show the JavaScript's command box. It updates, but is it the correct way to do it?

protected void rgMyNominations_UpdateCommand(object source, GridCommandEventArgs e)
StatusManager.InsertStatus( /* required parameters */ );
// Refresh grid
rgMyNominations.DataSource = GetNominationTypes();
rgMyNominations.DataBind();..... says that NominationDate is not a property of NominationTypeClass. This is wrong, I don't know why it is taking the type for the row to be the type of the details table? NominationDate is a property of Nomination. It seems like it is overriding the datasources.

View 1 Replies View Related

Telerik Grid MVC2 Missing Last Column Separator?

Jan 14 at 8:54

My grid has 5 data columns and 1 command column (update/delete)the column separator between command column and last data column is missing, making everything shift when entering inline edit mode.

this is the grid's view code:

.DataKeys(dataKeys =>
dataKeys.Add(e => e.ActivityID);
.ToolBar(commands => commands.Insert().ButtonType(GridButtonType.Image))........

View 1 Replies View Related

Best Practice To Manage Telerik RadGrid Grid And Column Widths?

May 25 10 at 10:12

I wanted to ask what is the best practice to manage width of the radGrid.

For my application most users are running 1280 x 1024 so I would be happy to set my overall grid width to 1100. However, depending on the form in use, I sometimes have horizantal scroll bars. To solve this, I have been playing with the width of the grid, and also I have played with setting the itemstyle-width for one or two columns. Sometimes I accidentally get it right, and sometimes it is not quite right.

What is the best way to manage this? Do I set the grid, and then all columns, or just the grid, or just the columns? I guess there is a best practice, so just wondering how you handle it,

View 2 Replies View Related

Customize The Filter Option For A Date Column Telerik Grid?

Dec 3 10 at 12:29

I am using telerik grid. I need to apply a filter for all the columns in my grid. Currenly I am customizing the filter option using the following code. By using the following code, I am removing the certain items for all the columns. But, for a date column what are the possible options for filtering in the grid and how to customize those filtering options?

Code Behind

protected void RGVTest_Init(object sender, EventArgs e)
GridFilterMenu menu = RGVTest.FilterMenu; [code]....

View 1 Replies View Related

Forms Data Controls :: How To Access Telerik Grid's Rows And Cells

Oct 20, 2010 06:14 AM


And in a submit button click event,I am writting the following code:ut,the problem is:I am gettting null for ChannelNumber,ServiceID,TransponderID,NetworkID,i.e.,not being able to access the values entered in those respective textboxes.Where am I going wrong?Do I need to write the same code in diff event?or diff code in diff event

View 1 Replies View Related

Forms Data Controls :: Force Grid View To Select Next Row On A Button_click Which Is Outside The Grid?

Jun 23, 2010 07:43 AM

Have a GridView with a templated select button hidden and using

e.Row.Attributes.Add("onclick",Page.ClientScript.GetPostBackEventReference(this.grdMaster, "Select$" + e.Row.RowIndex.ToString())); to select a row .

When user like to update the datasource he will select one row from gridview then in selected indexchanged event i would display the selected row values beneath the form under the grid , Then user will update the contents displayed from grid and click an update button which is outside the grid . After updating the displayed row , i got to get the values of the next row in the grid and display them for next updation , i'e if users maually selects row 3 from grid then he can update the values using the update button and then on update click itself i'll have to display next row contents of row 4 and this process could go on .

View 3 Replies View Related

Forms Data Controls :: Show Grid With All Orders And In Grid One Column With Last State Of Order?

Feb 02, 2011 07:41 AM

I have an entity "Order", which contains a set of states. Every state has date and name.

I want show grid with all orders and in grid one column with last state of order. But I dont understand how to do it.

View 1 Replies View Related

Forms Data Controls :: Show The Customer Column And OrderID Column In Grid View?

Dec 16, 2009 07:40 AM

I have 3 check box (chkCustomer,chkOrderID, chkAmount), 1 button and 1 grid view. If I click the chkCustomer and chkOrderID and then click the button. I want to show the Customer Column and OrderID Column in grid view. If chkCustomer and chkOrderID value are false and click the button. I don't want to show that data in grid view. Is it possible? Have any sample for it?

View 2 Replies View Related

Forms Data Controls :: How To Add A Column Header To A Column Of Auto Generated Select Buttons

Aug 18, 2010 09:20 PM

I have a gridview which has a column of auto generated select buttons, where a user can select a row.However, I would like to add a column header to my auto generated select buttons in order to make the gridview look complete, but I am unable to see how I can do this. Does anyone know how I can add a header text to an auto generated select button?

View 2 Replies View Related

Forms Data Controls :: Binding Data In Column Of Data Grid To Other Column?

Jul 26, 2010 01:26 PM

I have a boundcolumn that outputs string numbers. I have another column of checkboxes next to it. I need to have it so that when a user checks off a check box the value stored in the string column to the left is then plugged into a function on the server. How can I acheive this?Here is my code:



View 8 Replies View Related

Forms Data Controls :: Have A Grid View With Some Coulmns Like Name,Phone No Etc With Edit,Delete Column In Grid View?

May 27, 2010 11:02 AM

i have a grid view with some coulmns like Name,Phone no etc with Edit,Delete column in grid view. I click a row in grid view to Edit,it goes another page where i can edit all fields .Once i update i redirect the page to gridview. I want the grid view to remain in that particular page say 4 of the grid view

View 5 Replies View Related

How To Get Telerik MVC Grid Data

Dec 15 10 at 14:19

How can i pass mvc telerik grid data to controller using Ajax call.I need to save the telerik MVC grid data in database.

View 2 Replies View Related

Forms Data Controls :: Select A Row In Grid View?

Jul 07, 2010 05:49 AM

I have two questions concerned with the GridView Data Control:1) I have displayed the data in four different columns in the GridView. My requirement is when I click anywhere within a row, its data should be retrieved. I can retrieve that data myself but don't knowhow to select a row in Grid view.I don't have to use the Select button here to select a particular row.2) I have a checkbox list. I want to retrieve the 'names' of the columns from a table and add these names of the Check Box list.How do we get the names of columns instead of data from a table?

View 6 Replies View Related

Telerik Rag Grid Data Refresh Error After Edit?

Aug 24, 2009 06:02 PM

I using telerik grid with templateform for add and edit data. When i edit data or add data i cant see changes until restart page.I load data in following method

protected void Page_Load(object sender, EventArgs e)
if (!Page.IsPostBack)


View 1 Replies View Related

Forms Data Controls :: Select / Deselect Checkboxes In A Grid?

Jan 05, 2010 06:14 PM

I am using a gridview where there are 6 cols and the last col consist of checkboxes. I wrote a code such that all the checkboxes in the col are selected or deselected at once by clicking the header checkbox. Now the issue is since I am using paging for the Gridview, once I select the checkboxes in the last col and go for the next page and come back to the previous page the checkboxes are deselected. I want to keep the checkboxes selected even after pagination.

View 1 Replies View Related

Forms Data Controls :: How To Sort Grid On Two Column

May 12, 2010 04:35 PM

In gridview I am able to sort on 1 column as mentioned below, I want to add one more column in sorting, what is the best way to do this,


View 2 Replies View Related

Forms Data Controls :: Add Images In Column In Grid?

Jan 27, 2011 08:56 AM

how to Add images in column but the column have data and the images will added with data but each data in cell have image


i have phone and there is

Missed Call
Incoming Call
Outgoing Call

in same column

how to add image per data cell

View 1 Replies View Related

Forms Data Controls :: Automatically Add Column To Grid From Db?

Feb 06, 2011 08:41 PM

How add programatily or dynamic column in grid view

i have an sql table of 3 colums


every time i insert a a row inmy database table

i want to add this column to gridview

in another way gridview will be expandable

this is the layout of the grid:

ID ProductName Week1

Second time i added week2 to database row grid layout like this:

ID ProductName Week1 Week2 (here i want to add week2 column because a new row is inserted to my sql table)

grid now have 5 columns (the fifth is week5)

ID ProductName Week1 Week2 week5

View 10 Replies View Related

Forms Data Controls :: Show The Another Grid In The Same Column?

Jan 23, 2011 07:01 PM

I have a gridview and in this grid one link button "view" is in each row

when we click on view button we want to show the another grid in the same column

View 12 Replies View Related

C# - Accessing Linq Data In Telerik Grid ItemCreated Method?

May 17 10 at 1:09

I have a telerik grid bound to a Linq data object, however, I limit the fields returned:

<IQueryable>filter = data.Select(x => new {x.ID, x.Name, x.Age});

I would like to access these fields in the ItemCreated method of the grid:

protected void rgPeople_ItemCreated(object sender, GridItemEventArgs e)
Telerik.Web.UI.GridDataItem item = (GridDataItem)e.Item;
?????? Person = (???????)e.Item.DataItem;

What do I declare ?? as so that I can use:

String ID = Person.ID;

String Name = Person.Name; etc

View 2 Replies View Related

Forms Data Controls :: Select A Grid Row Based On Query String Data?

Jan 13, 2010 09:02 PM

I need to know how can I select a gridview row based on a query string data. In my case, the query string will contain the id that exist in the Table related to that grid. Is there a way to do this from the code behind? In other words, if I click a link with that specific query string, can I open the page and tell my grid to select a specific row based on the table row id?

View 1 Replies View Related

Forms Data Controls :: Select Data From Grid View And Show In Pop Box

Mar 31, 2010 12:18 PM

I have a Gridview that show the values from mysql database .Can U tell me whn I click on linkbutton on grid view then Display the pop Box nd Data show in textboxes in pop box

id 01
Name GD
Ph 09582901670

View 11 Replies View Related

Forms Data Controls :: How To Select Data In A Grid View And Add It To A Table

Mar 28, 2011 04:11 PM

Im coding in VB Im looking to transfer data from a gridview to a table. In the grid view i have enabled Selection, and on the code behind, as i need help getting started selecting the attributes adding it to a table. The grid is being populated from a table however i would like to take the information selected and store it in another table, which will have some more attributes. i have found a way which will add the row by an sql query from one table to another however i would like to give the user the option to select and add data to the table.

And i was thinking i could use this SQL query in the code behind but im not sure how to add it to the code behind of the select.


View 1 Replies View Related

Forms Data Controls :: Select In Grid View When Using Gridview.databind()?

Feb 13, 2010 05:04 PM

I am using a dataset for the first time and so far it is going quite well. The one thing that I have not found in tutorials though is how to add a select command to the gridview when i do gridview.databind()

The gridview is just a simple click and add at this point and my code looks like this:


View 1 Replies View Related

Forms Data Controls :: Select All / UnSelect All Checkbox In Grid View?

Dec 08, 2010 03:21 AM

I am using grid view control and Add Check box as template column All, Create,Edit and Delete, Page name(Data bound column) for given page access permission to the user. User can Create, Edit and Delete the page content based on permission.

If I Select/UnSelect All check box Select/UnSelect the other check boxes Create,Edit and Delete on selected row in the grid.

View 3 Replies View Related

Forms Data Controls :: Select All Rows In Grid From A Click Event?

Oct 20, 2010 10:14 PM

I'm using the code below to select multiple rows in a gridview using a checkbox, how do I modify the code in a "select all" button click event to select all the rows by checking the checkboxes in all the rows? How do I also clear all the checkboxes using sa "Clear" button click event?

<asp:GridView ID="GridView2" runat="server" Height="211px" Width="16px">
<asp:TemplateField HeaderText="SomeText" > [code]....

View 3 Replies View Related

Forms Data Controls :: Grid View Select Button Coding?

May 18, 2010 03:36 PM

i hv recently join this community. my problem is that i am using grid view in my website. I hv three diff select button in this grid can i redirect the page on the click of these three button on diff pages .

View 3 Replies View Related

Forms Data Controls :: When Select Items From Second Dependent Dropdown Does The Grid Display Data

Jun 08, 2010 06:06 PM

Iam trying to understand why my sqldatasource control bound to gridview will not return data while i have cascading dropdownlist coded in pageload and selected events respectively?

from which sqldatasource control stored procedure obtains its parameter values.

only when i select items from second dependent dropdown does the grid display data?

View 10 Replies View Related

Forms Data Controls :: How To Hide Grid View Column

Sep 21, 2009 04:44 AM

i am having grid view with three columns.

when the user click the column the the 2nd column should hide.

View 3 Replies View Related

Forms Data Controls :: How To Hide A Column In A Grid View

Aug 19, 2010 05:31 AM

i have a grid view myGridView. I populate this gridview in the page load event as:

myClass newObj = new myClass();
myGridView.datasource = newObj.getItems();

Now I wanted to hide some of the columns of the grid view. How I can do that?

View 5 Replies View Related

Forms Data Controls :: How To Add Dynamic Header Column To Grid

Feb 07, 2011 09:12 AM

I need to add dynamic header column to grid Urgent from database table

how can i achieve this

my gridview should be expandable horizantally

View 14 Replies View Related

Forms Data Controls :: Add Another Column In Grid Which Display Check Box

Jun 22, 2010 09:54 PM

I am displaying some data in a grid view. I want to add another column in the grid which displays a check box for each row in the grid.

1. How do I give a new name to each textbox? example could be corresponding Case No value could be the text box name.

2. I have a button to read what checkboxes have been checked and initialize a string accordingly. For each checkbox checked it should add the corresponding row's "case no" value to a string.


View 6 Replies View Related

Forms Data Controls :: How To Display The Sum Of The Grid Values (column)

Oct 27, 2010 07:30 AM

how to display the sum of the grid values (column).

I have 2 datagrids and i want to show the total of the values in a particular grid column.

in a column, each row has vaules E.g. 4 , 6, 7 etc .

I want to show them in a label as the total of the above ie, 17

View 2 Replies View Related

Forms Data Controls :: Have 2 Linkbuttons In The Same Column In Grid View

Nov 03, 2009 05:53 AM

As the subjects says it all, I need to have2 Command Name link Buttons , as "Edit / Delete" in the same Column. I have a GridView_Rowcommand that takes care of the Edit and Delete functionalitites. How do I get both the buttons in the same column ?

View 7 Replies View Related

Forms Data Controls :: Making A Data Grid Column A Hyperlink With The Text Of The Underlying Data

Nov 18, 2010 11:33 PM

I would like to add a column in my datagridview that takes the value from the database and asigns it to the text of a linkbutton or make it a hyperlink. i know how to handle getting the value from the row but dont
know how to make a value a link, or set the text to a link button

View 3 Replies View Related

Forms Data Controls :: Select Row And Column In GridView

Aug 25, 2010 08:25 PM

I have a buttonfield button on my gridview, when I click of the buttons on one of the rows, from colunm[0] row[0] I need to display that contents in a textbox on another div and panel. How do I do that?

View 3 Replies View Related

Copyrights 2005-14, All rights reserved