Click here to Skip to main content
15,885,366 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Server error in ASP.NET while publishing Pin
Ahamed Azeem5-Aug-10 0:45
Ahamed Azeem5-Aug-10 0:45 
GeneralRe: Server error in ASP.NET while publishing Pin
m@dhu5-Aug-10 1:17
m@dhu5-Aug-10 1:17 
QuestionEffective method for rendering tabular data Pin
afsal qureshi4-Aug-10 22:17
afsal qureshi4-Aug-10 22:17 
AnswerRe: Effective method for rendering tabular data Pin
Anurag Gandhi5-Aug-10 1:21
professionalAnurag Gandhi5-Aug-10 1:21 
GeneralRe: Effective method for rendering tabular data Pin
afsal qureshi5-Aug-10 1:46
afsal qureshi5-Aug-10 1:46 
GeneralRe: Effective method for rendering tabular data Pin
Anurag Gandhi5-Aug-10 2:02
professionalAnurag Gandhi5-Aug-10 2:02 
GeneralRe: Effective method for rendering tabular data Pin
afsal qureshi5-Aug-10 23:21
afsal qureshi5-Aug-10 23:21 
QuestionDatagrid item Pin
Morgs Morgan4-Aug-10 21:46
Morgs Morgan4-Aug-10 21:46 
Hi guys,
i have a datagrid, i would like to get the value of one column
when user clicks on that row(item) so that i can show the details
of that row(item) on the next page. I have tried the below and
am not so sure how to proceed:
protected void available_ItemDataBound(object sender, DataGridItemEventArgs e)
{
//string striD;
   foreach(DataGridColumn col in available.Columns)
   {
       if (e.Item.ItemType == ListItemType.AlternatingItem || e.Item.ItemType == ListItemType.Item)
       {
            //striD = available.DataKeys[e.Item.ItemIndex].ToString();
            e.Item.Attributes.Add("onmouseover", "this.style.backgroundColor='#F9F9F9' this.style.cursor='pointer';");
            e.Item.Attributes.Add("onmouseout", "this.style.backgroundColor='#ffffff';this.style.cursor='pointer';");

        }
    }
}


Does anyone know how i can manage to get the value of one column in tha
row that has been clicked?
Please help me D'Oh! | :doh:

Regards
MS
AnswerRe: Datagrid item Pin
NeverHeardOfMe4-Aug-10 22:31
NeverHeardOfMe4-Aug-10 22:31 
GeneralRe: Datagrid item Pin
Morgs Morgan4-Aug-10 22:53
Morgs Morgan4-Aug-10 22:53 
GeneralRe: Datagrid item Pin
NeverHeardOfMe4-Aug-10 23:07
NeverHeardOfMe4-Aug-10 23:07 
GeneralRe: Datagrid item Pin
m@dhu5-Aug-10 0:15
m@dhu5-Aug-10 0:15 
QuestionHow to Change the Color of the Pie Chart in ASP.Net ................????? Pin
Sivan.G4-Aug-10 20:21
Sivan.G4-Aug-10 20:21 
AnswerRe: How to Change the Color of the Pie Chart in ASP.Net ................????? Pin
Prosanta Kundu online4-Aug-10 20:30
Prosanta Kundu online4-Aug-10 20:30 
QuestionSending mail with excel attachment issue Pin
Mugdha_Aditya4-Aug-10 19:17
Mugdha_Aditya4-Aug-10 19:17 
AnswerRe: Sending mail with excel attachment issue Pin
Prosanta Kundu online4-Aug-10 20:12
Prosanta Kundu online4-Aug-10 20:12 
GeneralRe: Sending mail with excel attachment issue Pin
Mugdha_Aditya4-Aug-10 20:24
Mugdha_Aditya4-Aug-10 20:24 
GeneralRe: Sending mail with excel attachment issue Pin
Prosanta Kundu online4-Aug-10 20:28
Prosanta Kundu online4-Aug-10 20:28 
GeneralRe: Sending mail with excel attachment issue Pin
Mugdha_Aditya4-Aug-10 20:38
Mugdha_Aditya4-Aug-10 20:38 
GeneralRe: Sending mail with excel attachment issue Pin
Prosanta Kundu online4-Aug-10 21:14
Prosanta Kundu online4-Aug-10 21:14 
QuestionMessage Removed Pin
4-Aug-10 15:27
coderclan4-Aug-10 15:27 
AnswerRe: How to create chat with asp.net, ajax and xmpp? Pin
Prosanta Kundu online4-Aug-10 18:56
Prosanta Kundu online4-Aug-10 18:56 
QuestionDo I need to keep auto generated meta information in connection string for Entity Model ? Pin
Nadia Monalisa4-Aug-10 13:17
Nadia Monalisa4-Aug-10 13:17 
QuestionMessage Removed Pin
4-Aug-10 6:03
arkiboys4-Aug-10 6:03 
AnswerRe: ajax dropdown Pin
Sandeep Mewara4-Aug-10 6:10
mveSandeep Mewara4-Aug-10 6:10 

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.