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

ASP.NET

 
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 
AnswerRe: columns in mutilple rows using any control to be exported to excel? Pin
Sanjay Kunjam21-Jun-12 21:16
Sanjay Kunjam21-Jun-12 21:16 
Questionsave image in mvc3 Pin
HamedYem20-Jun-12 6:00
HamedYem20-Jun-12 6:00 
Questioncrystal report Pin
ManjuDipu19-Jun-12 23:13
ManjuDipu19-Jun-12 23:13 
AnswerRe: crystal report Pin
Sandeep Mewara20-Jun-12 1:14
mveSandeep Mewara20-Jun-12 1:14 

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.