Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > _dopostback and id

Reply
Thread Tools

_dopostback and id

 
 
rob thomson
Guest
Posts: n/a
 
      09-09-2003
ASP.NET

Hi

I have a custom datagrid enabled through inherting from datagrid

I want to allow selection to change the back color, and therefore when one row is selected I need to unselect another row

I have an event handler in the selectedindex changed.

So I thought, OK it the Item_created put an id on the control, store that when its first selected then to unselect findcontrol, and take off its back color.

Thing is everytime I set the id in the itemcreated event then the _dopostback function doesnt work


Anyone know a way around or a better way

Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change to _doPostBack david@edks.com ASP .Net 1 12-01-2006 01:52 AM
Re: _dopostback() in Javascript having problems with ctl prefix DotNetJunkies User ASP .Net 1 07-15-2004 09:22 AM
How do I make dynamic aspx pages indexable by search engine, also how about _doPostBack() ASP .Net 0 05-21-2004 02:42 PM
Paging and _doPostBack rob thomson ASP .Net Datagrid Control 0 09-11-2003 03:07 PM
Searching for framework 1.1 _dopostback bug fix...? chrislewis@etsolutions.com ASP .Net 0 07-22-2003 03:32 PM



Advertisments