Visual Basic .NET Forums  
Click here to advertise with us

Go Back   Visual Basic .NET Forums > Components & Controls > Grids > Web Grids

Web Grids Discussion related to any grid for ASP.NET

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-04-2008, 1:39 PM
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Sep 2008
Age: 41
Posts: 1
Reputation: 0
dotnetcoder08 is on a distinguished programming path ahead
Default radiobuttonlist losing state on rowedit

I have a radiobutton list in a gridview. On selected index change, I place the row in edit mode. The problem is that when the row goes into edit mode, I lose the selected value of the radio button. Any idea what could cause this?
Attached Files
File Type: txt asp.txt (3.6 KB, 0 views)
File Type: txt code.txt (1.9 KB, 0 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-04-2008, 4:54 PM
VB.NET Forum Fanatic
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Aug 2008
Posts: 140
Reputation: 72
rcombs4 done a little coding in his/her timercombs4 done a little coding in his/her timercombs4 done a little coding in his/her time
Default

Maybe i dont understand what you are trying to do. From my understanding you are trying to allow the user to select a row but then push the grid into edit mode? Why dont you just have an edit button? Then you can create the 'editing' method and I believe that will keep your radiobuttonlist intact.

meaning:
on the gridview allow the row to be edited by setting AutoGenerateEditButton to true.

Then in code create the Gridview->RowEditing method. From here you access the radiobuttonlist.

If that doesnt work I think you may have to re work your logic. Might have to make it so you cannot change the radiobuttonlist's selected item untill you are in edit mode.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 11:54 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


For advertising opportunities click here.