You have two buttons in web form and i clicked on one of
the button, so how do i find which button i've clicked on
the form in my page load?
Answers were Sorted based on User's Feedback
Answer / sen
Just write code on page load and ur getting a control name
which one u clicked
string ctrlname = Page.Request.Params["__EVENTTARGET"];
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / manjula
in page load,we get those data which is bind to that webform
previously,we cannot click any button in page load
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / prahlad
for that purpose they give the option is the tooltip that is
the shows the button name when you put the curser on the
button and also they might wrote the name of the button name.
Is This Answer Correct ? | 0 Yes | 3 No |
Answer / savita
try 2 remember which button u had clicked. again select
that button, go its property window by just right click on
that button. n u get its name. which r unique.ok.
Is This Answer Correct ? | 0 Yes | 9 No |
How you can access the properties and controls of master pages from content pages?
Whats an assembly?
Is razor a programming language?
If there is submit button in a from tell us the sequence what happens if submit is clicked and in form action is specified as some other page ?
How do we implement bundling in MVC?
I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.
What is versioning in .NET?
1 Answers Syntax Softtech, Wipro,
What are Authentication and Authorization?
hi all, can we sort the data set without using the gridview sort method
What is different between webconfig.xml & Machineconfig.xml ?
What is viewstate parameter?
How do you a replicate a set of controls across a number of ASP Pages