Click here to Skip to main content
15,905,504 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to merge a image with another image (Urgent)? Pin
Tridip Bhattacharjee10-Nov-06 3:14
professionalTridip Bhattacharjee10-Nov-06 3:14 
Questionvisited pages shud not shown pressing browser back button Pin
_tasleem10-Nov-06 2:45
_tasleem10-Nov-06 2:45 
AnswerRe: visited pages shud not shown pressing browser back button Pin
salysle10-Nov-06 5:21
salysle10-Nov-06 5:21 
AnswerRe: visited pages shud not shown pressing browser back button Pin
indianet10-Nov-06 7:52
indianet10-Nov-06 7:52 
QuestionI want to show all the Logical drives Pin
CManju10-Nov-06 1:59
CManju10-Nov-06 1:59 
AnswerRe: I want to show all the Logical drives Pin
Sandeep Akhare10-Nov-06 4:26
Sandeep Akhare10-Nov-06 4:26 
AnswerRe: I want to show all the Logical drives Pin
indianet10-Nov-06 7:46
indianet10-Nov-06 7:46 
QuestionUser Control's Button Click event is not firing Pin
sri_con310-Nov-06 1:25
sri_con310-Nov-06 1:25 
Hi,

I am adding one user control(Login.ascx) to my web form’s Placeholder Control in a button click event of the (Home.aspx) page.

When ever i am clicking on the webform button i can able to add the user control to the Placeholder. but the problem is when ever i am trying to click on the User Controls Button its disappearing from the form. Even though I checked the view state also. When i am loading the User Control to the Placeholder it is firing the PageLoade Event of the User Control (Login.ascx).I want the User Control has to be appear in then form and also the ButtonClick event of the User Controls is to fire, so how to make this work. if any one have the solution for it please help me

Code:

Login.ascx

Button2_Click
{
Response.Wrie("Test");
}

Home.aspx

Button1_Click
{
UserControl MyControl = (UserControl) LoadeControl("Login.ascx");
//User Control(Login.ascx) is residing in the same folder
PlaceHolder1.Control.Add(MyControl);
// Its firing the Page Loade event of the User Control (Login.ascx)
}


sri

AnswerRe: User Control's Button Click event is not firing Pin
ednrgc10-Nov-06 8:50
ednrgc10-Nov-06 8:50 
GeneralRe: User Control's Button Click event is not firing Pin
sri_con311-Nov-06 1:57
sri_con311-Nov-06 1:57 
GeneralRe: User Control's Button Click event is not firing Pin
ednrgc13-Nov-06 3:00
ednrgc13-Nov-06 3:00 
QuestionDatagrid Problem Pin
monika_vasvani10-Nov-06 0:24
monika_vasvani10-Nov-06 0:24 
AnswerRe: Datagrid Problem Pin
Suresh Pirsquare10-Nov-06 1:09
Suresh Pirsquare10-Nov-06 1:09 
GeneralRe: Datagrid Problem Pin
monika_vasvani10-Nov-06 1:31
monika_vasvani10-Nov-06 1:31 
AnswerRe: Datagrid Problem Pin
postmaster@programmingknowledge.com10-Nov-06 2:17
postmaster@programmingknowledge.com10-Nov-06 2:17 
QuestionHow to count records from database.. Pin
Sam.M9-Nov-06 23:58
Sam.M9-Nov-06 23:58 
AnswerRe: How to count records from database.. Pin
_mubashir10-Nov-06 0:05
_mubashir10-Nov-06 0:05 
GeneralRe: How to count records from database.. Pin
Sam.M10-Nov-06 0:08
Sam.M10-Nov-06 0:08 
GeneralRe: How to count records from database.. Pin
_mubashir10-Nov-06 0:13
_mubashir10-Nov-06 0:13 
AnswerRe: How to count records from database.. Pin
Suresh Pirsquare10-Nov-06 0:24
Suresh Pirsquare10-Nov-06 0:24 
AnswerRe: How to count records from database.. Pin
Britney S. Morales10-Nov-06 1:57
Britney S. Morales10-Nov-06 1:57 
AnswerRe: How to count records from database.. Pin
Michael P Butler10-Nov-06 2:14
Michael P Butler10-Nov-06 2:14 
AnswerRe: How to count records from database.. Pin
postmaster@programmingknowledge.com10-Nov-06 2:19
postmaster@programmingknowledge.com10-Nov-06 2:19 
Question"string to int" Pin
ravikiranreddydharmannagari9-Nov-06 23:36
ravikiranreddydharmannagari9-Nov-06 23:36 
AnswerRe: "string to int" Pin
_mubashir10-Nov-06 0:06
_mubashir10-Nov-06 0:06 

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.