Click here to Skip to main content
15,919,178 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: .net javascript masterpage conflict Pin
janetb9913-May-09 4:19
janetb9913-May-09 4:19 
QuestionWhe service which takes Filestream as parameter Pin
Member 465900112-May-09 7:03
Member 465900112-May-09 7:03 
AnswerRe: Whe service which takes Filestream as parameter Pin
Yusuf12-May-09 7:32
Yusuf12-May-09 7:32 
AnswerRe: Whe service which takes Filestream as parameter Pin
Member 475589313-May-09 1:11
Member 475589313-May-09 1:11 
Questionproblem with login control in asp.net Pin
aarsh thakur12-May-09 5:28
aarsh thakur12-May-09 5:28 
AnswerRe: problem with login control in asp.net Pin
AlexeiXX312-May-09 6:33
AlexeiXX312-May-09 6:33 
GeneralRe: problem with login control in asp.net Pin
aarsh thakur12-May-09 21:38
aarsh thakur12-May-09 21:38 
QuestionGridView Template Control [modified] Pin
Ibrahim Bello12-May-09 4:59
Ibrahim Bello12-May-09 4:59 
Hi all,
I have a gridview with a list of names. My code allows me to select and highlight all names and save to database. However I want to be able to de-select a particular row; say I select all 100 Records but I later decide I don't want to select/save a particular record and I want to select only 99 Records.

For this I've added a LinkButton Control into a Template Field of the Gridview. I want when this button is clicked to change the color (de-select) this particular row.

However I am not able to get a reference to the row which I want to cancel. I know if I let the user click the autogenerated select button I can get a reference to it using (grdView.SelectedIndex) but I don't want to do this. I want to be able to click the 'cancel' button, get a reference to the corresponding row and change its background color. Anyway to do this? Thanks

protected void grdViewCancelButton_Click(object sender, EventArgs e)
{
// Get Row you want to de-select
//int SelectedIndex = ?
// Change Row Background
//grdView.Rows[SelectedIndex].BackColor = System.Drawing.Color.Whatever;
}

modified on Tuesday, May 12, 2009 11:32 AM

AnswerRe: GridView Template Control Pin
AlexeiXX312-May-09 6:26
AlexeiXX312-May-09 6:26 
GeneralRe: GridView Template Control Pin
Ibrahim Bello14-May-09 6:37
Ibrahim Bello14-May-09 6:37 
GeneralRe: GridView Template Control Pin
AlexeiXX314-May-09 8:40
AlexeiXX314-May-09 8:40 
GeneralRe: GridView Template Control Pin
Ibrahim Bello14-May-09 21:32
Ibrahim Bello14-May-09 21:32 
QuestionFile management website advice Pin
Gene Arnold12-May-09 3:49
Gene Arnold12-May-09 3:49 
AnswerRe: File management website advice Pin
Manas Bhardwaj12-May-09 4:15
professionalManas Bhardwaj12-May-09 4:15 
AnswerRe: File management website advice Pin
Paddy Boyd12-May-09 5:29
Paddy Boyd12-May-09 5:29 
AnswerRe: File management website advice Pin
AlexeiXX312-May-09 6:35
AlexeiXX312-May-09 6:35 
AnswerRe: File management website advice Pin
Gene Arnold12-May-09 14:43
Gene Arnold12-May-09 14:43 
GeneralRe: File management website advice Pin
AlexeiXX314-May-09 8:42
AlexeiXX314-May-09 8:42 
QuestionCreate navigation via ASP.net and MS SQL. Pin
Mantaii12-May-09 3:36
Mantaii12-May-09 3:36 
AnswerRe: Create navigation via ASP.net and MS SQL. Pin
Herman<T>.Instance12-May-09 23:56
Herman<T>.Instance12-May-09 23:56 
GeneralRe: Create navigation via ASP.net and MS SQL. Pin
Mantaii12-May-09 23:58
Mantaii12-May-09 23:58 
QuestionRe: Create navigation via ASP.net and MS SQL. [modified] Pin
Mantaii13-May-09 0:32
Mantaii13-May-09 0:32 
AnswerRe: Create navigation via ASP.net and MS SQL. Pin
Herman<T>.Instance13-May-09 1:14
Herman<T>.Instance13-May-09 1:14 
Questionauthenticated rss feed Pin
Xpycm12-May-09 3:32
Xpycm12-May-09 3:32 
QuestionRead Email from OutLook Pin
Usharva12-May-09 2:42
Usharva12-May-09 2:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.