This is a migrated thread and some comments may be shown as answers.

[Solved] Staying in Multiline Edit Mode

3 Answers 140 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andy Stapleton
Top achievements
Rank 1
Andy Stapleton asked on 05 Jan 2009, 07:45 PM
I have implemented on the PRe-Render event as per example and I get the first page in edit mode automatically.

now , once I press next page, or another number, I would want to stay in edit mode. 


2 things.

1) I have added code to the PageIndex to do the same as prerender but doesn't seem to work , HOW do you stay in edit mode.
2) WHY , does it seem to have to rebind, do something, slow as hell on the screen before changing pages, 3-5 seconds..


3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 06 Jan 2009, 05:31 AM
Hi  Andy,

I tired the following code to set the entire grid rows in edit mode which is working as expected.

CS:
 protected void RadGrid1_PreRender(object sender, EventArgs e) 
    { 
 
        foreach (GridDataItem item in RadGrid1.MasterTableView.Items) 
        { 
            item.Edit = true
        } 
        RadGrid1.MasterTableView.Rebind(); 
    } 


Shinu
0
Andy Stapleton
Top achievements
Rank 1
answered on 06 Jan 2009, 01:32 PM
I said that, it does work on the 1st PAGE only,...

when I Page to the NEXT page,  it doesn't it stops,....

I have 6 tabs, with a grid on each tab, I run the pre-render for each tab.

after the 1st set of pre-render events is done,  any page down the edit mode stops, and i DON'T HAVE AN ENTRY FIELD..
I don't understand why this is so difficult <g> 

a multiple tab, Order Entry Ecommerce site that allows the person to enter in the amounts of qty they wish to purchase. without having to hit ENTER, or Double CLick or anything, the entry for the qty is there period.

Is there an example of this actually doing an ecommerce site?

Getting pretty flustrated here over what seems to be a STANDARD functionalty on the web.

feel free to logon using Demo/demo to www.tcsepower.com  click on the FIND PRODUCT  and once it appears, click on another page and you will see.



0
Stephanie
Top achievements
Rank 1
answered on 03 Jun 2009, 09:08 AM
Did you ever get an answer to this issue? I'm having the same problem, the first page is all in Edit mode, but as soon as I go to a new page, it is out of edit mode.

Cheers,
Stephanie
Tags
Grid
Asked by
Andy Stapleton
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Andy Stapleton
Top achievements
Rank 1
Stephanie
Top achievements
Rank 1
Share this question
or