Click here to Skip to main content
15,885,720 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp send mail Pin
Stryder_12-Sep-10 3:20
Stryder_12-Sep-10 3:20 
Questionvalidate dropdownlist into DetailsView Pin
Sandraa2-Sep-10 1:56
Sandraa2-Sep-10 1:56 
QuestionClose iframe Div in javascript Pin
SatyaKeerthi152-Sep-10 0:42
SatyaKeerthi152-Sep-10 0:42 
AnswerRe: Close iframe Div in javascript Pin
Not Active2-Sep-10 1:53
mentorNot Active2-Sep-10 1:53 
GeneralRe: Close iframe Div in javascript Pin
SatyaKeerthi152-Sep-10 2:04
SatyaKeerthi152-Sep-10 2:04 
GeneralRe: Close iframe Div in javascript Pin
Not Active2-Sep-10 4:18
mentorNot Active2-Sep-10 4:18 
Questioncalling a client method from master page Pin
amit_831-Sep-10 20:56
professionalamit_831-Sep-10 20:56 
AnswerRe: calling a client method from master page Pin
Anurag Gandhi1-Sep-10 23:20
professionalAnurag Gandhi1-Sep-10 23:20 
If you want the event handler of Control present in master page, in your content page, you can go do something like this:

protected void Page_Init(object sender, EventArgs e)
   {
       Button btn = (Button)this.Master.FindControl("btnMaster");
       if (btn != null)
           btn.Click += new EventHandler(btn_Click);
   }

   protected void btn_Click(object sender, EventArgs e)
   {
       //Write your Button Click Code Here.//
       Response.Write("Button Clicked.");
   }


where btnMaster is a Button in Master Page. I guess you need to do the same for Menu Item.


amit_83 wrote:
so i wanted make it at client side without triping

If you want to do it in client side, there is no concept of master and content page. Try with some javascript based on the client side code it generated.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.

QuestionDropdown List Template field Pin
vishnukamath1-Sep-10 20:24
vishnukamath1-Sep-10 20:24 
Questionconvert html to csvexport to CSV Pin
Member 38798811-Sep-10 19:55
Member 38798811-Sep-10 19:55 
AnswerRe: convert html to csvexport to CSV Pin
T M Gray2-Sep-10 4:21
T M Gray2-Sep-10 4:21 
QuestionAccessing Parent Page Method from User Control doesnot refresh Pin
Satish_S1-Sep-10 19:29
Satish_S1-Sep-10 19:29 
AnswerRe: Accessing Parent Page Method from User Control doesnot refresh Pin
robocodeboy1-Sep-10 23:30
robocodeboy1-Sep-10 23:30 
GeneralRe: Accessing Parent Page Method from User Control doesnot refresh Pin
Satish_S2-Sep-10 2:13
Satish_S2-Sep-10 2:13 
QuestionCheck Aspx file integrity? Pin
robocodeboy1-Sep-10 4:43
robocodeboy1-Sep-10 4:43 
AnswerRe: Check Aspx file integrity? [modified] Pin
Not Active1-Sep-10 6:55
mentorNot Active1-Sep-10 6:55 
GeneralRe: Check Aspx file integrity? Pin
Ennis Ray Lynch, Jr.1-Sep-10 7:16
Ennis Ray Lynch, Jr.1-Sep-10 7:16 
GeneralRe: Check Aspx file integrity? Pin
Not Active1-Sep-10 7:44
mentorNot Active1-Sep-10 7:44 
GeneralRe: Check Aspx file integrity? Pin
robocodeboy1-Sep-10 7:59
robocodeboy1-Sep-10 7:59 
GeneralRe: Check Aspx file integrity? Pin
Not Active1-Sep-10 9:10
mentorNot Active1-Sep-10 9:10 
GeneralRe: Check Aspx file integrity? Pin
robocodeboy1-Sep-10 21:36
robocodeboy1-Sep-10 21:36 
QuestionChild Controls Showing as Null Pin
David Muir1-Sep-10 4:20
David Muir1-Sep-10 4:20 
AnswerRe: Child Controls Showing as Null Pin
Ennis Ray Lynch, Jr.1-Sep-10 7:26
Ennis Ray Lynch, Jr.1-Sep-10 7:26 
GeneralRe: Child Controls Showing as Null Pin
David Muir1-Sep-10 22:11
David Muir1-Sep-10 22:11 
QuestionASP.Net State Service doesnt exists in IIS7 Pin
indian14331-Aug-10 7:09
indian14331-Aug-10 7:09 

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.