Click here to Skip to main content
15,887,416 members
Home / Discussions / C#
   

C#

 
QuestionSaving Solution As 'othername' Pin
Ranger499-Apr-07 21:41
Ranger499-Apr-07 21:41 
AnswerRe: Saving Solution As 'othername' Pin
Jaiprakash M Bankolli10-Apr-07 1:31
Jaiprakash M Bankolli10-Apr-07 1:31 
QuestionDataGridView CellValidation Pin
719-Apr-07 21:12
719-Apr-07 21:12 
AnswerRe: DataGridView CellValidation Pin
Vasudevan Deepak Kumar9-Apr-07 21:27
Vasudevan Deepak Kumar9-Apr-07 21:27 
GeneralRe: DataGridView CellValidation Pin
7110-Apr-07 2:28
7110-Apr-07 2:28 
AnswerRe: DataGridView CellValidation Pin
Jaiprakash M Bankolli10-Apr-07 1:33
Jaiprakash M Bankolli10-Apr-07 1:33 
GeneralRe: DataGridView CellValidation Pin
7110-Apr-07 2:28
7110-Apr-07 2:28 
GeneralRe: DataGridView CellValidation Pin
Jaiprakash M Bankolli10-Apr-07 2:53
Jaiprakash M Bankolli10-Apr-07 2:53 
for example you want to associate onKeyPress with some xyz javascript.

Now this can be done in data bound event for each column. now all the columns are accessed as collection of item. You associate this with xyz javascript example is as follows:

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onKeyPress", "xyz()");

}
}


Hope this helps

Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/

AnswerRe: DataGridView CellValidation Pin
Jaiprakash M Bankolli10-Apr-07 23:32
Jaiprakash M Bankolli10-Apr-07 23:32 
Questionhow to read Edit, delete records from Datagrid control [modified] Pin
Sanjib Raj9-Apr-07 20:43
Sanjib Raj9-Apr-07 20:43 
AnswerRe: how to read Edit, delete records from Datagrid control Pin
Tamimi - Code9-Apr-07 21:01
Tamimi - Code9-Apr-07 21:01 
AnswerRe: how to read Edit, delete records from Datagrid control Pin
Vasudevan Deepak Kumar9-Apr-07 21:26
Vasudevan Deepak Kumar9-Apr-07 21:26 
AnswerRe: how to read Edit, delete records from Datagrid control Pin
Muammar©9-Apr-07 22:39
Muammar©9-Apr-07 22:39 
QuestionPublic Class Pin
Nooie9-Apr-07 20:36
Nooie9-Apr-07 20:36 
AnswerRe: Public Class Pin
Colin Angus Mackay9-Apr-07 20:53
Colin Angus Mackay9-Apr-07 20:53 
GeneralRe: Public Class Pin
Nooie9-Apr-07 21:00
Nooie9-Apr-07 21:00 
GeneralRe: Public Class Pin
Christian Graus9-Apr-07 21:22
protectorChristian Graus9-Apr-07 21:22 
GeneralRe: Public Class Pin
Nooie9-Apr-07 21:43
Nooie9-Apr-07 21:43 
GeneralRe: Public Class Pin
phantanagu9-Apr-07 22:46
phantanagu9-Apr-07 22:46 
GeneralRe: Public Class Pin
Colin Angus Mackay9-Apr-07 23:17
Colin Angus Mackay9-Apr-07 23:17 
GeneralRe: Public Class Pin
Colin Angus Mackay9-Apr-07 23:24
Colin Angus Mackay9-Apr-07 23:24 
Questionremoting sys(2335) Pin
kalyan_24169-Apr-07 19:13
kalyan_24169-Apr-07 19:13 
Question.net roadmap Pin
bigeyed9-Apr-07 19:02
bigeyed9-Apr-07 19:02 
AnswerRe: .net roadmap Pin
Jaiprakash M Bankolli9-Apr-07 20:08
Jaiprakash M Bankolli9-Apr-07 20:08 
QuestionHelp me to develop cool date picker.[Windows] Pin
Sendilkumar.M9-Apr-07 18:58
Sendilkumar.M9-Apr-07 18:58 

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.