Hi,
We have a user control that have button Now we use this
user control on different aspx pages. We want when we click
on the user control button then button behave differently on
different page (Dynamacilly).
Answers were Sorted based on User's Feedback
Answer / sharjeel akram
By using response.redirect("index.aspx");
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gopal
Hi, find the button control present in user control in each aspx , and attach click event and add urs own logic for individual pages.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is customer control and user control?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
I am using ASP.Net 2.0. I added the following code in button_Click page. but 'PreviousPage' is not taking as a keyword. It throughs an error. Page Poster = this.PreviousPage; TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest"); sDisplay = txtNewTest.Text; Response.Write(sDisplay); The following is the Error Message: 'controls_LoginMain' does not contain a definition for 'PreviousPage'
what are the different ASP.NET Application Folders?
What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
What is the state management in asp.net?
Which property is used to identify the Page is Post Back in ASP.NET?
0 Answers Sans Pareil IT Services,
What is base class of button control in .net?
Explain what a diffgram is, and a good use for one?
If we write return statement in finally block will it works fine or throws any error?
What is ViewState and How it is managed,Its Advantages/Benefits?
What’s the use of “GLOBAL.ASAX” file?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)