Hi,
Can you point me in the right direction on how to save state for rad grid. I have a grid in edit mode and when i create a new row because of the post back the values in edit mode are lost when row is created. I attached a screen of the grid in edit mode to give you an idea.
Thanks,
Ron.
Can you point me in the right direction on how to save state for rad grid. I have a grid in edit mode and when i create a new row because of the post back the values in edit mode are lost when row is created. I attached a screen of the grid in edit mode to give you an idea.
Thanks,
Ron.
7 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 23 May 2011, 12:23 PM
Hello Ron,
I hope setting EnableViewState as true will help you.
Thanks,
Shinu.
I hope setting EnableViewState as true will help you.
Thanks,
Shinu.
0

Ron
Top achievements
Rank 1
answered on 23 May 2011, 12:25 PM
EnableViewState is set to true byfault correct? According to visual studio properties it is set to true. Can you take a look at the screen shot to get an idea of my grid. Maybe that would help. Thanks.
0

Princy
Top achievements
Rank 2
answered on 23 May 2011, 01:16 PM
Hello Ron,
Please try by setting EnableViewState property of RadGrid as true which is false by default.
Thanks,
Princy.
Please try by setting EnableViewState property of RadGrid as true which is false by default.
Thanks,
Princy.
0

Bruno
Top achievements
Rank 2
answered on 23 May 2011, 01:54 PM
hey prince,
this issue has probably something to do with the viewstate but...
is this april fool's hoax of some kind? or if it isn't, will you share with me where draw your experience from?
i always thought the viewstate is enabled by default
@ron - post some more indepth information about your caswe please.
this issue has probably something to do with the viewstate but...
is this april fool's hoax of some kind? or if it isn't, will you share with me where draw your experience from?
i always thought the viewstate is enabled by default
@ron - post some more indepth information about your caswe please.
0

Ron
Top achievements
Rank 1
answered on 23 May 2011, 02:28 PM
No disrespect to Princy, but I agree with you Bruno, I'm using Asp.net Ajax Q1 2011everything looks as though EnableViewState is set to true by default. But to answer your question Bruno, I'm using a grid table for invoice line items and the first column for each row is a combo box for user to select and item and depending on which item they select the remaining columns are filled. The problem comes in when I "add new row", there's a post back involved and all data from the grid's combo box and text boxes are lost. Can you take a look at the screen shot to get an idea?
Thanks,
Thanks,
0
Hello Ron,
Marin
the Telerik team
I see we are discussing this issue in another forum thread where my colleague has suggested a solution. If you do not mind we will continue the communication there.
Greetings,Marin
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Ron
Top achievements
Rank 1
answered on 26 May 2011, 10:34 AM
Ok, thanks.