Click here to Skip to main content
15,888,461 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
sheringkapoting22-Jun-12 3:21
sheringkapoting22-Jun-12 3:21 
GeneralRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
AshishChaudha29-Jun-12 22:30
AshishChaudha29-Jun-12 22:30 
QuestionC# session variable Pin
sc steinhayse21-Jun-12 12:05
sc steinhayse21-Jun-12 12:05 
AnswerRe: C# session variable Pin
jkirkerx21-Jun-12 12:21
professionaljkirkerx21-Jun-12 12:21 
AnswerRe: C# session variable Pin
AspDotNetDev21-Jun-12 13:02
protectorAspDotNetDev21-Jun-12 13:02 
AnswerRe: C# session variable Pin
Rahul Rajat Singh25-Jun-12 0:56
professionalRahul Rajat Singh25-Jun-12 0:56 
QuestionShowing a single Modal Popup Extender on Click of Multiple Controls. Pin
sheringkapoting21-Jun-12 2:45
sheringkapoting21-Jun-12 2:45 
AnswerRe: Showing a single Modal Popup Extender on Click of Multiple Controls. Pin
jkirkerx21-Jun-12 10:58
professionaljkirkerx21-Jun-12 10:58 
I think you can ask the sender "sender" who fired the and called the function. I just used it a couple of days ago. You could of just Googled it to get the anwser.

string strID = ((System.Web.UI.Control) sender).ID;


{EDIT]

or you can use the .OnClientClick to issue some javascript to change the display state of the textbox from block to none. The javascript is fake, and just meant to give you an idea of how to use OnClientClick

.OnClientClick = "var txtID = getElementByID('txtBox'); txtID.style.display = 'none'; return true;"

QuestionExpected ')' Pin
Member 911397420-Jun-12 21:47
Member 911397420-Jun-12 21:47 
AnswerRe: Expected ')' Pin
Nagy Vilmos20-Jun-12 22:44
professionalNagy Vilmos20-Jun-12 22:44 
AnswerRe: Expected ')' Pin
ZurdoDev21-Jun-12 2:34
professionalZurdoDev21-Jun-12 2:34 
AnswerRe: Expected ')' Pin
Abhinav S21-Jun-12 20:16
Abhinav S21-Jun-12 20:16 
AnswerRe: Expected ')' Pin
JMummery23-Jun-12 13:34
professionalJMummery23-Jun-12 13:34 
AnswerRe: Expected ')' Pin
Dhyanga9-Jul-12 11:38
Dhyanga9-Jul-12 11:38 
QuestionFormated tooltip Pin
lrsalunkhe20-Jun-12 20:39
lrsalunkhe20-Jun-12 20:39 
AnswerRe: Formated tooltip Pin
ZurdoDev21-Jun-12 2:35
professionalZurdoDev21-Jun-12 2:35 
QuestionCommon error when uploading files? Pin
Member 245846720-Jun-12 18:26
Member 245846720-Jun-12 18:26 
AnswerRe: Common error when uploading files? Pin
Sandeep Mewara20-Jun-12 19:43
mveSandeep Mewara20-Jun-12 19:43 
AnswerRe: Common error when uploading files? Pin
ZurdoDev21-Jun-12 2:37
professionalZurdoDev21-Jun-12 2:37 
Questionasp.net 2010 button Pin
classy_dog20-Jun-12 10:08
classy_dog20-Jun-12 10:08 
AnswerRe: asp.net 2010 button Pin
R. Giskard Reventlov20-Jun-12 10:47
R. Giskard Reventlov20-Jun-12 10:47 
GeneralRe: asp.net 2010 button Pin
classy_dog20-Jun-12 15:53
classy_dog20-Jun-12 15:53 
AnswerRe: asp.net 2010 button Pin
David Mujica20-Jun-12 11:03
David Mujica20-Jun-12 11:03 
AnswerRe: asp.net 2010 button Pin
trooper081421-Jun-12 8:44
trooper081421-Jun-12 8:44 
Questioncolumns in mutilple rows using any control to be exported to excel? Pin
akpaga2220-Jun-12 9:40
akpaga2220-Jun-12 9:40 

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.