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

ASP.NET

 
AnswerRe: SqlDataSource - Modify table without primary key Pin
Not Active29-Nov-10 5:06
mentorNot Active29-Nov-10 5:06 
AnswerRe: SqlDataSource - Modify table without primary key Pin
musefan29-Nov-10 5:47
musefan29-Nov-10 5:47 
GeneralRe: SqlDataSource - Modify table without primary key Pin
Keith Barrow29-Nov-10 7:39
professionalKeith Barrow29-Nov-10 7:39 
GeneralRe: SqlDataSource - Modify table without primary key Pin
musefan29-Nov-10 8:32
musefan29-Nov-10 8:32 
AnswerRe: SqlDataSource - Modify table without primary key Pin
T M Gray29-Nov-10 11:41
T M Gray29-Nov-10 11:41 
AnswerRe: SqlDataSource - Modify table without primary key Pin
Amar Chaudhary29-Nov-10 15:59
Amar Chaudhary29-Nov-10 15:59 
AnswerRe: SqlDataSource - Modify table without primary key Pin
Hanzaplast30-Nov-10 4:23
Hanzaplast30-Nov-10 4:23 
QuestionGridView OnClick and OndblCick Attributes in RowDataBound Pin
vishnukamath29-Nov-10 3:00
vishnukamath29-Nov-10 3:00 
Hi ,

I need to add OnClick and OndblCick Attributes in RowDataBound event ,
OnClick for get first cell value and store it in Session and OndblCick for redirecting to newpage.aspx.I tried with
below code in RowDataBound, and i'm not using template fields for gridview directly bindig datasource(template fileds not require for me).

e.Row.Attributes["ondblclick"] = ClientScript.GetPostBackClientHyperlink(this.gv_commondataList, "Select$" + e.Row.RowIndex,true);
-----
single Click :
------------
i added one btn_Hidden control in Display none Div tag. This Button Click event firing properly but gv_commondataList_SelectedIndexChanged event not firing on row Double Click

e.Row.Attributes.Add("onclick", "document.getElementById('" + hd_ItemValue.ClientID + "').value=" + e.Row.RowIndex + ";document.getElementById('" + btn_Hidden.ClientID + "').click();");

Could you please suggest me better way to solve my problem.

Regards,
vishnu.
AnswerRe: GridView OnClick and OndblCick Attributes in RowDataBound Pin
Hanzaplast29-Nov-10 4:26
Hanzaplast29-Nov-10 4:26 
QuestionHow to remove the space which is causing because of ajax tab container? Pin
Shankaranarayana Thanthry28-Nov-10 22:59
Shankaranarayana Thanthry28-Nov-10 22:59 
AnswerRe: How to remove the space which is causing because of ajax tab container? Pin
Amar Chaudhary29-Nov-10 3:09
Amar Chaudhary29-Nov-10 3:09 
GeneralRe: How to remove the space which is causing because of ajax tab container? Pin
Shankaranarayana Thanthry29-Nov-10 17:43
Shankaranarayana Thanthry29-Nov-10 17:43 
GeneralRe: How to remove the space which is causing because of ajax tab container? Pin
Shankaranarayana Thanthry29-Nov-10 22:53
Shankaranarayana Thanthry29-Nov-10 22:53 
GeneralRe: How to remove the space which is causing because of ajax tab container? Pin
Amar Chaudhary30-Nov-10 14:50
Amar Chaudhary30-Nov-10 14:50 
QuestionList<> Shows Different Values entered in the textbox Pin
Vimalsoft(Pty) Ltd28-Nov-10 22:09
professionalVimalsoft(Pty) Ltd28-Nov-10 22:09 
AnswerRe: List Shows Different Values entered in the textbox Pin
Keith Barrow28-Nov-10 22:56
professionalKeith Barrow28-Nov-10 22:56 
GeneralRe: List Shows Different Values entered in the textbox Pin
Vimalsoft(Pty) Ltd28-Nov-10 23:37
professionalVimalsoft(Pty) Ltd28-Nov-10 23:37 
GeneralRe: List Shows Different Values entered in the textbox Pin
Keith Barrow29-Nov-10 1:06
professionalKeith Barrow29-Nov-10 1:06 
Question"exec sp_databases" shows only system databases. Pin
M_AhsanRiaz28-Nov-10 8:00
M_AhsanRiaz28-Nov-10 8:00 
AnswerRe: "exec sp_databases" shows only system databases. Pin
Not Active28-Nov-10 12:05
mentorNot Active28-Nov-10 12:05 
GeneralRe: "exec sp_databases" shows only system databases. Pin
M_AhsanRiaz28-Nov-10 22:59
M_AhsanRiaz28-Nov-10 22:59 
Questionfile upload woes... Pin
l a u r e n28-Nov-10 5:03
l a u r e n28-Nov-10 5:03 
AnswerRe: file upload woes... Pin
Amar Chaudhary28-Nov-10 6:52
Amar Chaudhary28-Nov-10 6:52 
AnswerRe: file upload woes... Pin
Jörgen Andersson28-Nov-10 9:41
professionalJörgen Andersson28-Nov-10 9:41 
AnswerRe: file upload woes... Pin
musefan29-Nov-10 5:00
musefan29-Nov-10 5:00 

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.