Click here to Skip to main content
15,899,679 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how can i send mails automatically in web application using C# code. Pin
Rajeshwar Code- Developer19-Nov-07 19:06
Rajeshwar Code- Developer19-Nov-07 19:06 
GeneralRe: how can i send mails automatically in web application using C# code. Pin
Michael Sync20-Nov-07 4:50
Michael Sync20-Nov-07 4:50 
GeneralRe: how can i send mails automatically in web application using C# code. Pin
Rajeshwar Code- Developer20-Nov-07 17:49
Rajeshwar Code- Developer20-Nov-07 17:49 
Questionsplit function in stored procedure Pin
Sonia Gupta19-Nov-07 3:01
Sonia Gupta19-Nov-07 3:01 
AnswerRe: split function in stored procedure Pin
Michael Sync19-Nov-07 4:04
Michael Sync19-Nov-07 4:04 
AnswerRe: split function in stored procedure Pin
Gandalf_TheWhite19-Nov-07 19:03
professionalGandalf_TheWhite19-Nov-07 19:03 
QuestionAccessing a particular cells Address on click in a gridview Pin
sangramkp19-Nov-07 2:56
sangramkp19-Nov-07 2:56 
AnswerRe: Accessing a particular cells Address on click in a gridview Pin
SABhatti19-Nov-07 9:43
SABhatti19-Nov-07 9:43 
what you are trying to do?

if you want to postback the page then you can achieve this by adding the following attribute in RowDataBound of the gridview:

<br />
foreach TableCell cell in curRow.Cells<br />
{<br />
  cell.Attributes.Add("id",cell.ClientID);<br />
  cell.Attributes.Add("onclick", "javascript:document.formname.submit();");<br />
}<br />

in the event handler for the cell you can get the ID of the sender;

and if you want to do something on client side using javascript then do this:
<br />
foreach TableCell cell in curRow.Cells<br />
{<br />
  cell.Attributes.Add("id",cell.ClientID);<br />
  cell.Attributes.Add("onclick", "javascript:getTheCell(this);");<br />
}<br />


and in javascript file do this:

<br />
function getTheCell(cell)<br />
{<br />
  alert('You clicked cell ID: '+ cell.ID);<br />
}<br />







-----

GeneralRe: Accessing a particular cells Address on click in a gridview Pin
sangramkp19-Nov-07 17:28
sangramkp19-Nov-07 17:28 
GeneralRe: Accessing a particular cells Address on click in a gridview Pin
SABhatti19-Nov-07 18:00
SABhatti19-Nov-07 18:00 
GeneralRe: Accessing a particular cells Address on click in a gridview Pin
sangramkp19-Nov-07 20:17
sangramkp19-Nov-07 20:17 
GeneralRe: Accessing a particular cells Address on click in a gridview Pin
SABhatti20-Nov-07 7:47
SABhatti20-Nov-07 7:47 
QuestionASP .NET VS PHP in a YouTube-like project [modified] Pin
Mohammad A Gdeisat19-Nov-07 2:06
Mohammad A Gdeisat19-Nov-07 2:06 
AnswerRe: ASP .NET VS PHP in a YouTube-like project Pin
Malcolm Smart19-Nov-07 2:19
Malcolm Smart19-Nov-07 2:19 
GeneralRe: ASP .NET VS PHP in a YouTube-like project Pin
Mohammad A Gdeisat19-Nov-07 3:52
Mohammad A Gdeisat19-Nov-07 3:52 
AnswerRe: ASP .NET VS PHP in a YouTube-like project Pin
Pete O'Hanlon19-Nov-07 2:20
mvePete O'Hanlon19-Nov-07 2:20 
GeneralRe: ASP .NET VS PHP in a YouTube-like project Pin
Mohammad A Gdeisat19-Nov-07 3:52
Mohammad A Gdeisat19-Nov-07 3:52 
GeneralRe: ASP .NET VS PHP in a YouTube-like project Pin
Pete O'Hanlon19-Nov-07 4:51
mvePete O'Hanlon19-Nov-07 4:51 
GeneralRe: ASP .NET VS PHP in a YouTube-like project Pin
Christian Graus19-Nov-07 9:28
protectorChristian Graus19-Nov-07 9:28 
Questionreturn column name of specified table Pin
Tarun_Singh19-Nov-07 1:58
Tarun_Singh19-Nov-07 1:58 
AnswerRe: return column name of specified table Pin
Malcolm Smart19-Nov-07 2:20
Malcolm Smart19-Nov-07 2:20 
Questionhow i can get the path of the file where it is saved Pin
jagan12319-Nov-07 1:37
jagan12319-Nov-07 1:37 
AnswerRe: how i can get the path of the file where it is saved Pin
Malcolm Smart19-Nov-07 2:11
Malcolm Smart19-Nov-07 2:11 
Questionfree e-books Pin
Sonia Gupta19-Nov-07 1:32
Sonia Gupta19-Nov-07 1:32 
AnswerRe: free e-books Pin
Kasi Viswanathan19-Nov-07 1:50
Kasi Viswanathan19-Nov-07 1:50 

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.