Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP.NET


Advertisements:










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


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


View 4 Replies (Posted: Jun 29, 2010 03:31 AM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
Forms Data Controls :: How To Select And Pass A Grid Column Value To A Text Box For Other Work
i want know, How we can select and pass a grid column value to a text box for other work

Posted: Oct 20, 2010 04:11 PM

View 3 Replies!   View Related
DataSource Controls :: How To Select Column Value From Grid And Hide A Column
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.?

[code]....

Posted: Oct 19, 2010 01:35 PM

View 3 Replies!   View Related
Telerik MVC Grid - Putting A Button In A Column?
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.

Posted: Oct 25 10 at 16:16

View 1 Replies!   View Related
C# - Telerik Grid With A JavaScript Confirm Box To Update A Column?
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:

<telerik:RadGrid
AllowPaging="true"
AllowSorting="true"
AutoGenerateColumns="false"
GridLines="None"
ID="rgMyNominations".......

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)
{
try
{
StatusManager.InsertStatus( /* required parameters */ );
// Refresh grid
rgMyNominations.DataSource = GetNominationTypes();
rgMyNominations.DataBind();.....

...it 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.

Posted: Mar 8 at 13:45

View 1 Replies!   View Related
Telerik Grid MVC2 Missing Last Column Separator?
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:

<%=
Html.Telerik().Grid<ActivityPOCO>()
.Name("ActivityGrid")
.DataKeys(dataKeys =>
{
dataKeys.Add(e => e.ActivityID);
}
.ToolBar(commands => commands.Insert().ButtonType(GridButtonType.Image))........

Posted: Jan 14 at 8:54

View 1 Replies!   View Related
Best Practice To Manage Telerik RadGrid Grid And Column Widths?
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,

Posted: May 25 10 at 10:12

View 2 Replies!   View Related
Customize The Filter Option For A Date Column Telerik Grid?
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]....

Posted: Dec 3 10 at 12:29

View 1 Replies!   View Related
Forms Data Controls :: How To Access Telerik Grid's Rows And Cells
[Code]....

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

Posted: Oct 20, 2010 06:14 AM

View 1 Replies!   View Related
Forms Data Controls :: Force Grid View To Select Next Row On A Button_click Which Is Outside The Grid?
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 .

Posted: Jun 23, 2010 07:43 AM

View 3 Replies!   View Related
Forms Data Controls :: Show Grid With All Orders And In Grid One Column With Last State Of Order?
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.

Posted: Feb 02, 2011 07:41 AM

View 1 Replies!   View Related
Forms Data Controls :: Show The Customer Column And OrderID Column In Grid View?
I have 3 check box (chkCustomer,chkOrderID, chkAmount), 1 button and 1grid 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 chkOrderIDvalue 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?

Posted: Dec 16, 2009 07:40 AM

View 2 Replies!   View Related
Forms Data Controls :: How To Add A Column Header To A Column Of Auto Generated Select Buttons
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?

Posted: Aug 18, 2010 09:20 PM

View 2 Replies!   View Related
Forms Data Controls :: Binding Data In Column Of Data Grid To Other Column?
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:

[Code]....

[Code]....

Posted: Jul 26, 2010 01:26 PM

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?
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

Posted: May 27, 2010 11:02 AM

View 5 Replies!   View Related
How To Get Telerik MVC Grid Data
How can i pass asp.net mvc telerik grid data to controller using Ajax call.I need to save the telerik MVC grid data in database.

Posted: Dec 15 10 at 14:19

View 2 Replies!   View Related
Forms Data Controls :: Select A Row In Grid View?
I have two questions concerned with the GridView Data Control:1) I have displayed thedata 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 butdon't knowhow to selecta row in Grid view.I don't have to usethe Select button here to select a particular row.2) Ihave 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?

Posted: Jul 07, 2010 05:49 AM

View 6 Replies!   View Related
Telerik Rag Grid Data Refresh Error After Edit?
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)

[code]...

Posted: Aug 24, 2009 06:02 PM

View 1 Replies!   View Related
Forms Data Controls :: Select / Deselect Checkboxes In A Grid?
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.

Posted: Jan 05, 2010 06:14 PM

View 1 Replies!   View Related
Forms Data Controls :: How To Sort Grid On Two Column
In gridview I amable to sort on 1 column as mentioned below, I want to add one more columnin sorting, what is the best way to do this,

[Code]....

Posted: May 12, 2010 04:35 PM

