Multiple Cell Editing Within A Grid?
Jul 12, 2010
So I'm looking for a way to allow a user to enter numbers and dates into a grid of cells in bulk. What would be ideal is if they could simply highlight/select a range of cells, type "42" or "12/31/2010", and move on and then "42" or "12/31/2010" would exist in every cell. This is kinda like entering data into Excel that we're trying to mimic but we don't need a true spreadsheet-like control here.
So are there any third-party solutions that do this? As far as I can tell, Telerik, Infragistics, and all of the other usual third-party component vendors don't provide such a product.
View 1 Replies
Similar Messages:
Apr 9, 2010
How to do the datagrid cell editing? My need is "I want to update the datagrid cell values individually". At that time of editing, i want to pick the values from dropdownlist, calendar,etc.. controls.I tried a code, but its not working properly. I always taking the cell value only, not the control value. H
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TestGrid.aspx.vb" Inherits="TestLeadManager.TestGrid" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" > [code]....
View 3 Replies
Jan 12, 2010
through all the frustration I have settled most of my MVC frustrations and got my jQuery Grid to display data based on user input (parameters), and of course, life just wouldn't be fun without more problems to solve.How do you handle jQuery Grid editing (not the edit in place) in an MVC application. I know you use the editUrl property of the grid to access the Controller in the MVC application, but it doens't seem to take any parameters. Can anyone provide a sample of using jQuery Grid in an MVC application. PLEASE DO NOT GIVE ME LINKS TO ALL THE EXAMPLES OUT THERE....unless you find one specifically that does editing, deleting, and adding, because I have spent the past month looking on the web and in the jQuery documentation
View 9 Replies
May 25, 2010
I need to create a MVC view with a large grid of data allowing the user to edit the values and then save. By large i mean up to 15000 rows in the grid, much like a spreadsheet. I'm finding this to be extremely slow on the view side and even not responsive when adding javascript to make things a little richer.What methods can you all recommend for tackling such a requirement?
View 7 Replies
Dec 1, 2010
i am working in MVC and using jquery.jeditable plugin.The editing is working fine in grid.when i update the content in grid & click on enter the edit post from my controller cllass is called & returns a string as updated text. i want to show a message somewhere else on my page after the update is done.
[HttpPost]public
string edit(FormCollection collection)
{.....
// show success message on page other then grid column
... return <updated column value>;
}
View 2 Replies
Oct 27, 2010
how to focus on grid Row while editing , i mean preserve position after clicking editing or updating
i have gridview of 5000 rows i don t want to scroll up or down after editing or updating, i want to return to the same row to make sure that this row is updating
View 5 Replies
May 22, 2010
my grid view is connecting to the db. but now i cant do eding when i click on it it just dont do the new values. here is my code:
[Code]....
View 3 Replies
Jul 11, 2010
Is there anyway i can place a HTML Editor inside the gridview´s edit template? I tried this on the top:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
TagPrefix="cc1" %>
And my template field for the text (which was suppose to be with HTML):
[Code]....
I tried to place the HTML Editor inside the Gridview and it didnt work.
View 3 Replies
Jun 2, 2010
I am using Gridview and on that data is binded conditionally.the problem is that at the time of editing whole row of the grid is in editable mode and i want only few of the columns editable. my code is as follows
[code]....
View 4 Replies
Mar 10, 2010
i m using the statement below to store value of grid cell into a text box .But (GridView1.Rows[i].Cells[4].Text) is displaying as null .Project_name.Text = GridView1.Rows[i].Cells[4].Text;
View 1 Replies
Jan 4, 2010
My grid view had tomany item in my website,it showing Horizontal scrool bar how to avoid this scrool bar or how to split Grid view after clicking the row editing templete.
View 2 Replies
Apr 8, 2010
how to detect grid view empty cell ? I need it for highlighting. So I made a css
.RedColored
{
background: FF0000; [code]....
and trying to appear it to empty GV cells this way :
protected virtual GridView1_RowDataBound (_sender : object, e : System.Web.UI.WebControls.GridViewRowEventArgs) : void [code]...but my it doesn't appears to empty cells , even I've tried Text=="" , Cell[i]==null, Cell[i].ToString()=="" and nothing helped.
recoded to : def IsCellNull(cell : TableCell) : bool
{
| null => true[code]....
But !!! It even doesn't helped , it works without WHEN, but when (if) can not find empty cells :P
Finally : solved with this code :` e.Row.Cells[0].CssClass = "wide";
def IsCellNull(cell : TableCell) : bool [code]....
View 2 Replies
Nov 8, 2010
whenever there is two or more digit in a grid view each digit should be displayed in new row
eg if 111 then
1
1
1
View 2 Replies
Sep 26, 2010
i have grid view and in item template i use a ajax rating out side the grid view rating work well but inside no.
i want to sum the value that client vote with the previous votes i read many tuterials but i cant sum.here is my code:
[Code]....
and my code behind is:
[Code]....
View 3 Replies
Feb 15, 2011
In asp.net Grid view control whether it is possible to bind the data to the cell of gridview without using SQL or SQL connection
View 1 Replies
Dec 28, 2010
I am not sure that what is the problem. But you can see the out of my grid in the following figure. The first cell doesnot appears !!.
[URL]
If i move to some other page of the grid and come back then the first cell appears and in some other scenerio it again disappears.
Here is my Grid Row data bound event.
[Code]....
My Row Created event
[Code]....
My Render Header Function. This function is creating a merged header as you can see in the image.
[Code]....
View 8 Replies
Jul 11, 2010
I'm triying to manage a database table through a gridview and I need to do insert, update and delete actions.
GridView_RowCreated to get the row index that was clicked
GridView_RowCommand to call (in my case an stored procedure) the function which will do the database operations.
That's part of my code:
[Code]....
and
[Code]....
row.Cells[1].Text and row.Cells[2].Text is returning "" when I'm expecting for "ONE" and "1".
View 2 Replies
Sep 25, 2010
I need to know that how i can edit the particular cell value in grid view at run time just by clicking it(value) then it shows text box and after enter any value, it then save in database.
View 1 Replies
Dec 29, 2010
I have a form that has a detailsview. In that detailview I have and edit button that is visible only when a condition is met. I made the edit command field a template to achive this. My Question is can I have multiple conditions that make the edit button visible. Attached is my current linkbutton with the current variable.
[Code]....
View 5 Replies
Dec 29, 2010
i have a gridview inside an edittemplate formview control in a master/detail scenario
so in the formview i have some comboboxs/datepicker/..etc corresponding to the master table
and a gridview corresponding to the detail table
in this gridview i enabled multi editing of rows like in this article[URL]
the problem is that even i change the values on the gridview , if i click the update button of the formview the "details table" changes isn't submited to the database
View 4 Replies
Oct 14, 2010
Using C# in the ASPX file, I define a grid:
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
OnRowDataBound="OnRowDataBound"
BorderStyle="Double" Caption="Club's Dashboard"
CaptionAlign="Top" Width="292px" EnableTheming="False"
HorizontalAlign="Left" CellPadding="5">
<HeaderStyle BackColor="Fuchsia" Wrap="False" />
<RowStyle HorizontalAlign="Center" Wrap="False" />
<columns>
<asp:boundfield datafield="B2" headertext="." htmlencode="false"/>
<asp:boundfield datafield="PRPT" headertext="TestA<br/>TestB" htmlencode="false"/> ........ Notice the .<.b.r././.> TAG between "TestA" and "TestB"
</columns>
</asp:GridView>
In the ASPX.CS file I define a datasouce and manually populate it.
DataColumn MDC = new DataColumn();
MDC.AllowDBNull = false;
MDC.AutoIncrement = true;
MDC.AutoIncrementSeed = 1;
MDC.AutoIncrementStep = 1;
MDC.ColumnName = "B2";
MDC.DataType = System.Type.GetType("System.String");
MDC.Unique = false;
MDT.Columns.Add(MDC);
MDC = new DataColumn();
MDC.ColumnName = "PRPT";
MDC.DataType = System.Type.GetType("System.String");
MDT.Columns.Add(MDC);
I then manually fill each row:
DR = MDT.NewRow();
DR["B2"] = "Test1<br/>Test2";
DR["PRPT"] ="Test3<br/>Test4";
MDT.Rows.Add(DR);
When the Grid is viewed using IE - both the Header and the data rows properly display the cells with multiple lines. When displayed using Firefox or Safari - only the Header utilizes multiple lines - the data rows are on a single line ---- "Test1Test2" what needs to be done to display multiple lines in all three browsers.
View 1 Replies
Mar 1, 2011
i m binding data grid dynamically in tab container.
but now i want to edit the data or pass the debuging point on row editing event but it is now working.
i cannot debuging on row editing due to tab contaner.
View 1 Replies
Mar 30, 2010
i have a datagrid view with two columns. the first column is readonly and the other is editable. now i want every cell of the second column to support for mulitilines in each cell. i want to press enter key and come to the next line in the same cell. im using c#.
View 1 Replies
May 13, 2010
i have a countries list. Each user can check multiple countries. Once saved, this "user country list" will be used to get whether other users fit into countries certain user chose.
Question is what would be the most efficient approach to this problem...
I have one, one to save user selection as delimited list like Canada,USA,France ... in single varchar(max) field but problem with it would be that once user from Germany enters page i perform this check on. To search for Germany i would be needed to get all items and un-delimit each field to check against value or to use sql 'like' which again is pretty damn slow...
Just to make sure, many users will have their own selections of countries from which and only they want to have users to land on their page. While millions of users will reach those pages. So the faster approach will be the better.
technology, MSSQL and ASP.NET
View 5 Replies
May 17, 2012
[URL] .... I done as per in the given link ....
But I get error unrecognized identifier at GetBreakupstring (
I want to watch field in a single cell in newline in MS reporting service table cell....
View 1 Replies