View 2 Replies!   View Related
Forms Data Controls :: Add Images In Column In Grid?
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

Example

i have phone and there is

Missed Call
Incoming Call
Outgoing Call

in same column

how to add image per data cell

Posted: Jan 27, 2011 08:56 AM

View 1 Replies!   View Related
Forms Data Controls :: Automatically Add Column To Grid From Db?
How add programatily or dynamic column in grid view

i have an sql table of 3 colums

ID,Product,Week

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

Posted: Feb 06, 2011 08:41 PM

View 10 Replies!   View Related
Forms Data Controls :: Show The Another Grid In The Same Column?
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

Posted: Jan 23, 2011 07:01 PM

View 12 Replies!   View Related
C# - Accessing Linq Data In Telerik Grid ItemCreated Method?
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

Posted: May 17 10 at 1:09

View 2 Replies!   View Related
Forms Data Controls :: Select A Grid Row Based On Query String Data?
I need to know how can I select a gridview row based ona 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?

Posted: Jan 13, 2010 09:02 PM

View 1 Replies!   View Related
Forms Data Controls :: Select Data From Grid View And Show In Pop Box
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

Posted: Mar 31, 2010 12:18 PM

View 11 Replies!   View Related
Forms Data Controls :: How To Select Data In A Grid View And Add It To A Table
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.

[Code]....

Posted: Mar 28, 2011 04:11 PM

View 1 Replies!   View Related
Forms Data Controls :: Select In Grid View When Using Gridview.databind()?
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 selectcommand 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:

[Code]....

Posted: Feb 13, 2010 05:04 PM

View 1 Replies!   View Related
Forms Data Controls :: Select All / UnSelect All Checkbox In Grid View?
I am using Asp.net 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 onpermission.

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

Posted: Dec 08, 2010 03:21 AM

View 3 Replies!   View Related
Forms Data Controls :: Select All Rows In Grid From A Click Event?
I'm using thecode below to select multiple rows in a gridview using a checkbox, how do I modify the code in a "select all" button click event toselect 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">
<Columns>
<asp:TemplateField HeaderText="SomeText" > [code]....

Posted: Oct 20, 2010 10:14 PM

View 3 Replies!   View Related
Forms Data Controls :: Grid View Select Button Coding?
i hv recentlyjoin thiscommunity. myproblem is that i amusing grid view in my website.I hv three diff selectbutton inthisgrid view.how can iredirect the page on the click of these three button on diff pages.

Posted: May 18, 2010 03:36 PM

View 3 Replies!   View Related
Forms Data Controls :: When Select Items From Second Dependent Dropdown Does The Grid Display Data
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 dropdowndoes the grid display data?

Posted: Jun 08, 2010 06:06 PM

View 10 Replies!   View Related
Forms Data Controls :: How To Hide Grid View Column
i am having grid view with three columns.

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

Posted: Sep 21, 2009 04:44 AM

View 3 Replies!   View Related
Forms Data Controls :: How To Hide A Column In A Grid View
i have a grid view myGridView. I populate this gridview in the page load event as:

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

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

Posted: Aug 19, 2010 05:31 AM

View 5 Replies!   View Related
Forms Data Controls :: How To Add Dynamic Header Column To Grid
I need to add dynamic header column to grid Urgent from database table

how can i achieve this

my gridview should be expandable horizantally

Posted: Feb 07, 2011 09:12 AM

View 14 Replies!   View Related
Forms Data Controls :: Add Another Column In Grid Which Display Check Box
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.

[code]....

Posted: Jun 22, 2010 09:54 PM

View 6 Replies!   View Related
Forms Data Controls :: How To Display The Sum Of The Grid Values (column)
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

Posted: Oct 27, 2010 07:30 AM

View 2 Replies!   View Related
Forms Data Controls :: Have 2 Linkbuttons In The Same Column In Grid View
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 ?

Posted: Nov 03, 2009 05:53 AM

View 7 Replies!   View Related
Forms Data Controls :: Making A Data Grid Column A Hyperlink With The Text Of The Underlying Data
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

Posted: Nov 18, 2010 11:33 PM

View 3 Replies!   View Related
Forms Data Controls :: Select Row And Column In GridView
I have a buttonfield button on my gridview, when Iclick of the buttons onone of the rows,from colunm[0] row[0] I needto display thatcontents in a textbox on another div and panel. How do I do that?

Posted: Aug 25, 2010 08:25 PM

View 3 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved